• 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

Validations Spanning Multiple Pages

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Actually I have 2 JSPs, JSP1 and JSP2. For JSP1, we have 2 input text fields, Name and SSN [we have validation for SSN]
For JSP2, we have 2 input text fields, CompanyName and Technology [we have validation for CompanyName and technology].

I have tried running the JSP1 and got validation for SSN as expected. On submitting I am forwarding to JSP2, on submitting I got validation for 3 fields, SSN, CompanyName and technology.
Rather I should get for CompanyName and technology only.

In JSP1 I am giving the hidden page value as 1 and in JSP2 as 2.

Thanks
 
Anderson gave himself the promotion. So I gave myself 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