struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Earl <ste...@Infogain.co.uk>
Subject RE: Implement HTTP and HTTPS in a safe, flexible, and easily main tainable manner
Date Mon, 25 Feb 2002 18:03:11 GMT
Michael,

I had the same problem today. You'll need to change the RequestUtils source
so that
instead of building a map directly from the params you need to get an enum
of the 
parameters and iterate through that, building up a map as you go along.
Rebuild the 
jar and it works fine.

hope this helps
steve

__________________________________ 
Steve Earl

InfoGain Limited, 23-25 Marlow Road, Maidenhead, Berkshire SL6 7AA, UK
email: stevee@infogain.co.uk
Tel: +44 (0)1628 580 600 
Fax: +44 (0)1628 580 610
Mobile: +44 (0)779 026 3645

Disclaimer:  Neither this e-mail nor any attachment places any legal or
contractual obligations on InfoGain Limited. Any reproduction, disclosure or
dissemination beyond the intended addressees is strictly prohibited save for
the legitimate business purposes of InfoGain Limited and its clients or
partners.
__________________________________ 


-----Original Message-----
From: Michael Mok [mailto:michaelm@consultech.net.au]
Sent: Monday, February 25, 2002 3:25 AM
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:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message