This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
jQuery in Action, 2nd edition
 
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