File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes how to use  form bean properties through bean tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to use  form bean properties through bean tags" Watch "how to use  form bean properties through bean tags" New topic
Author

how to use form bean properties through bean tags

Tej Ernesto
Greenhorn

Joined: Jun 17, 2012
Posts: 19

Hi
i am using struts to develop a web page.. first i displayed a login page.. i created login form bean and loginaction class
when user clicks on login it takes him to his home page
i want to display his username over there
i was using this tag
<bean:write name="LoginForm" property="userName"/>
but its giving me 500 error
how to get that username from form bean
Shankar Tanikella
Ranch Hand

Joined: Jan 30, 2011
Posts: 329

Hi Ernesto,
Could you share more information about it, like server logs


Have Fun with Java
little,little.. little by little makes a lot..
Tej Ernesto
Greenhorn

Joined: Jun 17, 2012
Posts: 19

i solved my problem. thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to use form bean properties through bean tags