Without more information it would be hard to know what is happening.
Are the required jars in the classpath?
Is the Resin instance configured properly?
Which version of json-lib are you testing with?
What is the full stack trace thrown by Resin?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
b.jsp on my resin server which has only a line is below:
<%@ page import="net.sf.json.JSONObject"%>
cause exception:
500 Servlet Exception
D:\workspace\newmis\WebRoot\WEB-INF\work\_jsp\_b__jsp.java:9: o? net.sf.json
X(
import net.sf.json.JSONObject;
^
1 ?
--------------------------------------------------------------------------------
Resin-3.0.21 (built Thu, 10 Aug 2006 12:03:19 PDT)
why???
Without more information it would be hard to know what is happening.
Are the required jars in the classpath?
Is the Resin instance configured properly?
Which version of json-lib are you testing with?
What is the full stack trace thrown by Resin?