Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JSP Interest »

Re: define an object

Manish Malhotra

2004-09-20

Replies:

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:JSP-INTEREST@(protected)
Sent: Monday, September 20, 2004 8:35 PM
To: JSP-INTEREST@(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 listserv@(protected)
JSP-INTEREST".
For digest: mailto listserv@(protected)
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 listserv@(protected)".
For digest: mailto listserv@(protected)".

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
©2008 junlu.com - Jax Systems, LLC, U.S.A.