[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    Re: [JBoss-user] tomcat instead of jetty: where is my Servlet ?
From:       Scott M Stark <scott.stark () jboss ! org>
Date:       2003-06-30 23:08:50
[Download RAW message or body]

You should define a servlet-mapping in your web.xml to define what the 
correct URL is, since this works for all engines and ensures you are not 
using a web container sepcific URL. Otherwise, edit the 
jbossweb-tomcat.sar/web.xml and uncomment the following section:

     <!-- The mapping for the invoker servlet -->
<!--
     <servlet-mapping>
         <servlet-name>invoker</servlet-name>
         <url-pattern>/servlet/*</url-pattern>
     </servlet-mapping>
-->

and then you can use the 
http://localhost:8080/mbi4/servlet/LoadDataServlet URL.

Jetty is still in the build so just replace the jbossweb-tomcat.sar with 
the jbossweb-jetty.sar if you want.

-- 
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

Langelage, Frank wrote:

> Some days ago, the servlet engine was changed from jetty to tomcat in 
> JBoss-3.2.2RC2.
> 
> Today I tried to access my servlet, but I could not find it.
> With jetty I could acces it with 
> "http://localhost:8080/mbi4/servlet/LoadDataServlet".
> 
> What is the correct URL now ?
> 
> 
> Regards
>     Frank



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic