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

2004-05-08 Thread Martin Alley
That doesn't look appropriate. If the session times out on an https request, I want to redirect to http, and need to know the http port number (it's not necessarily the default 80). According to the docs, request.getScheme() "Returns the name of the scheme used to make this request, for example,

Re: Extending html tag: how to do it?

2004-05-08 Thread Niall Pemberton
You can also do the same with the JSTL tag using the escapeXML attribute (default true) Niall - Original Message - From: "Simone - Dev" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Saturday, May 08, 2004 5:34 PM Subject: R: Extending html tag: h

Re: upgrading to jstl

2004-05-08 Thread Niall Pemberton
You can either plug JSTL in if you are using a Version 2.3 servlet container (e.g. Tomcat 4) or you can use a Version 2.4 Servlet Container which comes with it (e.g. Tomcat 5) If you need to plug it in, download JSTL version 1 from Jakarta Taglibs - installation instructions included. If you want

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

2004-05-08 Thread Mark Lowe
The api you want would be the servlet api 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

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

R: Extending html tag: how to do it?

2004-05-08 Thread Simone - Dev
OK, thank you... True is the defualt value for "filter", so I've to set it to false if I want the "raw" data. Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic "Life is short, play hard" > -Messaggio

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

RE: Multiple action for one (1) form

2004-05-08 Thread Murali Ravipudi
>What is the best way to define different actions for the same form with >struts? I did something like this: == == In jsp, Add User Edit User Delete User == In action.execute() {

R: Extending html tag: how to do it?

2004-05-08 Thread Simone - Dev
I cannot use the bean:write or the c:out because it espcapes html chars and then I'll see ciao instead of a bold ciao inside the editor Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic "Life is short, play