Hi swanand
thanks for ur very quick reply.

just guide me ...
What should i do if the following code not working and not getting redirected to 
UserGroupMaster.jsp


On Fri, 26 Sep 2003 Abhijeet Mahalkar wrote :
>When invoke the jsp using
>
>http://localhost/xyz/pages/UserGroupMaster.jsp
>
>URL and when i submit the page trhu submit button the URL gets 
>changed to following will anybody tell me why? and what is ".do" 
>stands for? where do we make the entry of this.?
>
>is it the action mapping we are using in struts -config.xml file 
>?

* YES, infact it is. when you give a url like usergroupmaster.do 
is looks in to the struts-config.xml and matches the path 
attribute.

After the matching ActionUserGroupMaster class is used to 
accomplish the task using some helper classes/beans etc and 
depending on the the return value (success,failure etc) 
corresponding page is called (success.jsp, failure.jsp etc).

Hope it helps

-- swan

>
>  <action
>          path="/usergroupmaster"
>          type="ActionUserGroupMaster"
>          name="UserGroupMasterActionForm"
>          scope="request"
>          validate="false"
>          input="/pages/UserGroupMaster.jsp" 
>parameter="action">
>
>       <forward name="success" path="/pages/success.jsp"/>
>      <forward name="failure" path="/pages/failure.jsp"/>
>      <forward name="usergroupmaster" 
>path="/pages/UserGroupMaster.jsp"/>
>      </action>
>
>
>http://localhost/xyz/usergroupmaster.do



___________________________________________________
Meet your old school or college friends from
1 Million + database...
Click here to reunite www.batchmates.com/rediff.asp



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to