struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Srivastava" <>
Subject RE: Action does not get executed
Date Fri, 23 Nov 2001 11:43:57 GMT
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">
          <td align="center">
          <td align="center">

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.


>> -----Original Message-----
>> From:
>> []
>> Sent: Friday, July 23, 1999 2:11 PM
>> To: Struts Users Mailing List;
>> 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: <>

View raw message