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 [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to