Re: how to use Session in a jsp function?

2000-05-31 Thread Eric Dunstan
t;[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: how to use Session in a jsp function? >Date: Wed, 31 May 2000 14:17:38 +0800 > >hello,just as you say,to use out.

Re: how to use Session in a jsp function?

2000-05-31 Thread Danny Trieu
no can't do ..:) modify your checkId() to pass in the session object like below: karen wrote: > hello,just as you say,to use out.println() method,we need to add like this > func(JspWriter out) > { > } > if I want to use a Session method,just as session.putValue() or >session.getValue(

how to use Session in a jsp function?

2000-05-31 Thread karen
hello,just as you say,to use out.println() method,we need to add like this func(JspWriter out) { } if I want to use a Session method,just as session.putValue() or session.getValue(),how can I realize?and more if I can call a bean in a jsp function?just like below: <%! int chkID(String strBar

Re: How to use session ?

2000-03-28 Thread yjchen
iginal Message- > From: yjchen [mailto:[EMAIL PROTECTED]] > Sent: 28 March 2000 04:09 > To: [EMAIL PROTECTED] > Subject: How to use session ? > > Sorry to ask such stupid question. > > I try to trace a user by this code: > > > Your session data: > <% > Str

Re: How to use session ?

2000-03-28 Thread Rajesh Shah
Just a stupid question, but is browser set to accept cookies? -Original Message- From: yjchen [mailto:[EMAIL PROTECTED]] Sent: 28 March 2000 04:09 To: [EMAIL PROTECTED] Subject: How to use session ? Sorry to ask such stupid question. I try to trace a user by this code: Your session

How to use session ?

2000-03-27 Thread yjchen
Sorry to ask such stupid question. I try to trace a user by this code: Your session data: <% String[] names = session.getValueNames(); for (int i = 0; i < names.length; i++) { %> <%= names[i] %> : <%= session.getValue(names[i]) %> <% } %> Session id: <%= session.getId() %> New Session: