A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Frameworks
»
Struts
Author
property tag problem
Gihan Pandigamage
Ranch Hand
Joined: Aug 23, 2009
Posts: 57
posted
Sep 29, 2009 02:33:49
0
hey guys,
I want to know how jsp property tag works.
I'm using struts2 for my application.
<s:property value="agentComLifePK.policyTermTo" /></td>
can any one explain how this value tag works? why use this dot operator???
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56168
13
I like...
posted
Sep 29, 2009 08:08:32
0
Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.
[
Smart Questions
] [
JSP FAQ
] [
Books by Bear
] [
Bear's FrontMan
] [
About Bear
]
Davie Lin
Ranch Hand
Joined: Aug 05, 2007
Posts: 294
posted
Sep 29, 2009 08:54:46
0
The <s:property> tag retrieve the data from valuestack
you set the object agentComLifePK in action class
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
I like...
posted
Sep 29, 2009 09:06:45
0
You use the "dot" notation so you can access object properties.
Gihan Pandigamage
Ranch Hand
Joined: Aug 23, 2009
Posts: 57
posted
Sep 29, 2009 21:22:26
0
THANKS GUYS,
problem were solved.thanks for helping
I agree. Here's the link:
http://aspose.com/file-tools
subject: property tag problem
Similar Threads
Issue with the property attribute of logic:iterate
How do iknow whether a link was clicked or not
JSTL forEach tag in struts problem
<jsp:useBean>
logic: equal question
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter