RE: Setting content attributes

2001-12-14 Thread Siggelkow, Bill

link rel=StyleSheet
href=jsp:expressionrequest.getContext()/jsp:expression/stylesheet.css/


-Original Message-
From: Luke Studley [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 14, 2001 3:13 PM
To: struts-user
Subject: Setting content attributes



How do you set the values from scripting variables or the results of tag
library elements of attributes for output html tags when you are using XML
version of JSP?

E.g.
link rel=StyleSheet href=%= request.getContext %/stylesheet.css/

Simply puts the above string directly in the output (unsurprisingly - I was
getting desperate trying that). If I try to use jsp:expression instead the
page doesn't compile as the resulting fragment is not valid XML.

Apologies for the basic question - this is driving me nuts!!

Any pointers appreciated.

Luke





--
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]




RE: Setting content attributes

2001-12-14 Thread Luke Studley

No. I'd already tried that it doesn't work as it is not well formed XML and
so the JSP page does not parse let alone compile.

:(


-Original Message-
From: Siggelkow, Bill [mailto:[EMAIL PROTECTED]] 
Sent: 14 December 2001 20:43
To: 'Struts Users Mailing List'
Subject: RE: Setting content attributes

link rel=StyleSheet
href=jsp:expressionrequest.getContext()/jsp:expression/stylesheet.css/


-Original Message-
From: Luke Studley [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 14, 2001 3:13 PM
To: struts-user
Subject: Setting content attributes



How do you set the values from scripting variables or the results of tag
library elements of attributes for output html tags when you are using XML
version of JSP?

E.g.
link rel=StyleSheet href=%= request.getContext %/stylesheet.css/

Simply puts the above string directly in the output (unsurprisingly - I was
getting desperate trying that). If I try to use jsp:expression instead the
page doesn't compile as the resulting fragment is not valid XML.

Apologies for the basic question - this is driving me nuts!!

Any pointers appreciated.

Luke





--
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]

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