Hi John/Users/Developers

I want to know how session is being managed in OWFE.

I am trying to follow traditional method, but its not working.

What I have done

1. there is a text box in editWorkitem-body.jsp and I wnat to enter something.

2. submit will call ProceedAction
3. Now I am setting attribute
String name = request.getParameter( "username" );
   session.setAttribute( "theName", name );

in ProceedAction.java

( I have created a new session here by making boolean value as true before this)

4. I want to acess theName in editWorkitem-body.jsp and viewWorkitem-body.jsp

something like :
Hello, <%= session.getAttribute( "theName" ) %>

Howeevr its prining null only.

I have seen There are some inbuilt methods/libraries written for session management.

Do I need to use them

My work was simple and easy so I wanted to use traditional method.

Kindly guide me

Thanks & Regards
JP


Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
OpenWFE - Open source WorkFlow Engine
OpenWFE-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openwfe-users

Reply via email to