• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp response problem  RSS feed

 
S.R.K.Vivek Raju
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • 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.
 
Devi Taruni
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • 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:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!