| Author |
handle multiple jsp forms with different action in one tile
|
Anurag Kumar Dubey
Greenhorn
Joined: Sep 10, 2012
Posts: 9
|
|
hi Everyone...
I have a tiles page..In this Page there are more than one jsp pages with different form(or actions).
now when i submit one jsp .it reflecting the other jsp page.. means other page value became empty...how to solve this one.....
|
 |
jatan bhavsar
Ranch Hand
Joined: Jul 23, 2008
Posts: 296
|
|
Hi Anurag,
Can you post some code ?
Regards
Jatan
|
 |
Anurag Kumar Dubey
Greenhorn
Joined: Sep 10, 2012
Posts: 9
|
|
1-in tiles.def
<definition name="roadbooking" page="/web/jsp/booking/road/roadbooking.jsp" extends="newbooking" >
<put name="body1" value="/web/jsp/booking/road/package.jsp"/>
<put name="mainroad" value="/web/jsp/booking/road/mainroad.jsp"/>
</definition>
2.in road booking.jsp...
I have attached two jsp with different action
Package.jsp ang mainroad.jsp..
and both the jsp have two different form with different actions....
in first jsp i have some ajax code to fetch data...dynamically.......so after fetching the data when i go to second jsp and submits the form ..the data coming in first jsp going away ...i
|
 |
 |
|
|
subject: handle multiple jsp forms with different action in one tile
|
|
|