You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Dua, Amit" <AD...@wellington.com> on 2002/02/25 19:34:55 UTC
tag
Is there a way of comparing two session variables using struts logic tag.
Or
we can only compare variables with constants
Amit
-----Original Message-----
From: Ditlinger, Steve [mailto:SDitlinger@ebuilt.com]
Sent: Monday, February 25, 2002 1:27 PM
To: 'michaelm@consultech.net.au'; 'Struts Users Mailing List'
Subject: RE: Implement HTTP and HTTPS in a safe, flexible, and easily
main tainable manner
Yes, it is. Can you upgrade? If not, you should be able to write your own
utility that takes a Request and creates a HashMap instance containing any
parameters found on it.
Steve
-----Original Message-----
From: Michael Mok [mailto:michaelm@consultech.net.au]
Sent: Sunday, February 24, 2002 7:25 PM
To: 'Struts Users Mailing List'
Cc: SDitlinger@ebuilt.com
Subject: RE: Implement HTTP and HTTPS in a safe, flexible, and easily
maintainable manner
Steve
I tried to compile your SecureRequestUtils code using servlet 2.1 and the
compiler says that "aRequest.getParameterMap()" does not exist.
Is your servletUtil based on Servlet 2.3?
Regards
Michael Mok
/**
* Creates query String from request body parameters
*/
public static String getRequestParameters( HttpServletRequest
aRequest ){
Map m = aRequest.getParameterMap();
return createQueryStringFromMap(m, "&").toString();
}
-----Original Message-----
From: Ditlinger, Steve [mailto:SDitlinger@ebuilt.com]
Sent: Monday, 25 February 2002 9:30
To: 'Niall Pemberton'; struts-user; struts-dev
Subject: RE: Implement HTTP and HTTPS in a safe, flexible, and easily
maintainable manner
Hey, thanks for the publicity.
We've created a Struts extension based on this article. Find it at
http://struts.ditlinger.com.
Try it out, let us know what you think.
Steve
-----Original Message-----
From: Niall Pemberton [mailto:niall.pemberton@btInternet.com]
Sent: Thursday, February 21, 2002 12:24 PM
To: struts-user; struts-dev
Subject: Implement HTTP and HTTPS in a safe, flexible, and easily
maintainable manner
This gives an example of how to integrate SSL into a Web App, using Struts
as an example.
http://www.javaworld.com/javaworld/jw-02-2002/jw-0215-ssl.html
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: tag
Posted by Martin Fekete <fe...@zoznam.sk>.
try something like this ...
<bean:define id="newId" name="yourSessionBean"
property="yourSessionBeanProperty" />
<logic:equal name="beanToCompare" property="propertyOfBeanToCompare"
value="<%= newId %>">
....
Feky
----- Original Message -----
From: "Dua, Amit" <AD...@wellington.com>
To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>
Sent: Monday, February 25, 2002 7:34 PM
Subject: <logic.equal> tag
> Is there a way of comparing two session variables using struts logic tag.
> Or
> we can only compare variables with constants
>
> Amit
>
> -----Original Message-----
> From: Ditlinger, Steve [mailto:SDitlinger@ebuilt.com]
> Sent: Monday, February 25, 2002 1:27 PM
> To: 'michaelm@consultech.net.au'; 'Struts Users Mailing List'
> Subject: RE: Implement HTTP and HTTPS in a safe, flexible, and easily
> main tainable manner
>
>
>
>
> Yes, it is. Can you upgrade? If not, you should be able to write your
own
> utility that takes a Request and creates a HashMap instance containing any
> parameters found on it.
>
> Steve
>
> -----Original Message-----
> From: Michael Mok [mailto:michaelm@consultech.net.au]
> Sent: Sunday, February 24, 2002 7:25 PM
> To: 'Struts Users Mailing List'
> Cc: SDitlinger@ebuilt.com
> Subject: RE: Implement HTTP and HTTPS in a safe, flexible, and easily
> maintainable manner
>
>
> Steve
>
> I tried to compile your SecureRequestUtils code using servlet 2.1 and the
> compiler says that "aRequest.getParameterMap()" does not exist.
>
> Is your servletUtil based on Servlet 2.3?
>
> Regards
>
> Michael Mok
>
> /**
> * Creates query String from request body parameters
> */
> public static String getRequestParameters( HttpServletRequest
> aRequest ){
> Map m = aRequest.getParameterMap();
> return createQueryStringFromMap(m, "&").toString();
> }
>
> -----Original Message-----
> From: Ditlinger, Steve [mailto:SDitlinger@ebuilt.com]
> Sent: Monday, 25 February 2002 9:30
> To: 'Niall Pemberton'; struts-user; struts-dev
> Subject: RE: Implement HTTP and HTTPS in a safe, flexible, and easily
> maintainable manner
>
>
>
> Hey, thanks for the publicity.
>
> We've created a Struts extension based on this article. Find it at
> http://struts.ditlinger.com.
>
> Try it out, let us know what you think.
>
> Steve
>
> -----Original Message-----
> From: Niall Pemberton [mailto:niall.pemberton@btInternet.com]
> Sent: Thursday, February 21, 2002 12:24 PM
> To: struts-user; struts-dev
> Subject: Implement HTTP and HTTPS in a safe, flexible, and easily
> maintainable manner
>
>
> This gives an example of how to integrate SSL into a Web App, using Struts
> as an example.
>
>
> http://www.javaworld.com/javaworld/jw-02-2002/jw-0215-ssl.html
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>