This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes write request.setAttribute( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "write request.setAttribute("key", "value")" Watch "write request.setAttribute("key", "value")" New topic
Author

write request.setAttribute("key", "value")

John Smith
Greenhorn

Joined: Oct 07, 2003
Posts: 15
which tag should I use to display the value in a JSP page by using struts tag?

Thanks..
sanat
Ranch Hand

Joined: Dec 08, 2004
Posts: 111

Hi

Try this

Use <html:text> with disabled attribute set to true.
bhuvan sundar
Ranch Hand

Joined: Mar 02, 2005
Posts: 104
hi

you can use the <bean:write> tag to display values from a bean. or you can also use <bean:message> tag to display values from the Properties file to a JSP.

Hope it helps

Thanks
Bhuvana
 
 
subject: write request.setAttribute("key", "value")
 
Similar Threads
Nested quotes in tag
How to set Default selection in h:selectOneMenu
xml
how to reset a selected list box item after search
jstl help