Foros de discusión
Error in aui.
Abid Ali, modificado hace 10 años.
Error in aui.
Junior Member Mensajes: 88 Fecha de incorporación: 31/03/12 Mensajes recientes
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, modificado hace 10 años.
RE: Error in aui.
Regular Member Mensajes: 232 Fecha de incorporación: 7/09/12 Mensajes recientes
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