String added to session in servlet not available in jsp

2003-10-09 Thread rudidoku
Hi, I created a session object and added a string (username) to it. Systemout.println shows the username from the request. My page is then forwarded to another as follows: RequestDispatcher disp = ctx.getRequestDispatcher(target); disp.forward(request, response); On this jsp page

RE: String added to session in servlet not available in jsp

2003-10-09 Thread erlis
Can you please show how are you creating the session object??? Sincerely Lic. Computer Science Erlis Vidal Santos -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 10:44 AM To: [EMAIL PROTECTED] Subject: String added to session in

RE: String added to session in servlet not available in jsp

2003-10-09 Thread Shapira, Yoav
10:44 AM >To: [EMAIL PROTECTED] >Subject: String added to session in servlet not available in jsp > >Hi, > >I created a session object and added a string (username) to it. >Systemout.println shows the username from the request. My page is then >forwarded to another as foll

RE: String added to session in servlet not available in jsp

2003-10-09 Thread rudidoku
s Vidal Santos > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 09, 2003 10:44 AM > To: [EMAIL PROTECTED] > Subject: String added to session in servlet not available in jsp > > Hi, > > I created a session object and

RE: String added to session in servlet not available in jsp

2003-10-09 Thread erlis
Lic. Computer Science Erlis Vidal Santos > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 09, 2003 10:54 AM > To: Tomcat Users List > Subject: RE: String added to session in servlet not available in jsp > > &g

RE: String added to session in servlet not available in jsp

2003-10-09 Thread rudidoku
r JSP as you already do, are they the same session? > > Yoav Shapira > Millennium ChemInformatics > > >>-Original Message- >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >>Sent: Thursday, October 09, 2003 10:44 AM >>To: [EMAIL PROTECTED] >>Sub

FW: String added to session in servlet not available in jsp

2003-10-09 Thread erlis
: DA-Erlis Vidal > Sent: Thursday, October 09, 2003 11:02 AM > To: 'Tomcat Users List' > Subject: RE: String added to session in servlet not available in jsp > > > And how you get the session in your JSP?? > Try this > > HttpSession session = request.getSessio

RE: String added to session in servlet not available in jsp

2003-10-09 Thread Edson Alves Pereira
; Assunto: RE: String added to session in servlet not available in jsp > > Yoav, > > Very good point. The sessionid from the servlet is different to the one in > the browser, as shown below. > > Ser: 1DFADA80613F3BE01C86A5C6DE2501A8 > jsp: AEAE6C4879702A3CF4254FF85B778D81 &

RE: String added to session in servlet not available in jsp

2003-10-09 Thread rudidoku
> request.getParameter("username") : "" ) ; > session.setAttribute("usr", username); > > Sincerely > Lic. Computer Science > Erlis Vidal Santos > > >> -----Original Message- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

RE: String added to session in servlet not available in jsp

2003-10-09 Thread Shapira, Yoav
2003 11:01 AM >To: Tomcat Users List >Subject: RE: String added to session in servlet not available in jsp > >Yoav, > >Very good point. The sessionid from the servlet is different to the one in >the browser, as shown below. > >Ser: 1DFADA80613F3BE01C86A5C6DE2501A8 >j

Re: FW: String added to session in servlet not available in jsp

2003-10-09 Thread rudidoku
> session.setAttribute("usr", username); > > I'm thinking that your request parameter is empty.. Try this and tell us > > Sincerely > Lic. Computer Science > Erlis Vidal Santos > >> -Original Message- >> From: DA-Erlis Vidal >&

RE: FW: String added to session in servlet not available in jsp

2003-10-09 Thread Ralph Einfeldt
> To: Tomcat Users List > Subject: Re: FW: String added to session in servlet not > available in jsp > > I should added that my JSP is a frameset with 2 frames. That > could be the problem!!! > - To unsubscri