RE: Extending html tag: how to do it?

2004-05-08 Thread Martin Alley
Bean:write has a filter parameter: "If this attribute is set to true, the rendered property value will be filtered for characters that are sensitive in HTML, and any such characters will be replaced by their entity equivalents. " -Original Message- From: Simone - Dev [mailto:[EMAIL PROTECT

How to get http and https port # from struts-config in filter?

2004-05-08 Thread Martin Alley
Hi, I have a servlet filter to handle session timeouts. This filter needs to redirect to an http page so that the new session works in both http and https, so a forward is no good as the old session may have timed out on an https page. I'm using the sslext struts plugin which is configured with

RE: How to get http and https port # from struts-config in filter?

2004-05-08 Thread Martin Alley
i request.getScheme() On 8 May 2004, at 18:35, Martin Alley wrote: > Hi, > > I have a servlet filter to handle session timeouts. > > This filter needs to redirect to an http page so that the new session > works in both http and https, so a forward is no good as the old > sess

RE: How does ActionForm data pass through container called form based login page?

2004-03-27 Thread Martin Alley
FYI... I've done a simple test with no struts involved, and the post data still fails to pass through ok. It's basicly 3 files Index.html links to form.html Form.html posts to process.jsp Both form.html and process.jsp are protected, though interestingly the login page only comes up when submitt

Referer http header not set for struts redirects

2004-05-10 Thread Martin Alley
Hi, It would appear the http redirect header is not set when struts does a redirect as dictated by a forward element with redirect attribute true. Can someone comment on this? Thanks Martin

Referer http header not set for struts redirects

2004-05-09 Thread Martin Alley
Hi, It would appear the http redirect header is not set when struts does a redirect as dictated by a forward element with redirect attribute true. Is this a quirk of struts, or standard behaviour for http redirects? Thanks Martin ---

RE: How to get http and https port # from struts-config in filter?

2004-05-09 Thread Martin Alley
() The 2.4 servlet spec has some other methods to do the same thing. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/servletapi/javax/ servlet/ServletRequest.html On 9 May 2004, at 08:36, Martin Alley wrote: > That doesn't look appropriate. > > If the session times out on an https r