RE: Online docs, was jsp version of session variable access.

2005-02-08 Thread Pawson, David
-Original Message- From: Tim Funk The JSP examples from a default tomcat install might have some. Some, and leads into Sun documentation, which often dates from 2000. >From an hours googling: regards DaveP DATE: 2005-02-08T12:39:27Z KEYWORDS:jsp, EL, Tomcat 5.0

Re: jsp version of session variable access. Pointer to syntax wanted.

2005-02-08 Thread Tim Funk
The JSP examples from a default tomcat install might have some. -Tim Pawson, David wrote: -Original Message- From: Tim Funk EL first arrives as part of JSTL. Which was available in JSP 1.2. But using EL required that is was used in a tag. With JSP 2.0 - EL

RE: jsp version of session variable access. Pointer to syntax wanted.

2005-02-08 Thread Pawson, David
-Original Message- From: Tim Funk EL first arrives as part of JSTL. Which was available in JSP 1.2. But using EL required that is was used in a tag. With JSP 2.0 - EL can be used anywhere one a page. Worthy of note! Thanks Tim. Do you know of any web page

Re: jsp version of session variable access. Pointer to syntax wanted.

2005-02-08 Thread Tim Funk
: <%=session.getAttribute(sessionData.FILECOUNT)%> In a jsp - the session variable is given to you as implicit variable. Thanks Tim ( and fstmncn ). Hadn't come across 'EL'. So the choice is one from 3? JSP 1.0 rev B. JSP (is it 1.2 or 2.0?) (XML syntax) and Expression Lang

RE: jsp version of session variable access. Pointer to syntax wanted.

2005-02-08 Thread Pawson, David
-Original Message- From: Tim Funk Via EL: (assuming sessionData.FILECOUNT = mySessionVariableName) ${sessionContext.mySessionVariableName} Via snippet: <%=session.getAttribute(sessionData.FILECOUNT)%> In a jsp - the session va

Re: jsp version of session variable access. Pointer to syntax wanted.

2005-02-07 Thread Tim Funk
Via EL: (assuming sessionData.FILECOUNT = mySessionVariableName) ${sessionContext.mySessionVariableName} Via snippet: <%=session.getAttribute(sessionData.FILECOUNT)%> In a jsp - the session variable is given to you as implicit variable. -Tim Pawson, David wrote: Looking for the syntax t

Re: jsp version of session variable access. Pointer to syntax wanted.

2005-02-07 Thread fstmncn
you can use expression language: e.g.: ${sessionData.FILECOUNT} --- "Pawson, David" <[EMAIL PROTECTED]> wrote: > Looking for the syntax to gain access to a session > variable > in a jsp page, rather than converting it to java. > > HttpSession session=r

jsp version of session variable access. Pointer to syntax wanted.

2005-02-07 Thread Pawson, David
Looking for the syntax to gain access to a session variable in a jsp page, rather than converting it to java. HttpSession session=request.getSession(); String s = (String)session.getAttribute(sessionData.FILECOUNT); I'm not using the xml syntax (as yet). tomcat 5028. any pointers apprec

RES: Session Variable

2004-07-19 Thread Patrick Dalla Bernadina
nday, July 19, 2004 1:22 PM Para: Tomcat Users List Assunto: Re: Session Variable Tell your web browser to stop blocking cookies. -Tim Patrick Dalla Bernadina wrote: > The tomcat 4.1 that comes with JBoss is not creating session variables when I access the web server remotely. When I us

RES: Session Variable

