Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use javascript in Struts

 
Prasad Narasimha
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help me how to javascript in struts. Provide some good URL to support.

I know validator plug in. but apart from that how to JAVASCRIPT in struts.
 
suresh kalass
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
as far as i know you have to use javascript in your view components like in html/jsp that works in normal way nothing different for struts enabled pages.
do normal javascript validation in your page then submit the form and do struts validation also if required.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic