| Author |
2 JSP on same Page haing different action button
|
pax smith
Ranch Hand
Joined: Dec 13, 2005
Posts: 45
|
|
Hi In my web Page I need to show two JSP's both for different purpose having differnt form and action button. If I click on first then second JSP form should not be refreshed/submitted. Can any body suggest how can I achieve it using Struts. Thanks & Regards Pax Smith
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
|
The easiest way to accomplish this would be to use a frameset with two frames -- one for each of the JSPs. That way they could each refresh independently of the other.
|
Merrill
Consultant, Sima Solutions
|
 |
pax smith
Ranch Hand
Joined: Dec 13, 2005
Posts: 45
|
|
HI Thanks for response. But Merrill I donot want to use frame but to do this by struts. Thanks & regards
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
|
You might consider using a Tiles template. With tiles, though, the pages only seem to be separated. In actuality, the entire page is refreshed each time one of the sections is submitted.
|
 |
pax smith
Ranch Hand
Joined: Dec 13, 2005
Posts: 45
|
|
Hi Yes Merrill you are right. But I cannot use frames. Someone told me that there is option multiPage in Struts. Do you have any idea about that Thanks & Regards
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
|
Sorry, I haven't heard of a multipage option in Struts.
|
 |
 |
|
|
subject: 2 JSP on same Page haing different action button
|
|
|