Re: session timeout setting

2002-12-18 Thread Yong How
Hi,

Add the following to your web.xml file

web-app
  ...
  ...
  ...

  session-config
session-timeout
  60
/session-timeout
  /session-config

/web-app





Best Regards,

Lim Yong How
Software Engineer
Ryeson Security International
180B Bencoolen Street #10-01/02 The Bencoolen Singapore 189648
www.ryeson.com http://www.ryeson.com




The information contained in this e-mail message is intended only for the
use of the person or entity to whom it is addressed and may contain
information that is CONFIDENTIAL and may be LEGALLY PRIVILEGED and exempt
from disclosure under applicable laws. If you read this message and are not
the addressee you are notified that use, dissemination, distribution, or
reproduction of this message is prohibited. If you have received this
message in error, please notify us immediately and delete the original
message.

__



-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Kenny G. Dubuisson, Jr.
Sent: Wednesday, 18 December, 2002 12:11 AM
To: [EMAIL PROTECTED]
Subject: session timeout setting


I have a site written in JSP that uses session info to validate user's
sessions.  I want to change the default timeout of the session from 60 mins
but I'm not sure what is controlling this or how/where to change it.  Here
is more info to help figure this out...if anyone has any ideas I would
greatly appreciate it.

My initial JSP page has a login which, when validated, sets a cookie that
stores the session ID.  Every page thereafter, upon initial load, checks the
current session ID against this cookie and if they don't match, the user is
directed to re-login.  My users want a longer timeout but I'm not sure where
to control this (maybe this question is for the Tomcat listI just don't
know).

Thanks,
Kenny

===
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 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 FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Populate Action Value

2002-12-18 Thread KEITH KOSMICKI
Has anyone seen any code examples in VBScript that allow you to populate 
the action value of the form based on the validation that occurs when the 
submit button is clicked?

Thanks


Keith E. Kosmicki
Applications Consultant
State of IL Human Services
STL Technology Partners

==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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Urgent, Making taglib available to JSPs without those being in a WAR

2002-12-18 Thread John Miller Crawford
Brilliant! Worked first time for me, Manos! I've been searching for quite a while to 
find out how to do this, through books and sites and lists, till I found your posting. 
Exactly what I needed.

Many thanks!

John

===
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



scrape taglib

2002-12-18 Thread V.T.R.Ravi Kumar
Hi

I have some problems using the scrape taglib. anybody who have used it and is 
successful may please help.

I had this scrape taglib downloaded and used it as follows

in a jsp

!doctype html public -//w3c//dtd html 4.0 transitional//en
html
%@ page language=java errorPage=../except.jsp %
%@ taglib uri=http://jakarta.apache.org/taglibs/scrape-1.0; prefix=scrp %
 head   titleExample JSP using scrape taglib/title /head
 body bgcolor=DAF0FE
scrp:page
   scrp:urlhttp://10.3.7.212:8080/index.html/scrp:url
   scrp:scrape id=new begin=table end=/table anchors=true/
/scrp:page
scrp:result scrape=new/
   /body
/html



herein the 10.3.7.212 is in intranet 


In the output i just get the page upto 

!doctype html public -//w3c//dtd html 4.0 transitional//en
html
 head   titleExample JSP using scrape taglib/title /head
 body bgcolor=DAF0FE

nothing more

can anybody help...

Dhanyavad(thanks)   in advance

V.T.R.Ravi Kumar
Engineer,CCX,BHEL, Haridwar
Phone : Office-91-01334-285260
 Res  -91-01334-226121
-

==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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com