Hi Im writing my first little program that will welcome a user once she enters and submits her details into a web page.There is no problem Writing the JSP files but I cannot start a new .java file in Jbuilder, so I write it in Homesite, save it as .java and attempt to compile it to .class in Jbuilder.
Im having difficulty converting the .javafile to .class
I have tried compiling the .java file to a .class in JBuilder, but I keep getting the following warning:
"Warning #908: check sourcepath; source c:\jakarta-tomcat\webapps\mary\Web-inf\Classes\namehandler.java cannot be found on source pathby appending \mary\namehandler.java to each sourcepath entry."
(mary is the name of the package)

When I try to view the program in my browser at http:// localhost etc etc I get the following error

 

 

Error: 500

Location: /Mary/hellouser.jsp

Internal Servlet Error:

org.apache.jasper.JasperException: Bad file argument to include 
        at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java, Compiled Code)
        at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:116)
        at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java, Compiled Code)
        at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled Code)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:1034)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code)
        at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
        at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
        at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
        at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
        at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
        at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
        at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
        at java.lang.Thread.run(Thread.java:479)
PLEASE PLEASE PLEASE, anyone with help?
 


Get your FREE download of MSN Explorer at http://explorer.msn.com

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Reply via email to