File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes How to use javascript in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to use javascript in Struts" Watch "How to use javascript in Struts" New topic

How to use javascript in Struts

Prasad Narasimha

Joined: Apr 27, 2007
Posts: 7
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

Joined: May 15, 2007
Posts: 3
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.
I agree. Here's the link:
subject: How to use javascript in Struts
jQuery in Action, 3rd edition