Michael Engelhart wrote:

Actually my example of doing https://domain.com -> http://domain.com you can ignore. I remember that this is almost impossible to do with Webware and servlets. I had some funky workaround code I used in Java that allowed me to handle this so I was thinking that I had it working and can't seem to ever remember that I came up with that helper class to do the same functionality...

But I'd still love to have forward() working as Luke mentioned.


cheers
Mike
Have you tried the Patch that Luke submitted? Does that work for your situation? As time permits, I am working on a solution that integrates that functionality but also works with the absolute paths used with psp-handler and the adapter relative paths used by WebKit.

Is it correct to assume that to do what you want, you also need a way to change contexts in the forward? Or do you expect to do everything in the same context?

-Stuart-


Begin forwarded message:

From: Michael Engelhart <[EMAIL PROTECTED]>
Date: Mon Jan 13, 2003  9:04:59  AM US/Eastern
To: "Webware-Devel (E-mail)" <[EMAIL PROTECTED]>
Subject: Re: [Webware-devel] love hate relationships =)


Part of the reason why I dont use an external redirect, is so I can pass data
from one servlet to another on a per request basis. For example... passing
error information from my login action to the login page.

This is a huge thing for me also. I'm not sure if it's only pertinent for Java Servlet refugees or not but with Java this is a VERY common way of working. I also find it a very elegant solution to passing temporary data around and it greatly simplifies the MVC architechture.

Another problem I have is that forward() doesn't do something (which I did with Secure sessions) like forward from
https://domain.com/Login.py
to
http://domain.com/SuccessfulLogin.py

which I do in almost every web application I build that only needs username/password encryption.

Of course you can redirect but you can't stuff a "Welcome message" or any other data into the request before forwarding it to the non-SSL page.

anyway, I'd really, really like to see forward() fixed or working better. Not sure what I can do to help but if there are a list of specific "issues" as to why this doesn't work I'd love to see them.

thanks
Mike
On Sunday, January 12, 2003, at 11:26 PM, Luke Holden (by way of Luke Holden <[EMAIL PROTECTED]>) wrote:



-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel





-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to