tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mick Sullivan" <>
Date Fri, 12 Jan 2001 18:48:15 GMT
<html><DIV>Hi I need help!!</DIV>
<DIV>I think this problem will be easy to solve&nbsp;as this is my first attempt
at a JSP application.</DIV>
<DIV><BR>I am copying a JSP program from the website and attempting
to run it on tomcat. The program is a simple one, the user enters his name into a text box
and presses submit. His name is then printed up on the screen, i.e. "Hello &lt;name&gt;".</DIV>
<DIV>I have created the two .jsp files (hellouser.jsp and response.jsp) and stored them
in </DIV>
<DIV>I have created the bean ( as a .java file and stored it in</DIV>
<DIV>Are these the right folders&nbsp; to store those files in?</DIV>
<DIV>I have tried compiling the .java file to a .class in JBuilder, but I keep getting
the following warning:</DIV>
<DIV>"Warning #908: check sourcepath; source c:\jakarta-tomcatzwebapps\Hello\Web-inf\Classes\
cannot be found on source pathby appending&nbsp; \hello\ to each sourcepath
<DIV>( <U>hello</U> is the name of the package)</DIV>
<DIV>I think the problem may be because I cant generate the .class file. Anyone know
why this might be?</DIV>
<DIV>When I try to view the Application while tomcat is running I get this error message:</DIV>
<H1>Error: 500</H1>
<H2>Location: /Hello/hellouser.jsp</H2><B>Internal Servlet Error:</B><BR><PRE>org.apache.jasper.JasperException:
Bad file argument to include
	at org.apache.jasper.compiler.JspParseEventListener.handleDirective(,
Compiled Code)
	at org.apache.jasper.compiler.DelegatingListener.handleDirective(
	at org.apache.jasper.compiler.Parser$Directive.accept(, Compiled Code)
	at org.apache.jasper.compiler.Parser.parse(, Compiled Code)
	at org.apache.jasper.compiler.Parser.parse(
	at org.apache.jasper.compiler.Parser.parse(
	at org.apache.jasper.compiler.Compiler.compile(, Compiled Code)
	at org.apache.jasper.runtime.JspServlet.loadJSP(
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(
	at org.apache.jasper.runtime.JspServlet.serviceJspFile(
	at org.apache.jasper.runtime.JspServlet.service(, Compiled Code)
	at javax.servlet.http.HttpServlet.service(
	at org.apache.tomcat.core.ServletWrapper.handleRequest(, Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(
	at</PRE><PRE>If anyone has any idea at
all where the problem may lie please, please help me.</PRE><PRE>Thanks in advance,
<DIV>&nbsp;</DIV><br clear=all><hr>Get Your Private, Free E-mail
from MSN Hotmail at <a href=""></a>.<br></p></html>

To unsubscribe, e-mail:
For additional commands, email:


View raw message