• 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

Front End Validation in Struts 1.1

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

I am currently doing a Struts Based Project, in which the Client has given the restriction of not using JavaScript for front end validations.

Now I have to submit the Page if the User hits the Enter Key or the Space Bar after getting focus.... How to do it in Struts??
 
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This link is Good Example....


http://www.javaranch.com/newsletter/Mar2003/newslettermar2003.jsp#struts
 
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The link provideded by Mr.Somkiat is written by our sheriff, Mr.Thomas Paul...

U can have a look more about the client-side validation of Struts at Sample Chapter-6 of the "Struts, The Complete Reference" by Mr.James Holmes... I do hope that chapter will provide you more info on client-side validations... Hope it helps...
 
v jain
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks....
 
reply
    Bookmark Topic Watch Topic
  • New Topic