This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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

Win a copy of Building Microservices this week in the Design forum!
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.
I agree. Here's the link:
subject: requestDispatcher.forward() in OC4J
It's not a secret anymore!