> -----Original Message-----
> From: David Keyes [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, February 05, 2003 1:00 PM
> To: [EMAIL PROTECTED]
> Subject: FW: jsp:include semantics?
> 
> 
> Hello.
> 
> What are the semantics of <jsp:include> in Tomcat 4.0.x?  It 
> seems to me that if I jsp:include another jsp, things work 
> fine.  But if I try to include a servlet (one that was 
> registered in my web.xml, e.g. url == "/mywebapp/myservlet") 
> the servlet is treated as if it were a traditional resource 
> (that is, Tomcat tries to find a file named 
> "/mywebapp/myservlet"), which of course can't be found since 
> it doesn't exist.  
> 
> Is this behaviour correct?  Should I be bugging the Jasper 
> people about this one?  Are there any non-standards-breaking 
> ways of getting around this?
> 
> Thanks...
> 
> Dave Keyes

I'm pretty sure that you can include a servlet.  I think you'd want the
url to just be "/myservlet" without the webapp path prepended.

-- 
Tim Moore / Blackboard Inc. / Software Engineer
1899 L Street, NW / 5th Floor / Washington, DC 20036
Phone 202-463-4860 ext. 258 / Fax 202-463-4863

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

Reply via email to