Hi everyone,
I'm new to JSP and I've been trying to do some basic stuff to get used to it. Now, I've been trying to convert a string to a int, but no matter how I try it, I get errors. What package do I need to import for this? What function should I use? I tried Integer.parseInt but that didn't work either.
I was also wondering how I can import more than one package with this line
<%@ page contentType="text/html" import="java.util.*" %>
Do I have to add more than one line or can I add more into this one?
Thanks for all your help...I really appreciate it!
Daph
I'm new to JSP and I've been trying to do some basic stuff to get used to it. Now, I've been trying to convert a string to a int, but no matter how I try it, I get errors. What package do I need to import for this? What function should I use? I tried Integer.parseInt but that didn't work either.
I was also wondering how I can import more than one package with this line
<%@ page contentType="text/html" import="java.util.*" %>
Do I have to add more than one line or can I add more into this one?
Thanks for all your help...I really appreciate it!
Daph