-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
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
-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
:
<%=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
-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
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
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
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
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
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
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.
---
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
;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
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
()) {
} 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
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
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.
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
@;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
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.
-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
21 matches
Mail list logo