wood burning stoves
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "write request.setAttribute("key", "value")" Watch "write request.setAttribute("key", "value")" New topic

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

John Smith

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

Ranch Hand

Joined: Dec 08, 2004
Posts: 111


Try this

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

Joined: Mar 02, 2005
Posts: 104

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

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: write request.setAttribute("key", "value")
It's not a secret anymore!