Lucas, this is such a basic question. Have you done any research on this at all? Google ("Java session has expired" returned 139,000 hits.) perhaps? Maybe search the archives? This isn't even a Struts question. Not even specified as OT or Newbie.

In the future:
http://www.catb.org/~esr/faqs/smart-questions.html

Now, on to an answer:

if (request.getSession(false) == null) {

    // session has expired

}

/robert

Lucas Bern wrote:
Hi guys!
can anybody tellme how to know if a session is espired???
thanks!
Lucas


Brian McGovern <[EMAIL PROTECTED]> escribió:
Thank you Mike. That was EXACTLY it. VERY appreciated. I was messing around all 
morning with this.

-----Original Message-----
From: Mike Millson [mailto:[EMAIL PROTECTED]
Sent: Friday, May 13, 2005 2:15 PM
To: Struts Users Mailing List
Subject: RE: [OT] RSS w/ JSTL


On Fri, 2005-05-13 at 12:28, Brian McGovern wrote:

Following up. Ive gotten it rss reading to work using jstl/xml

but >


If you are using 1.1 version tags, make sure your web.xml DTD is for
J2EE 2.4. I have seen the case where 1.1 tags in combination with
web.xml DTD 2.3 produces odd results. Some of the tag functions work and
others do not. Apparently you need a web.xml 2.4 DTD to get full JSTL
1.1 functionality.

Mike


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------- A tu celular ¿no le falta algo? Usá Yahoo! Messenger y Correo Yahoo! en tu teléfono celular. Más información aquí.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to