Caroline ... <sigh/>

I don't think I am being overly critical in saying that I think you need to do a little reading ... I suggest the JSP and JSTL tutorials. You cannot freely mix tags in tags with methods etc. ... blah blah blah

http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro.html#wp100465

Caroline Jen wrote:

It seems that I have problems to get JSTL tags
right....

<c:if
test="${attachBean.attachMimeType.startsWith('image/')}">
     <html:img page="getattachment?attach=<c:out
value='${attachBean.attachID}' />" alt="<c:out
value='${attachBean.attachFilename}' />" title="<c:out
value='${attachBean.attachFilename}' />" border="0" />
</c:if>

error message:

74: tag = 'if' / attribute = 'test': An error occurred
while parsing custom action attribute "test" with
value
"${attachBean.attachMimeType.startsWith('image/')}":
Encountered "(", expected one of ["}", ".", ">", "gt",
"<", "lt", "==", "eq", "<=", "le", ">=", "ge", "!=",
"ne", "[", "+", "-", "*", "/", "div", "%", "mod",
"and", "&&", "or", "||"]





__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to