I know i am using the method POST but the problem is that i am new to
Struts.
I tried setting the value of submitaction using javascript but that
dosent work
i am passing it as a string because i havent figuers out a better way to
post.
The problem lies in my ignorance in struts.
We have the LookupDispatche r which maps certain words ro the action to
be performed.
So the struts application needs to know which action to call.
This is passed by the parameter submitaction.
Intrestingly if i pass it through the url using javascript it works. the
problem is the user needs a prompt whenhe tries to cancel a form
Now the javascript prompt message is useless as the two buttons are 'OK'
and 'Cancel' so i had to write my own small window operner script.
However i cant stop the form from submiting using this. so i converted
the submit button into a plain button and was using javascript to
submit.
Now everthing was working except for this value. So i am stuck. Can any1
please help me ??
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!