Foren
Error in aui.
Abid Ali, geändert vor 10 Jahren.
Error in aui.
Junior Member Beiträge: 88 Beitrittsdatum: 31.03.12 Neueste Beiträge
I have wrote this code in my jsp but i got an error like
<aui:select label="JobId" name="country">
<% while(rs.next()){%>
<aui:option value = "<%=rs.getString("jobOrderID").toString()%>"><%=rs.getString("jobOrderID")%></aui:option>
<%} %>
</aui:select>
error
-----------
12:43:41,971 ERROR [http-bio-8989-exec-35][render_portlet_jsp:154
] org.apache.jasper.JasperException: /html/apfexamination/view.jsp (line: 43, column: 25) Attribute value rs.getString("jobOrderID").toString() is quoted with " which must be escaped when used within the value
<aui:select label="JobId" name="country">
<% while(rs.next()){%>
<aui:option value = "<%=rs.getString("jobOrderID").toString()%>"><%=rs.getString("jobOrderID")%></aui:option>
<%} %>
</aui:select>
error
-----------
12:43:41,971 ERROR [http-bio-8989-exec-35][render_portlet_jsp:154
] org.apache.jasper.JasperException: /html/apfexamination/view.jsp (line: 43, column: 25) Attribute value rs.getString("jobOrderID").toString() is quoted with " which must be escaped when used within the value
Antoine Comble, geändert vor 10 Jahren.
RE: Error in aui.
Regular Member Beiträge: 232 Beitrittsdatum: 07.09.12 Neueste Beiträge
Hi,
Try with this :
Regards,
Antoine
Try with this :
<aui:select label="JobId" name="country">
<% while(rs.next()){%>
<aui:option value="<%=rs.getString("jobOrderID").toString()%>">
<%=rs.getString("jobOrderID")%>
</aui:option>
<%} %>
</aui:select>
Regards,
Antoine