hi, it's only possble by using javascript. keep a separate *.js file which contains all scripts you use in your project. if you do so, you can call every js method from every jsp.
hope this helps. -mw ----- Original Message ----- From: "Ali Chadorbaf" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 22, 2001 5:42 AM Subject: Newbie question: How to propagating to handle an event to another page > Hi guys, > > I have a page (say Main.jsp), which will instantiate > another page(say Sub.jsp) when is loaded on screen. > Means at the same time user can see both Main.jsp & > Sub.jsp on the same screen. (Sub.jsp is called by > Main.jsp). There is a button on Sub.jsp and > I want to handle the "onclick" event in Main.jsp in > stead of in Sub.jsp. > > On the other words, I want to propagate the button > clicked event from Sub.jsp to Main.jsp Any idea for > this? > > Thanks > > > __________________________________________________ > Do You Yahoo!? > Make a great connection at Yahoo! Personals. > http://personals.yahoo.com > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
