As I wrote before:

>If all you were trying to do is execute some arbitrary java code before you do a 
>redirect, then an XSP page is not the thing to use.


It sounds like that is all you are trying to do.  You are not trying to generate XML 
content for a pipeline to process and serialize.

So use an Action.  I gave details on how to do this - and do the redirect - in my 
previous e-mail.


DR


At 11:19 AM 12/19/01 -0500, you wrote:

>1. I have a login page which posts to my xsp page.
>2. In the xsp page i reference a class which references 
>    Some DB and initializes my object. 
>3. If valid i place the object in the session.
>4. If invalid no session is given
>5. Then i redirect to the approprite page.
>
>In my old cocoon 1 and tomcat 3 set up this worked fine but 
>i am new to cocoon2.
>
>------------------------------------------------------------------------
>//////|  Dwayne A. Kemp     ////////                                   |
>////////| [EMAIL PROTECTED] ////   "if the gospel be hid it is hid  |
>//////////| 732 932 3938    //////       to those that are lost"       |
>////////////| Programmer  ///////                                      | 
>_______________________________________________________________________|
>
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.html>

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

Reply via email to