Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » JSP not compiling correctly
JSP not compiling correctly [message #63318] Fri, 20 June 2003 13:22
Eclipse UserFriend
Originally posted by: russ.sdsusa.com

I'm not sure if this is the right place for this, or if it should be
posted elsewhere, but thought I'd start here. I'm running Eclipse 2.1
with the sysdeo tomcat plugin. I'm also trialing MyEclipse, so it's got
the solareclipse plugin.

I'm having problems with a JSP not compiling correctly. The offending
code in the JSP is:

<select name="<%= dataBean.formTag_defaultVipAgent %>"
id="defaultVipAgent"
onchange="submitForm1('<%=dataBean.getVipCodeBase()%>SDSM0145?c= <%=dataBean.getJavaTickTime()%> &Panel=DefaultAgentSwitch&Action=DefaultAgentSwitch' ,'NoConfirmationNeeded'); ">

<% int nbrLines = dataBean.getVipNames().length;
for(int i = 0; i<nbrLines; i++) { %>
<option value="<%= dataBean.getVipNames(i) %>"
<%
if(dataBean.getVipNames(i).equalsIgnoreCase(dataBean.getDefa ultVipName()))
{ %>
selected <% } // end if%>
> <%= dataBean.getVipNames(i) %> </option>
<% } // end for %>
</select>

It's translating into the following HTML:

<select name="SdsFormData_defaultVipAgent"
id="defaultVipAgent"
onchange=" submitForm1('/sdsvip/servlets/SDSM0145?c=1056129285696&P anel=DefaultAgentSwitch&Action=DefaultAgentSwitch','NoCo nfirmationNeeded'); ">


<option value="O14"
O14 </option>

<option value="O14JEK"
O14JEK </option>
</select>

The closing '>' for the <option> tag does exist in the JSP but notice
the lack of the closing '>' in the HTML. The JSP got compiled into a
servlet that was missing the closing '>'.

Anybody have any idea why it's not working?

TIA

Russ
Previous Topic:Debug Menu Was Disabled - Now It's Not!
Next Topic:[ANN] Call Hierarchy plugin updated (version 0.5.1)
Goto Forum:
  


Current Time: Fri Apr 25 19:25:09 EDT 2025

Powered by FUDForum. Page generated in 0.06412 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top