Hi, all: Does anybody know how we can dynamically name for xsp element?
Suppose that we have a xsp elelement like <xsp:element name="myname">blab, blab</xsp:element> I would like to know if there is a way to set the value of "myname" dynamically during the running time. Thanks for the nice help. Jack -----Original Message----- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 11:45 AM To: [EMAIL PROTECTED] Subject: Re: Absolute path of uri within xsp On 27.10.2003 11:41, Wilson, Colin wrote: > How can I find the absolute path of the requested uri within an xsp > sheet. I mean this is what I'd LIKE to do. > > <xsp:logic> > String uri = <xsp-request:get-uri as="string"/>; > File file=new File(uri); > </xsp:logic> > <xsp:expr>file.getAbsolutePath()</xsp:expr> I don't really understand your question. Isn't <xsp-request:get-uri as="string"/> already an absolute path? Joerg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
