You can include a js file just like in a normal html page. One caveat: since the js file is external to the file and wont be compiled as part of the JSP, you can't use any JSP or struts tags inside the js file.
regards, -Ade -----Original Message----- From: Adarsh [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 13, 2002 8:39 AM To: Struts Users Mailing List Subject: RE: thanks manish for ur quick reply. i just want to have a sample code . isearched on the net for it . it told that we can validate from the action errors method but i want client side scripting. again using script in the same page as jsp would break the laws for MVC model.Can we include a js file for that rgds -----Original Message----- From: Manish_Purang [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 13, 2002 5:48 PM To: Struts Users Mailing List Subject: RE: Hi You can include javascript in the same fashion as you would do it in normal html page. There's not much difference in it..! Rgds -----Original Message----- From: Adarsh [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 13, 2002 5:45 PM To: Struts Users Mailing List Subject: FW: Hi I am very new to struts.How does struts supports client side scripting like java script??? Can u all just help me out.. Sample code would be an advantage bye Adarsh Gupta Software Engineer Patni Computer Systems Limited SDF-7, 4th Floor, Unit 17, SEEPZ Tel : (022)-8290479/8291454 Extn : 5741 Mobile : 9820224341 www.patni.com World-Wide Partnerships.World-Class Solutions. ************************************************************************** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ************************************************************************** -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>