Does IE need special code for parameters?

I have some simple HTML in my JSP:

<tr>

<td>

First Available Date

</td>

<td>

<%

String startFormattedDate = sdf.format(theTerm.getFirstAvailableDate());

%>

<input type="text" name="start_date" value=<%=startFormattedDate%> />

</td>

</tr>

In Netscape and Firefox, if the user does not change the data that is displayed and submits the page, which is okay, the value for start_date is returned to my servlet and processed. In Internet Exploder, however, the value of start_date that the servlet gets is null, even though there is a value there to begin with. Why is this and do I need special code for IE to deal with this? Thanks.

[813 byte] By [klitwaka] at [2007-10-2 20:28:16]
# 1

Can't tell from the code you have posted.

- Does the correct date get generated into the field?

- view source on the page - see what the generated HTML looks like

- How do you submit the page?

- How are you retrieving the value of "start_date"

Suggestion: put quotes around the value attribute, ie value="<%=startFormattedDate%>"

evnafetsa at 2007-7-13 23:11:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Another suggestion: if you want to discuss problems with a certain piece of HTML, it would be a good idea to post the actual HTML in question. You have posted some JSP code that generates the HTML instead, which is much less useful. Hint: View Source in the browser is your friend.
DrClapa at 2007-7-13 23:11:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...