Hi,
you can do that.
<% if(x.equals("yes"){%>
<script lagauge=javascript>
alert("Hello")
</script>
<% else{%>
----
-----
like this .if you have furthur doubts
mail me [EMAIL PROTECTED]
bye,
Maruthi Alla
--- Ashish Bhatia <[EMAIL PROTECTED]> wrote:
> Dear friends,
> I need to call a javascript function from
> within my JSP files. I
> believe this is possible. Could any you please help
> me in implementing this.
>
> Thanks and Regards
> Ashish Bhatia
> NIIT LTD.
> 8, Balaji Estate
> Sudarshan Munjal Marg,
> New Delhi - 110 058
> Tel: 6203447
>
>
>
> Visit http://www.NetVarsity.com for online learning
>
>
===========================================================================
> 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
=====
Maruthi Alla
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
===========================================================================
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