Sorry to take so long to respond,....

The bundled version of Jetty is 3.0.2, which did not support this type of mapping.

Jetty 3.0.4 does support this (since 3.0.3) as does the 3.1 release candidates.

I believe a more recent jetty jboss bundle is now available on the
jetty sourceforge site at least.

cheers



Julian Gosnell wrote:

> I'm forwarding this to the Jetty discussion list for you. You are far more
> likely to get Jetty related answers there.
> 
> Incidently, Jetty and Tomcat both use Jasper for their JSP engine, so expect
> the same behavior under Tomcat.
> 
> Jules
> 
> 
> Gerald Gutierrez wrote:
> 
> 
>> Hi all.
>> 
>> We are currently using Orion, but with its large number of bugs, I'm
>> evaluating jboss/jetty/tomcat as an alternative J2EE platform. To start, I
>> tried to deploy our website EAR file, which has GIF, HTML and JSP files. The
>> JSP files are described in the descriptors as follows:
>> 
>>         <servlet>
>>                 <servlet-name>RootJSP</servlet-name>
>>                 <display-name>RootJSP</display-name>
>>                 <jsp-file>/redirect/redirectionkeys/Root.jsp</jsp-file>
>>         </servlet>
>>         <servlet-mapping>
>>                 <servlet-name>RootJSP</servlet-name>
>>                 <url-pattern>/root</url-pattern>
>>         </servlet-mapping>
>> 
>> Supposedly, when you go to <context path>/root, you would end up hitting
>> Root.jsp. However, I got the following errors when I deployed the
>> application:
>> 
>> [Jetty] Missing servlet-class in
>> <servlet><servlet-name>RootJSP</servlet-name><display-name>RootJSP</display-
>> name><jsp-file>/redirect/redirectionkeys/Root.jsp</jsp-file></servlet>
>> [Jetty] No such servlet: RootJSP
>> 
>> We have a number of JSP pages, all done the same way, and there are errors
>> for each one. The servlet 2.2 spec says that <jsp-file> can be used in place
>> of servlet-class when it is a JSP file, so I don't see that we're breaking
>> spec.
>> 
>> What's wrong?
>> 
>> Gerald.
>> 
>> _______________________________________________
>> JBoss-user mailing list
>> [EMAIL PROTECTED]
>> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> ------------------------ Yahoo! Groups Sponsor ---------------------~-~>
> Do you have 128-bit SSL encryption server security?
> Get VeriSign's FREE Guide, "Securing Your
> Web Site for Business." Get it now!
> http://us.click.yahoo.com/2cW4jC/c.WCAA/bT0EAA/CxaWlB/TM
> ---------------------------------------------------------------------_->
> 
> For the latest information about Jetty, please see http://jetty.mortbay. 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to