No, you can't.  All JSP commands are done on the server before the page is
sent out to the client.  All browser events (like onClick) and Javascript
happen after the server has done its job.  You should do some research on
Javascript, though, because you can probably do what you want with that.  I
find http://irt.org very helpful with Javascript questions.

-----Original Message-----
From: M Sankar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 5:06 AM
To: [EMAIL PROTECTED]
Subject: jsp:forward onClick


Hi,

Can I use jsp:forward page onClick of a menuitem. If yes how it is
possible?
Plz help

Sankar

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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