2004-07-19 Thread Patrick Dalla Bernadina
I've already enabled cookies. This wasn't enough. -Mensagem original- De: Tim Funk [mailto:[EMAIL PROTECTED] Enviada em: Monday, July 19, 2004 1:22 PM Para: Tomcat Users List Assunto: Re: Session Variable Tell your web browser to stop blocking cookies. -Tim Patrick Dalla

Re: Session Variable

2004-07-19 Thread Tim Funk
Tell your web browser to stop blocking cookies. -Tim Patrick Dalla Bernadina wrote: The tomcat 4.1 that comes with JBoss is not creating session variables when I access the web server remotely. When I use the "localhost" hostname to connect to the web server it functions well. ---

Session Variable

2004-07-19 Thread Patrick Dalla Bernadina
The tomcat 4.1 that comes with JBoss is not creating session variables when I access the web server remotely. When I use the “localhost” hostname to connect to the web server it functions well.   How I solve this problem?   Patrick Dalla Bernardina Project Managemen

Re: SESSION VARIABLE BECOMES NULL AFTER SOME REFRESH

2004-04-12 Thread Veniamin Fichin
;s not so. That says that right-hand operator only executes when left-hand operator is false, so in this code session!=null. -Original Message- From: MUKUND Premchander [mailto:[EMAIL PROTECTED] Sent: 12 April 2004 11:19 To: [EMAIL PROTECTED] Subject: SESSION VARIABLE BECOMES NULL AFTER SOME

RE: SESSION VARIABLE BECOMES NULL AFTER SOME REFRESH

2004-04-12 Thread MUKUND Premchander
Hi , Thank you for your reply . Guess I did not put my qn the right way . In the code block if (session == null || session.isNew() I do not access any session variables Actually I just redirect the page. I am unable to understand why the implicit session variable becomes null suddenly after

RE: SESSION VARIABLE BECOMES NULL AFTER SOME REFRESH

2004-04-12 Thread Peter Guyatt
()) { } else { } } Thanks Pete -Original Message- From: MUKUND Premchander [mailto:[EMAIL PROTECTED] Sent: 12 April 2004 11:19 To: [EMAIL PROTECTED] Subject: SESSION VARIABLE BECOMES NULL AFTER SOME REFRESH Hi, I have a jsp page which is refreshed atuomatically every 10 seconds.I get

SESSION VARIABLE BECOMES NULL AFTER SOME REFRESH

2004-04-12 Thread MUKUND Premchander
Hi, I have a jsp page which is refreshed atuomatically every 10 seconds.I get and put values in the session by using the implicit session variable . Everything works fine for say 2-3 mins after that the session becomes null and throws a null pointer exception. IN the try block I even have a

Re: Session variable returns null in non-SSL page

2003-06-11 Thread Jacob Kjome
at4.1.24. I have used SSL session using HTTPS for login and some user specific jsp pages. I maintains session using HttpSession. there are some non-SSL HTTP pages where i access session variables. I am getting the session variable which i set in login page after successful login as null.

Session variable returns null in non-SSL page

2003-06-11 Thread manjunath
I am transporting the webapp which was running on IIS+Tomcat3.x to TOmcat4.1.24. I have used SSL session using HTTPS for login and some user specific jsp pages. I maintains session using HttpSession. there are some non-SSL HTTP pages where i access session variables. I am getting the session

RE: How can I pass the session variable to another session?

2002-11-15 Thread Becker, Michael
@;edge.com] Sent: Friday, November 15, 2002 4:18 PM To: 'Tomcat Users List' Subject: How can I pass the session variable to another session? Hi, Does anybody know how to pass session variables to another session in tomcat? I have a JSP page which can catch the user login, password. I

How can I pass the session variable to another session?

2002-11-15 Thread Eddie Liang
Hi, Does anybody know how to pass session variables to another session in tomcat? I have a JSP page which can catch the user login, password. I store the login, password as JSP variables, I need to pass these variable to other page for the database initialization. Anyone can help? Thank you.

passing IIS session variable to stand-alone tomcat

2001-03-17 Thread Rajeev Jha
-id. now from one asp page on IIS server we have to go to jsp pages running on tomcat. how can we pass the session variable that we are using in asp pages on IIS to jsp pages on tomcat ? on IIS : some asp page using session-id and it has link to one HTML page hosted on tomcat