A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
retrieve action field in jsp
Joined: Jun 08, 2012
Jun 08, 2012 09:15:56
in my action.java I have a field which contain an int, and i want to use this int in a for in my jsp file, between <% and %>
Can someone help me please.
Joined: Jan 21, 2012
Jun 08, 2012 11:43:31
You want it on input
or output? if in input JSP page, give just name of the field same as your action property(int param1)
<s:set name="param1" value="param1" />
or for at output page to display that value us
tag to display it.
I agree. Here's the link:
subject: retrieve action field in jsp
NumberFormatException in spring
Which data type is better?
validation: how to make int and double validations work ?
Hidden Field in JSP and Java Bean
Long to Int
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014