Hi,
this is my problem: i've created a JavaBean inside an Action and i've added the bean to the session. I want to display the value of the bean's property 'username' in the
jsp pointed from action (i.e. the jsp on wich the action execute forwarding)
into the JSP the property results empty, but inside the action relate i can access correctly to it.
Here's my situation:
UserBean userBean; // only private
String username; with get()/set()
Login.jsp - LoginAction.java // the JSP + the action related
into LoginAction.java I perform:
LoginAction forwards to Search.jsp , on which i write:
None of three access to bean returns a String different fron "".
But in the action related to Search.jsp i perform:
And it goes well...
Conclusion: i cannot access to bean inside jsp, but i can into Action... Any tips?
Sorry for my poor english!
Thanks in advance,
Nerbo
[ April 22, 2004: Message edited by: Il Nerbo ]