In my JSP page I have the following java code:
<%
......
String stageLabelRow = "";
if (appendInstanceToPath && appendUserToPath &&
appendIDToPath) {
stageLabelRow = "<TD> <a href=\"" + stagingRef + ""
target="_new" class="cmdA">" + (si.description == null) ? "<i>no label</i>"
: si.description +; "</a> </TD>";
} else {
stageLabelRow = "<TD> " + (si.description == null) ? "<i>no
label</i>" : si.description + " </TD>";
}
......
%>
which comes up with the following errors:
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for
JSPc:\d\editor\tomcat\work\localhost_8080%2Fsms\_0002feditor_0002fbin_0002fs
taging_0002fstagingForm_0002ejspstagingForm_jsp_7.java:199: ';' expected.
stageLabelRow = " " +
(si.description == null) ? "no label" : si.description +; " <\> ";
^
c:\d\editor\tomcat\work\localhost_8080%2Fsms\_0002feditor_0002fbin_0002fstag
ing_0002fstagingForm_0002ejspstagingForm_jsp_7.java:199: '}' expected.
stageLabelRow = " " +
(si.description == null) ? "no label" : si.description +; " <\> ";
^
c:\d\editor\tomcat\work\localhost_8080%2Fsms\_0002feditor_0002fbin_0002fstag
ing_0002fstagingForm_0002ejspstagingForm_jsp_7.java:199: Identifier
expected.
stageLabelRow = " " +
(si.description == null) ? "no label" : si.description +; " <\> ";
^
c:\d\editor\tomcat\work\localhost_8080%2Fsms\_0002feditor_0002fbin_0002fstag
ing_0002fstagingForm_0002ejspstagingForm_jsp_7.java:199: String not
terminated at end of line.
stageLabelRow = " " +
(si.description == null) ? "no label" : si.description +; " <\> ";
^
4 errors
Please help guys,
Thanx
P.C.
Alex S. Romanov
Software Developer
GREYINTERACTIVE Italy
Via del Bollo, 4 - 20123 Milano
T. +39 02 802.77.11
<http://www.greyinteractive.it/>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets