U can't use an object for application if u just define it in JSP. Create and put in the application object which is avail. in JSP by default. as: applciation.setAttribute("key", object);
Set this object in ur index/welcome jsp so that afterwards this wud be avail. regards, Manish -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED] Behalf Of RimZim Sinha Sent: Monday, September 20, 2004 8:35 PM To: [EMAIL PROTECTED] Subject: define an object Can someone tell me where do I define an object in jsp i need for the entire application? Thanks Rimzim =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com