Re: findforward w/session objects

2005-10-12 Thread Leon Rosenberg
session.setAttribute("file", temp); vs. request.getAttribute("file"); you know that request and session are different scopes? change the second line to request.getSession().getAttribute("file"); regards leon On 10/11/05, Chris Pat <[EMAIL PROTECTED]> wrote: > Hello > When I use the code below th

Re: findforward w/session objects

2005-10-12 Thread gramani
Chris Pat <[EMAIL PROTECTED]> wrote on 10/12/2005 11:29:41 AM: > Hi Geeta, et. al > I typed too soon. I am still getting a servlet error What error are you getting? That String file below is null? Maybe the error is differnet from what you think it is..? If not, this is strange. I have set cou

Re: findforward w/session objects

2005-10-12 Thread Chris Pat
Hi Geeta, et. al I typed too soon. I am still getting a servlet error even with this modified code and not getting a the println produced. playThis action: HttpSession session = request.getSession(false); if (session == null) System.out.println("null session"); String file = (Str

Re: findforward w/session objects

2005-10-12 Thread Chris Pat
Hi Geeta Thank you. Even though it is a major point, I am getting killed by syntatic problems. I know the sophisticated issues but the "blocking & tackling" is my present downfall. I feel like I am the teacher and student in the Jaime Escalante story, grin. --- [EMAIL PROTECTED] wrote: > Chris

Re: findforward w/session objects

2005-10-12 Thread gramani
Chris Pat <[EMAIL PROTECTED]> wrote on 10/11/2005 05:31:03 PM: > Hello > When I use the code below the Action "playThis" claims > the file attribute is null. It is not unless I am > loosing the session on the findforward. How can I > store a value in the session and forward to an Action? > The