You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ginger Cheng <ze...@mail.mcgill.ca> on 2003/02/17 23:20:21 UTC

tag inside the attribute of another tag?

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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org