Hi,
I think you need to parse the
string into integer (or) parsing of the string also . Get the value into the string "beforeParse" and write one
java program to parse the string to your desired type and return the value into the data type you required.
example.
1.jsp
< jsp:useBean id="parse" class="parse" >
.....
String beforeParse = request.getParameter("myvalue");
int i = parse(beforeParse);
parse.java
public int parse(String s)
{
// write the neccessary code here
}
I think this will be help full to you.