RE: XSP create dynamic an element

2002-12-03 Thread Stephen Ng
Try something like:


imageDisplay


--Steve
> -Original Message-
> From: Cocoon User [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, December 03, 2002 6:42 AM
> To: [EMAIL PROTECTED]
> Subject: XSP create dynamic an element
> 
> 
> 
> i call an .xsp page like
> http://.../viewer.xsp?image=test.gif
> 
> i send the image file name
> but i dont know how to create an image element with dynamic 
> content for the src attribute
> 
> 
> i have the follow .xsp code
> 
> 
>   http://apache.org/xsp/xscript/1.0";
> xmlns:xsp="http://apache.org/xsp";>
> 
>   String imageDisplay = request.getParameter("image");
> 
> 
>   
> 
>   how can i create here an  element with src attribute the
> content of imageDisplay string variable?
> 
>   exaple  height="100"/>
> 
>   
> 
> 
> 
> 
> 
> thnx
> Stavros Kounis
> 
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 
> 

-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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




XSP create dynamic an element

2002-12-03 Thread Cocoon User

i call an .xsp page like
http://.../viewer.xsp?image=test.gif

i send the image file name
but i dont know how to create an image element with dynamic content for
the src attribute


i have the follow .xsp code


  http://apache.org/xsp/xscript/1.0";
xmlns:xsp="http://apache.org/xsp";>

String imageDisplay = request.getParameter("image");




how can i create here an  element with src attribute the
content of imageDisplay string variable?

exaple 







thnx
Stavros Kounis



-
Please check that your question  has not already been answered in the
FAQ before posting. 

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