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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply 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: 5
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: 5
i solved my problem. thank you
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: how to use form bean properties through bean tags
 
Similar Threads
Login Page Problem????
Hide password in Mozilla's Http Header plugin
can I have two login page using form-based authentication?
How to access Errors in Action class .....
How to handle form bean exception