MyFileServlet with WebLogic and other app servers

Discussions

Web tier: servlets, JSP, Web frameworks: MyFileServlet with WebLogic and other app servers

  1. Friends,

    I am using the following entry in my web.xml file inside the .war file.The app server is weblogic 6.1 SP1.Now my company wants to go with JRun or JBoss due to cost cutting process.Is there a servlet or mapping related to 'MyFileServlet' in JRun or JBoss?

    Thanks in Advance

    -Lawrence

    <servlet>
        <servlet-name>myFileServlet
        <servlet-class>weblogic.servlet.FileServlet
      

      <servlet-mapping>
        <servlet-name>ActualsDispatcher
        <url-pattern>/
      

      <servlet-mapping>
        <servlet-name>myFileServlet
        <url-pattern>*.gif
      

      <servlet-mapping>
        <servlet-name>myFileServlet
        <url-pattern>*.jpg
      

      <servlet-mapping>
        <servlet-name>myFileServlet
        <url-pattern>*.js
      

      <servlet-mapping>
        <servlet-name>myFileServlet
        <url-pattern>*.inc
      

      <servlet-mapping>
        <servlet-name>myFileServlet
        <url-pattern>*.css
      
  2. All configuration info in web.xml are the same across app servers in accordance to J2EE Spec.You only have to worry about compatablity issues if you have any extra config in weblogic.xml (EX: security role mapping,....)