In JSTL, '+' is a numeric operator only. However, this will do what you
want:

<c:import url="${viewPath}${assetForm.filename}"/>

--
Martin Cooper


----- Original Message -----
From: "Matt Raible" <[EMAIL PROTECTED]>
To: "'Tag Libraries Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, April 24, 2002 6:41 PM
Subject: Can't concatenate 2 strings together


> This seems like it should work:
>
> <c:import url="${viewPath + assetForm.filename}"/>
>
> However, I'm getting the following error - any ideas?
>
> [ServletException in:/viewer/coursePage.jsp] Attempt to apply operator
> "+" to arguments of type "java.lang.String" and "java.lang.String"'
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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

Reply via email to