Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie - Action Mapping

Status
Not open for further replies.

maztheozzie

Programmer
Feb 11, 2002
4
AU
Hi all,

I have written a small app using struts. The problem is that after submitting the form a blank page is displayed with the address being : /spNotify/spnotify.do

I have set up my form as follows :
<html:form action=&quot;/spnotify&quot;>

and the struts-config.xml as :

<action path=&quot;/spnotify&quot;
type=&quot;SPNotifyAction&quot;
name=&quot;notifyForm&quot;
scope=&quot;request&quot;
input=&quot;/spNotify.jsp&quot;
validate=&quot;false&quot;>
<forward name=&quot;failure&quot; path=&quot;/spNotify.jsp&quot;/>
<forward name=&quot;success&quot; path=&quot;/spNotify.jsp&quot;/>
</action>

The app does not seem to forward to spNotify.jsp at all?

Thanks in advance for your help.

Mayu
 
Hi,
just check the Tomcat log files & the error message on the Tomcat console & then take the action. If not able to do, pls. let me know the error message.

Payal
 
Give the TOMCAT console message to help. U have very little info provided.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top