This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Struts and the fly likes action forward gives blank page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "action forward gives blank page " Watch "action forward gives blank page " New topic
Author

action forward gives blank page

Nitin Kanaskar
Greenhorn

Joined: Nov 19, 2008
Posts: 1
hello

I use jboss 4.0.0 to run my struts application. I am trying to update one of the action tags in struts-config.xml as shown below -

The old action tag is -

<action path="/RetrieveQueryAction"type="edu.wustl.catissuecore.action.querysuite.RetrieveQueryAction"
name="saveQueryForm"
validate="false"
scope="request">
<forward name="success" path=".catissuecore.queryViewPageDef"/>
<forward name="failure" path=".catissuecore.errorPageDef"/>
</action>

And the new action tag is -

<action path="/RetrieveQueryAction"type="edu.wustl.catissuecore.action.querysuite.RetrieveQueryAction"
name="saveQueryForm"
validate="false"
scope="request">
<forward name="success" path=".catissuecore.queryViewPageDef"/>
<forward name="failure" path=".catissuecore.errorPageDef"/>
<forward name="pageOfSimpleQueryInterface" path="/SimpleQueryInterface.do"/>
</action>

Here i have just added 3rd forward named pageOfSimpleQueryInterface which goes to another action. But when i invoke action RetrieveQueryAction to call the pageOfSimpleQueryInterface forward, it just displays a blank page. Thus, for the previous 2 forwards it works perfect, but not for the new forward. Can anybody tell why the 3rd forward is not working. Any help would be appreciated. The same action-forward works when run in jboss 4.2.3.

Thanks Nitin
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: action forward gives blank page
 
Similar Threads
Struts-config.xml
Struts Cancel Button submits the form
cut&paste changes to DispatchAction fail
Deploying struts1.29 appl to struts 1.3.10
PRoblem in displaying ActionForm