• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jsp response problem

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,

i have a situation here, i have around 6 tabs(all individual jsps displayed as tabs).
The forms of all the six jsp are filled but the data can be submitted for validation onl from the last tab.
Validation can only be performed from all the data(from all 6 tabs) together.

I have implemented this by storing the data of each jsp in session and then submitting all the data from the last tab.
Now after validation, the error messages have to be displayed on individual tab.
I have no idea on how i could get the response onto 6 JSP pages.
Just wanted to know if anyone knows a work around or anything that might help.

Thanks,
Vivek Raju.
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't you think the requirement is too odd to imagine.
What makes me laugh is all tabs(1-5) data are validated in the 6th tab and you carry the fields data in session without any confirmation that it is the valid one. Oh man you are wasting your resources unnecessarily. My suggestion is dont risk your resources unless you are sure about its authenticity.
I suggest you to try this one -
While in tab1 allow the user to enter the data in your fields once he is to move on tab2, validate the data entered in tab1 and incase of errors display them in the same page to which the fields belongs, just make sure that the user is allowed to move onto next tab only when he is done everything right in the current tab.

Hope you understand what i am trying to explain. :thumb:
 
Don't mess with me you fool! I'm cooking with gas! Here, read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic