You can't use tags as input to another tag's attribute. You can use scriptlets or expression language to provide dynamic attribute values.

David



From: Ginger Cheng <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: tag inside the attribute of another tag?
Date: Mon, 17 Feb 2003 17:20:21 -0500

Hello,
I am trying to use the <jsp:plugin> to include an applet in my jsp page. But I want the codebase of my applet and jar file to come from the result of <html:rewrite>. However, the interpretation stops at the slash right after 'page', saying that attribute has no value. But the slash has to be there for the root of the web application. Can anyone tell me what to do in this situation? Thank you. The following is that part of my jsp:

<jsp:plugin type="applet" code="PhredScorePlotApplet.class"
archive="bfograph.jar" jreversion="1.4.1" width="300" height="200"
codebase="<html:rewrite page="/chromatogram/graph" />" >
<jsp:params>
<jsp:param name="phredScoreString" value="13 18 27 27 29 29 29 39 39 40 46 46 46 46 48 39 32 32 32 27 24 24 23 25 26 33 39 34 34 34 34 37 40 56 46 51 51" />
</jsp:params>
<jsp:fallback>
Plugin tag OBJECT(IE) or EMBED(Netscape) not supported by browser.
</jsp:fallback>
</jsp:plugin>


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

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail


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

Reply via email to