Originally posted by Eric Pascarello:
Originally posted by Eric Pascarello:
The target on the href has no effect when you are posting the form. You have the wrong target in your form.
Eric
Originally posted by Bear Bibeault:
Why are you trying to replace the element with a string? Or are you really intending to set its value? Hint, hint.
Originally posted by Ben Souther:
You didn't include line numbers.
Which is line 6?
Where is it blowing up, on the server or in your browser?
Originally posted by Bear Bibeault:
The fact that your page is generted from a JSP is moot. You will use HTML and CSS just as with any other page.
Originally posted by Jeanne Boyarsky:
Jyoti,
The best way is to store the values in the HttpSession before going to the error page. That way the next time you paint the JSP, they are available to you.
Originally posted by Rob Prime:
Are you sure you are not getting a ClassCastException?
Here, you are casting a java.util.Date object as java.sql.Date. The object isn't an instance of java.sql.Date however.
To create a java.sql.Date from a java.util.Date you have to do the following:
The same goes for Time and Timestamp.
Originally posted by Paul Campbell:
are you in auto-commit mode?
Originally posted by Paul Campbell:
are you in auto-commit mode?