Re: xsp without stylesheet?

2001-12-19 Thread Wouter Scheele
hi, to my knowledge you have access in an xsp page to a response object. this response object has a method setHeader(String name, String value) you can use this method to send a Location header with the redirect url. i think this will provide you with the needed behaviour. HTH, wouter > > I am

Re: xsp without stylesheet?

2001-12-19 Thread David Rosenstrauch
Actions have access to the HTTP request, and therefore the request parms. Put the following code in: import org.apache.cocoon.environment.Redirector; import org.apache.cocoon.environment.SourceResolver; import java.util.Map; import org.apache.avalon.framework.parameters.Parameters; import org.a

Re: xsp without stylesheet?

2001-12-19 Thread Dwayne Kemp
Ok thanks ill try that. Now for the variables that are passed from the login how would i include this in my action? //| Dwayne A. Kemp | | [EMAIL PROTECTED]

Re: xsp without stylesheet?

2001-12-19 Thread David Rosenstrauch
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 u

Re: xsp without stylesheet?

2001-12-19 Thread Dwayne Kemp
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 to

Re: xsp without stylesheet?

2001-12-19 Thread David Rosenstrauch
Can you clarify what you're trying to do? Are you trying to execute some java code and then redirect to a new url? If so, then why not try this: ... If all you were trying to do is execute some arbitrary java code before you do a redirect, then an XSP page is not th

Re: xsp without stylesheet?

2001-12-19 Thread Dwayne Kemp
I am using netscape 4.7 to view. When I use the serialize as xml the I get the option to download the file which is what i dont want i want the xsp page to execute and redirect me to an html page based on some conditional statements in the file.

Re: xsp without stylesheet?

2001-12-19 Thread Martijn Bouterse
Dwayne Kemp wrote: > > I need to execute an xsp page without a stylesheet. this file is used for > redirecting the client to a particular page > > i tried > > > > > > > and > > > > > > > and the browser throws document contained no data. > how do i tel

xsp without stylesheet?

2001-12-18 Thread Dwayne Kemp
I need to execute an xsp page without a stylesheet. this file is used for redirecting the client to a particular page i tried and and the browser throws document contained no data. how do i tell cocoon to process this file without the stylesheet?

Re: xsp without stylesheet

2001-12-18 Thread Martijn Bouterse
Dwayne Kemp wrote: > > I have an xsp page that i am using for verification and page > redirect. Could any one tell me how to set this up in the sitemap.xmap > file. > > I have this > > > > > > and the browser throws file contained no data. You have a generator, dont

RE: xsp without stylesheet

2001-12-18 Thread DURDINA Michal
Try this... -Original Message- From: Dwayne Kemp [mailto:[EMAIL PROTECTED]] Sent: Monday, December 17, 2001 9:56 PM To: [EMAIL PROTECTED] Subject: xsp without stylesheet I have an xsp page that i am using for verification and page redirect. Could

xsp without stylesheet

2001-12-17 Thread Dwayne Kemp
I have an xsp page that i am using for verification and page redirect. Could any one tell me how to set this up in the sitemap.xmap file. I have this and the browser throws file contained no data. ---