Ahh I am still missing it I tried to configure my menu the 2 ways but both gave errors 1. I put the class of the Action in the href <html:link href='/my-app/WEB-INF/classes/com/abhi/html/apps/action/AppLi stAction.class'>App list </html:link><br/> Resutl is that the tomcat says that it cannot find the class file. 2. Put the Action (same as what I put in the action of the dummy form). <html:link href='/AppList'>App List</html:link><br/> now tomcat says that the requested resource is not available. On success condition I do forward the control to my jsp and this works fine so long as I come via the dummy form. From the menu it stops to work. Thanks a lot for your help. regards, Abhishek. >> >> >> -----Original Message----- >> >> From: [EMAIL PROTECTED] >> >> [mailto:[EMAIL PROTECTED]] >> >> Sent: Friday, July 23, 1999 5:20 PM >> >> To: Struts Users Mailing List; [EMAIL PROTECTED] >> >> Subject: RE: Action does not get executed >> >> >> >> >> >> >> >> >> >> To remove the dummy jsp page,u need to point to the action >> >> class directly >> >> instead of the jsp page and on success of this action >> >> forward ur request to the >> >> jsp page. >> >> >> >> regards, >> >> gitanjali. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> "Abhishek Srivastava" <[EMAIL PROTECTED]> on 11/23/2001 >> >> 10:43:57 PM >> >> >> >> Please respond to "Struts Users Mailing List" >> >> <[EMAIL PROTECTED]>; >> >> Please respond to [EMAIL PROTECTED] >> >> >> >> >> >> >> >> To: "'Struts Users Mailing List'" >> >> <[EMAIL PROTECTED]> >> >> >> >> cc: (bcc: Gitanjali Singh/Satyam) >> >> >> >> >> >> >> >> Subject RE: Action does not get executed >> >> : >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Thank you Gitangali for your reply. >> >> >> >> I removed the input attribute from the action element. >> >> >> >> My menu points towards my jsp. >> >> <html:link href='/jsp/applist.jsp'>applications list</html:link> >> >> >> >> if I click on it, the my action does not get executed. and >> >> the no values are >> >> prefilled when the jsp comes up. >> >> >> >> Now, If I write a dummy jsp called applistdummy.jsp >> >> here I have just one html form that >> >> >> >> <html:form action="/AppList"> >> >> <table border="1" width="60%" align="center"> >> >> <tr> >> >> <td align="center"> >> >> <html:submit>submit</html:submit> >> >> </td> >> >> <td align="center"> >> >> <html:reset>reset</html:reset> >> >> </td> >> >> </tr> >> >> </table> >> >> >> >> >> >> now if I click submit, my action does get executed it >> >> forwards the control >> >> to /jsp/applist.jsp and it does come up with all the >> >> prepopulated data. >> >> >> >> Problem is that I do not want to have dummy html forms do >> >> get my main form >> >> with some pre filled data. >> >> >> >> Is it possible to pre-fil the form just by clicking on the >> >> menu and not >> >> having a dummy form in between? >> >> >> >> Thank you so much for your help. >> >> >> >> regards, >> >> Abhishek. >> >> >> >> >> -----Original Message----- >> >> >> From: [EMAIL PROTECTED] >> >> >> [mailto:[EMAIL PROTECTED]] >> >> >> Sent: Friday, July 23, 1999 2:11 PM >> >> >> To: Struts Users Mailing List; [EMAIL PROTECTED] >> >> >> Subject: Re: Action does not get executed >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> hi, >> >> >> To prepopulate the data,u need to call the Action class >> >> >> first,which will get the >> >> >> data from EJB , and redirect to the jsp.This jsp will read >> >> >> the values from bean >> >> >> and show them.For doing this,in struts-config.xml, you >> >> >> shouldn't use input >> >> >> attribute of the action tag,becoz first Action class >> needs to run. >> >> >> Hope it helps. >> >> >> regards, >> >> >> gitanjali. >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> To unsubscribe, e-mail: >> >> >> <mailto:[EMAIL PROTECTED]> >> >> >> For additional commands, e-mail: >> >> >> <mailto:[EMAIL PROTECTED]> >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> To unsubscribe, e-mail: >> <mailto:[EMAIL PROTECTED]> >> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

