The problem may be due to the use of usergroupmaster twice (as in the previous XML 
that u had sent) ! 
Once in the path for the action and then again in the forward path....

Now that you have tried changing it in the forward tag .... IS it still not working 
....
If you can send the complete stack trace that you get on the browser, it would be 
thought of....

btw..have you made the corresponding changes in the return of the action class too ?

also ... are you sure that the class files for the form bean and action are there in 
the correct location as being shown by the struts-config.xml

Regards,
Rohit Arora



-----Original Message-----
From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED]
Sent: Friday, September 26, 2003 3:56 PM
To: Rohit_Arora
Subject: Re: .do


Hi Rohit 
this is the entry

 <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="usergroupmasterMenu" path="/pages/UserGroupMaster.jsp"/>
     </action>
thanks
abhijeet
----- Original Message ----- 
From: "Rohit_Arora" <[EMAIL PROTECTED]>
To: "Abhijeet Mahalkar" <[EMAIL PROTECTED]>
Sent: Friday, September 26, 2003 3:46 PM
Subject: RE: .do


Can u send me the struts-config.xml .... the portion where u handle the action for 
/usergroupmaster ?

Regards,
Rohit Arora

-----Original Message-----
From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED]
Sent: Friday, September 26, 2003 3:25 PM
To: Rohit_Arora
Subject: Re: .do



hi rohit
thanks for ur very quick reply.

Ya i got this but now my question is 

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

i am getting this error...

org.apache.struts.action.RequestProcessor  Invalid path /usergroupmaster was requested

thanks in Advance 
abhijeet






----- Original Message ----- 
From: "Rohit_Arora" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 26, 2003 3:26 PM
Subject: .do


Hi Abhijeet,
  The .do is added due to the action servlet mapping as defined in the web.xml

<servlet-mapping>
  <servlet-name>action</servlet-name> 
  <url-pattern>*.do</url-pattern> 
</servlet-mapping>

You can use any suffix instead of the '.do' but you will have to define the same in 
the web.xml. But it is a general convention to use the *.do . The other way with which 
you define the action servlet mapping is using  <url-pattern>/do/*</url-pattern>

The mapping defines how your actions will work.

Hope this is of use for you

Regards,
Rohit Arora





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

Reply via email to