You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by RameshKesavanarayanan <ke...@gmail.com> on 2009/05/26 22:07:36 UTC
The path of an ForwardConfig cannot be null
Hi all,
I have page1.jsp . The action of this is per my struts-config is as follows
<action path="/submitBranchingProfile" name="BranchingProfileForm"
type="com.pearson.cat.action.testsetup.branchingprofile.BranchingProfileAction"
scope="request" parameter="submitprofile" validate="true">
<forward name="success" path="/jsp/administertest/proctor_passw.jsp" />
<forward name="failure" path="/displayBranchingProfiles.do" />
<forward name="exception" path="/displayBranchingProfiles.do" />
</action>
The success page "proctor_passw.jsp" has a java script which opens page2.jsp
<script language="JavaScript">
if(<%=request.getParameter("page")%> == null){
var targeturl="privacypolicy.do"
if (document.all){
newwin=window.open(targeturl,"","scrollbars","fullscreen")
newwin.moveTo(0,0)
newwin.resizeTo(screen.width,screen.height)
} else {
var properties = "width=" + (screen.width-5) + ",height=" +
(screen.height-5);
properties += ",scrollbars";
newwin=window.open(targeturl,"",properties)
}
}
</script>
But somehow when this page1.jsp is hit I get the following exception
The path of an ForwardConfig cannot be null
Is there a reason why this fails at this location randomly and not always.
Mail me suggestions at kesavramesh@gmail.com
Regards
Ramesh.K
--
View this message in context: http://www.nabble.com/The-path-of-an-ForwardConfig-cannot-be-null-tp23730349p23730349.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org