hi all,
pl have a look at the code given below.
The Current Session id is: <%= session.getId()%>
<%
out.println("Click me");
session.setAttribute("uname","ABC");
out.println(session.getAttribute("uname"));
%>
//End of the program
If i execute the program, it displays an error message stat
Hello,
Your code works fine.
I guess it is the class path problem.
Shankar
Gopinath d schrieb:
> hi all,
>
> pl have a look at the code given below.
>
> The Current Session id is: <%= session.getId()%>
> <%
> out.println("Click me");
> session.setAttribute("uname","ABC");
> out.println(sess
Hi,
I think the problem might be the version of JSP ur web container supports. Just
replace session.setAttribute("uname","ABC") by session.setValue("uname","ABC") and try
it.
- Siva
-
Sivakumar.S
Deutsche Bank AG, APHO,Singapore.
IT-Ecommerce/
Perhaps you are usuing a HttpSession class which doesn´t have these method
yet, I mean, setAttribute and getAttribute are substitutes to setValue and
getValue (these two are deprecated).
Fran
> -Mensaje original-
> De: Shankar [SMTP:[EMAIL PROTECTED]]
> Enviado el: lunes 29 de julio
That is the problem. It will work fine if he replace with getValue and
putValue..
-Original Message-
From: Sivakumar Samiappan [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 29, 2002 1:39 PM
To: [EMAIL PROTECTED]
Subject: Re: JSP problem
Hi,
I think the problem might be the version of
you might be using servlet2.2.jar. Upgrade that to servlet2.3.jar and your
code shall work fine.
Regards,
Vikramjit Singh,
Systems Engineer,
GTL Ltd.
Ph. 7612929-1059
-Original Message-
From: Sivakumar Samiappan [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 29, 2002 1:09 AM
To: [EMAIL P
hi...,
JavaWebServer2.0 does n't support servlet2.2 and JSP1.1 so
setAttribute and getAttribute won't work in JWS.
have nice solutions...
siddhu
-Original Message-
From: Gopinath d [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 29, 2002 1:01 PM
To: [EMAIL PROTECTED]
Sub
Hi
Can any one give me idea about how to compress a JSP output. I am using
Tomcat for running JSP's
I looked at gzip but donot know how to use it in a JSP.
Thanks
Vamsee
===
To unsubscribe: mailto [EMAIL PROTECTED] with body:
Bommakanti, Vamsee wrote:
> Hi
> Can any one give me idea about how to compress a JSP output. I am using
> Tomcat for running JSP's
> I looked at gzip but donot know how to use it in a JSP.
Things like that should not be done by the JSP page. A better approach
is to use filter, as described in th
Hi
I am having problems with attachment because the Javamail attaches files
only in local path and not in the network path,
Local path = client and server in windows O/S ( strAttach =
c:\example.txt)
Network path= I am not sure ..but I think should be something like
(/usr/temp/mail)
// attach
Hi All,
I am having problems with attachment because the Javamail attaches files
only in local path and not in the network path,
Local path = client and server in windows O/S ( strAttach =
c:\example.txt)
Network path= I am not sure ..but I think should be something like
(/usr/temp/mail)
// at
Hi all,
I want to send the data entered thru the keyboard from one screen to another window.
How is it possible in PHP?
Thanks in advance.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For
this is jsp mailing list. Dont you think you are asking a way off topic
thing, without mentioning it also. You could try in PHP mailing list.
Regards,
Vikramjit Singh,
Systems Engineer,
GTL Ltd.
Ph. 7612929-1059
-Original Message-
From: Gopinath d [mailto:[EMAIL PROTECTED]]
Sent: Monda
I will be out of the office starting 07/30/2002 and will not return until
07/31/2002.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-I
14 matches
Mail list logo