wood burning stoves 2.0*
The moose likes Servlets and the fly likes requestDispatcher.forward() in OC4J Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "requestDispatcher.forward() in OC4J" Watch "requestDispatcher.forward() in OC4J" New topic

requestDispatcher.forward() in OC4J

dante dantee

Joined: Jul 15, 2010
Posts: 1

I am having trouble using urlrewrite with oc4j ( It works perfectly on tomcat (6.0). I am not able to forward to struts2 actions.

My web.xml:


<display-name>Struts Blank</display-name>





Is there any configuration that I need to set on oc4j for it to work?

Debugging the code shows ... HttpServletRequest.getRequestDispatcher("/hello.action") -- does not work on oc4j but works on Tomcat 6.0
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

OC4J has bugs , even i found some when working with that , then we changed from OC4J to weblogic .

Then everything was as expected .

Save India From Corruption - Anna Hazare.
It is sorta covered in the JavaRanch Style Guide.
subject: requestDispatcher.forward() in OC4J
Similar Threads
Struts2 integration with Spring Security
moved from jboss-4.0.3 to jboss-5.1.0 where do I put my war files
Problem with RichFaces
web.xml problem in struts2
Got Problems with Tuckey UrlRewriteFilter and Spring 3 Web MVC