Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question about weblogic

 
lynn fann
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have the following code in web.xml:
<servlet>
<servlet-name>MainServlet</servlet-name>
<display-name>MainServlet</display-name>
<servlet-class>com.sun.j2ee.blueprints.waf.controller.web.MainServlet</servlet-class>
<init-param>
<param-name>default_locale</param-name>
<param-value>en_US</param-value>
</init-param>
</servlet>

<servlet-mapping>
<servlet-name>MainServlet</servlet-name>
<url-pattern>/bb*</url-pattern>
</servlet-mapping>

Currently the url-mapping for the actionClasses, is something like this "bbpage1.jsp", "bbpage2.jsp".

The above setting works in oracle.. but not in weblogic. Weblogic doesnt recognise the url-pattern. I need to set "/bb*" to "*.do", for it works, as well as to change the url-mapping to ".do" extension.

But is there a way to set it so that weblogic recognise the url-pattern as "/bb*" because i do not want to change the extension?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic