Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 44695 invoked from network); 23 Nov 2001 12:30:24 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 23 Nov 2001 12:30:24 -0000 Received: (qmail 2279 invoked by uid 97); 23 Nov 2001 12:30:06 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 2263 invoked by uid 97); 23 Nov 2001 12:30:05 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 2252 invoked from network); 23 Nov 2001 12:30:05 -0000 Reply-To: From: "Abhishek Srivastava" To: "Struts-User (E-mail)" Subject: RE: Action does not get executed Date: Fri, 23 Nov 2001 18:00:33 +0530 Message-ID: <000201c1741a$a623cba0$48654c0f@nt10172> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 App list
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). App List
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: Gitanjali_Singh@sifycorp.com >> >> [mailto:Gitanjali_Singh@sifycorp.com] >> >> Sent: Friday, July 23, 1999 5:20 PM >> >> To: Struts Users Mailing List; abhisheks@india.hp.com >> >> 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" on 11/23/2001 >> >> 10:43:57 PM >> >> >> >> Please respond to "Struts Users Mailing List" >> >> ; >> >> Please respond to abhisheks@india.hp.com >> >> >> >> >> >> >> >> To: "'Struts Users Mailing List'" >> >> >> >> >> >> 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. >> >> applications list >> >> >> >> 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 >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >>
>> >> submit >> >> >> >> reset >> >>
>> >> >> >> >> >> 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: Gitanjali_Singh@sifycorp.com >> >> >> [mailto:Gitanjali_Singh@sifycorp.com] >> >> >> Sent: Friday, July 23, 1999 2:11 PM >> >> >> To: Struts Users Mailing List; abhisheks@india.hp.com >> >> >> 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: >> >> >> >> >> >> For additional commands, e-mail: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> To unsubscribe, e-mail: >> >> For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: