Hi venkatesh,

You can put javaScript functions .js file and include that
file in JSP to access the function.

say for example you have a javaScript function validate( )
put that into some file say common.js, include the file
where ever you want it!.FYI, you have to place .js
file under web server document directory.

           <script src="common.js"></script>

then directly call validate( ) in your JSP.


Hope it helps,

with regards,
           rathna.



VENKATESWARLU THUMMAPUDI wrote:

> hi pals,
>
> i wrote one function in java script as client validation which i used in
> one jsp program (let a.jsp).  can i call that java script funtion in
> other jsp(let b.jsp). can u send the method or property for that. could
> u please help me in that
>
> thanx in advance.
> venkatesh
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to