Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

handle multiple jsp forms with different action in one tile

 
Anurag Kumar Dubey
Greenhorn
Posts: 8
Android Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 299
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Anurag,

Can you post some code ?

Regards
Jatan
 
Anurag Kumar Dubey
Greenhorn
Posts: 8
Android Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic