wood burning stoves*
The moose likes Struts and the fly likes Can we use FormBeans's properties in HTML tag as values? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Can we use FormBeans Watch "Can we use FormBeans New topic
Author

Can we use FormBeans's properties in HTML tag as values?

gunasekaran Pasupathy
Greenhorn

Joined: Jan 24, 2013
Posts: 1
Can we use FormBeans's properties in HTML tag as values?

For instance,

I have a setter method in LoginForm Class for

String link_url;

From my LoginAction class, I'm setting this property and forwarding to "view.jsp" using return mapping.findForward.

I want to assign this link_url as the href value of <a> tag.

Can anyone help me?
Gopakumar Naryanan
Ranch Hand

Joined: Jan 15, 2011
Posts: 72


Please try this..


Thanks & Regards
Gopakumar
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Can we use FormBeans's properties in HTML tag as values?
 
Similar Threads
Get CSS Attributes using Java
Creating jsp file without .jsp extension
struts 1.3 Interactive form
jsp:useBean tag query.
html:submit button size