Vadim,

Thanks. I got it to work this way in an xsp page:

<form method="post">
  <xsp:attribute name="action"><xsp:expr>
    response.encodeURL
      (String.valueOf(<xsp-session:get-attribute name="requrl"/>))
  </xsp:expr></xsp:attribute>
  <!-- other stuff -->
</form>

Tim

>>> [EMAIL PROTECTED] 09/18/02 02:32PM >>>
Timothy Larson wrote:

>Anybody know how to take a url in a session attribute and encode the session onto it?
>Non-working example to show what I am trying to do:
><xsp:encode-url><xsp-session:get-attribute name="fruit"/></xsp:encode-url>
>

You need <xsp-response:encode-url>

Vadim


>Tim
>  
>




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

Reply via email to