Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
How OGNL automatically maps to the appropiate Object
PavanPL KalyanK
Ranch Hand
Posts: 212
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
<s:form action="Register"> <s:textfield name="user.username" label="Username"/> <s:password name="user.password" label="Password"/> <s:textfield name="user.portfolioName" label="Enter a name "/> <s:textfield name="user.age" label="Enter your age as a double "/> <s:textfield name="user.birthday" label="Enter birthday. (mm/dd/yy)"/> <s:submit/> </s:form>
public class User { private String username; private String password; private String portfolioName; private Double age; private Date birthday;
// Generated setters and getters
How OGNL automatically maps to the appropiate Object properties , How this works ??Please tell me
Ankit Garg
Sheriff
Posts: 9707
43
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Well this is all done by the
parameters-interceptor
. You can google it to get more info...
SCJP 6 | SCWCD 5 |
Javaranch SCJP FAQ
|
SCWCD Links
PavanPL KalyanK
Ranch Hand
Posts: 212
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Okay , Thanks .
David Newton
Author
Posts: 12617
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Include the
OGNL docs
in your reading.
when your children are suffering from your punishment, tell your them it will help them write good poetry when they are older. Like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Struts 2 validation question
<s submit> label does not change
Data Transmission from a JSP Page to the Struts Action class
Getting null if i do not do an explicit new TestBean() in Action Class .....
How to change the default label style in Struts2?
More...