simply use #session.status if the action has a getter for status field.


m.harig wrote:
> 
> hello all
> 
>              I've a LoginAction in my application . Am checking my
> username , password with my db. If the user doesn't exist i've to display
> a message in my jsp page. Now am using session object to store the message
> . to print the message in jsp am using
>                        <%out.println(session.getAttribute("status"))%>
> 
> is it good to use like this . please help me out of this...
> 

-- 
View this message in context: 
http://www.nabble.com/dissplay-a-message-in-jsp-tp21515691p21517928.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to