Cannot open .jsp files from browser

Hi!

I cannot open .jsp files form the browser.(Some sample jsp files I downloaded open without any problem, only the ones I added, don't- they're in the same directory, with their java files in the web-inf folder.) I have jdk1.2.2,jswdk1.0.1,jsse1.0.1,jsdk2.1. Does the jswdk server support converting jsp to servlets? Also, what do I have to add to jdk classpath for my servlets to be invoked via jsdk? I am confused as to whether I on the jswdk server or the jsdk server for these files to work?

[529 byte] By [Abhi325] at [2007-9-26 1:55:57]
# 1
hi!Can u specify the web server that u r using so that i can provide u wiht specific infos...telll me 1 more thing as to where in the web server's folder r u keeping ur jsps & class files...
rohit29 at 2007-6-29 3:10:34 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
I'm using jswdk1.0.1 web server. My files are in - c:\jswdk-1.0.1\examples\jsp\<filename>.jsp and the class files are in c:\jswdk-1.0.1\examples\WEB-INF\jsp\beans\<filename>.java & .class .
Abhi325 at 2007-6-29 3:10:34 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

The error I get on the server while opening the jsp file is -

"Unhandled error! You might want to consider having an error page to report such errors more gracefully

com.sun.jsp.compiler.ParseException:

C:\jswdk-1.0.1\webapp\jsp\transfer\transfer

.jsp(4,16) Attribute import has no value

at

com.sun.jsp.compiler.JspReader.parseAttributeValue(JspReader.java:376

)

at

com.sun.jsp.compiler.JspReader.parseTagAttributes(JspReader.java:492)

at com.sun.jsp.compiler.Parser$Directive.accept(Parser.java, Compiled Code)

at com.sun.jsp.compiler.Parser.parse(Parser.java:727)

at com.sun.jsp.compiler.Parser.parse(Parser.java:715)

at com.sun.jsp.compiler.Main.compile(Main.java:283)

at com.sun.jsp.runtime.JspLoader.loadJSP(JspLoader.java:135)

at

com.sun.jsp.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:77)

at

com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:87)

at

com.sun.jsp.runtime.JspServlet.serviceJspFile(JspServlet.java:218)

at com.sun.jsp.runtime.JspServlet.service(JspServlet.java:294)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)

at

com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:155)

at com.sun.web.core.Context.handleRequest(Context.java:414)

at

com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:139)"

Abhi325 at 2007-6-29 3:10:34 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
Why when i open the TOMCAT JSP examples, the tomcat return NoSuchMethodError?
incolsof at 2007-6-29 3:10:34 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
i think there is a server.xml file which holds contexts meaning that they specifiy path to your root jsp directory. I think you need to update this file and point it to these files (maybe i'm wrong as i'm using linux)
winstonralph at 2007-6-29 3:10:34 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...