Re: JSP form beginner question
From: Paul Lutus (nospam_at_nosite.zzz)
Date: 10/15/03
- Next message: Paul Lutus: "Re: Link to an external application?"
- Previous message: Toro: "Re: Link to an external application?"
- In reply to: Fred Fasle: "Re: JSP form beginner question"
- Next in thread: VisionSet: "Re: JSP form beginner question"
- Reply: VisionSet: "Re: JSP form beginner question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 15 Oct 2003 10:16:00 -0700
Fred Fasle wrote:
> Thanks guys have used the
>
> try {
> myInt = Integer.parseInteger(intParam);
> } catch(NumberFormatException e) {
> myInt = null;
> }
>
> and this seems to do the trick.
No, in fact that won't even compile. Why not post the real code?
You cannot set a primitive to null, amd there is no "Integer.parseInteger()"
method. Always post code directly from your programming editor, don't just
type things in.
> Another question however is I seem to be
> getting my form jsp code appearing in my browser when I load the page, the
> whole lot in Mozilla and the corresponding form.get code to the input box
> in IE. Is this being caused by my Javabean not being correctly read in. I
> can't figure it out I have been through some similar code thast works
> completely and compared the two and am unable to see any differences. Any
> ideas on this?
This is caused by your Web server setup, not Java per se. It's outside the
scope of this newsgroup's topic.
-- Paul Lutus http://www.arachnoid.com
- Next message: Paul Lutus: "Re: Link to an external application?"
- Previous message: Toro: "Re: Link to an external application?"
- In reply to: Fred Fasle: "Re: JSP form beginner question"
- Next in thread: VisionSet: "Re: JSP form beginner question"
- Reply: VisionSet: "Re: JSP form beginner question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|