1 Reply Latest reply on Feb 18, 2004 12:18 AM by nikkofu

    how to transfer my web-app from weblogic 6/7 to jboss3.x&#65

    nikkofu

      in my apps, i defined the web-xml as the followings:
      <!-- weblogic

      <servlet-name>ServletServlet</servlet-name>
      <servlet-class>weblogic.servlet.ServletServlet</servlet-class>


      <servlet-mapping>
      <servlet-name>ServletServlet</servlet-name>
      <url-pattern>/servlet/*</url-pattern>
      </servlet-mapping>
      -->
      only this can make my apps run correctly.
      and as i modified this to my servlet class named MainServlet :
      <servlet-class>xxx.xxx.MainServlet</servlet-class>
      i got dead cycle when i login to my apps in weblogic or jboss server!!!

      so can any body tell me how to replace the <servlet-class>weblogic.servlet.ServletServlet</servlet-class>
      in jboss or other app server,
      with many thanks :-)

        • 1. Re: how to transfer my web-app from weblogic 6/7 to jboss3.x
          nikkofu

          from weblogic docs i found the weblogic.servlet.ServletServlet:

          ###
          ServletServlet can be used to create a default mappings for servlets. For example, to create a default mapping to map all servlets to /myservlet/*, so the servlets can be called using http://host:port/web-app-name/myservlet/com/foo/FooServlet, add the following to your web.xml file:

          <servlet-name>ServletServlet</servlet-name> <servlet-class>weblogic.servlet.ServletServlet</servlet-class>
          <servlet-mapping>

          <servlet-name>ServletServlet</servlet-name>
          <url-pattern>weblogic.servlet.ServletServlet</url-pattern>
          </servlet-mapping>
          ###

          and in jboss ???