A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
Hidden Field in JSP and Java Bean
Which data type is better?
Long to Int
validation: how to make int and double validations work ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014