This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) 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
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!