Strange Security Problem

2003-10-18 Thread Rustad, Aaron
I am encountering a strange security problem when trying to submit a form to an action. This JSP is as follows: %= request.getUserPrincipal().getName() % form action=/edm/ebb/upload.do method=POST table width=75% border=1 tr tdbean:message key=upload.from//td tdinput type=text

RE: Strange Security Problem

2003-10-18 Thread Rustad, Aaron
' Subject: RE: Strange Security Problem If you want the user name stored in the request (bad idea) it must be sent in the form using a hidden field. You should store it in the session. Only submitted form fields will be in the request. -Mensaje original- De: Rustad, Aaron [mailto

RE: Strange Security Problem

2003-10-18 Thread Rustad, Aaron
The real question is why would the principal be made available to the Action class when a GET request is issued, but not when POST is used. AR. -Original Message- From: Rustad, Aaron Sent: October 18, 2003 9:40 AM To: '[EMAIL PROTECTED]' Subject: Strange Security Problem I am

RE: Strange Security Problem

2003-10-18 Thread Rustad, Aaron
would return a valid object, POST returned NULL. Thanks for your help (if you intended to help)!~ AR. -Original Message- From: Rustad, Aaron Sent: October 18, 2003 9:40 AM To: '[EMAIL PROTECTED]' Subject: Strange Security Problem I am encountering a strange security problem when trying

Upload a multipart post file to an action, but have a servlet pro cess it?

2003-10-17 Thread Rustad, Aaron
I have a Servlet that accepts a multipart/form-data POST request and extracts the file from it using the commons FileUpload API. I wrote this servlet to allow automated clients to upload data files to my server. Now, I have a requirement to allow users to manually upload files via a web page. To

RE: Is html:html locale attribute needed for internationalisation?

2002-03-01 Thread Rustad, Aaron
You don't absolutely need it, but it may help in some instances of internationalizationread the synopsis at: http://www.w3.org/TR/html4/struct/dirlang.html#adef-lang It list where you might need to use something like that. Aaron. -Original Message- From: [EMAIL PROTECTED]

Tutorial for implementing i18n

2002-02-28 Thread Rustad, Aaron
I have posted a simple step by step tutorial of getting internationalization working with Struts. You can find it here: http://www.anassina.com/struts/i18n/i18n.html I welcome any comments, as I intend on improving it where necessary. Thanks! Aaron. --- i18n

RE: i18n - Escape Codes....

2002-02-25 Thread Rustad, Aaron
Mailing List Subject: RE: i18n - Escape Codes -Original Message- From: Rustad, Aaron [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 24, 2002 4:01 AM To: '[EMAIL PROTECTED]' Subject: i18n - Escape Codes I am trying i18n my application by adding

RE: i18n - Escape Codes....

2002-02-25 Thread Rustad, Aaron
: Rustad, Aaron [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 11:16 AM To: 'Struts Users Mailing List' Subject: RE: i18n - Escape Codes I know of this site...unfortunatly, it seems to freeze half was down, is there any other mirrors of this information (the tripod link

i18n - Escape Codes....

2002-02-24 Thread Rustad, Aaron
I am trying i18n my application by adding a Resources_ru.properties, and it seems to work. However, I can not get the Unicode characters to work correctly. I have looked at HP's example, and they use unicode escapes for their messagesis there an easy way to convert Strings to Unicode

i18n and bean:write

2002-02-24 Thread Rustad, Aaron
I have a logon page that is internationalized and working correctly. I did this by changing the html header information to work with UTF-8 and I set the @ page contentType to work with utf-8 and I put in a html:html locale=true as well. Now my Russian characters are displayed as expected.

RE: Multiple Forms on one JSP...

2002-02-07 Thread Rustad, Aaron
others to look with your charming responses. Good luck debugging your code. - Original Message - From: Rustad, Aaron Sent: Wednesday, February 06, 2002 8:22 PM To: 'Struts user ' Subject: RE: Multiple Forms on one JSP... Alright, this is not what I want. I have ONE JSP, it contains TWO

Multiple Forms on one JSP...

2002-02-06 Thread Rustad, Aaron
I seem to be running into a bit of a problem with one of my JSP pages that has two forms on it. Only one Form is being instantiated for it. I am sure you should be able to have multiple forms. Here is an example of my JSP: html:form action=/searchFood table width=224 border=0 **

RE: Multiple Forms on one JSP...

2002-02-06 Thread Rustad, Aaron
to be current with CVS. Thanks, Steve Wilkinson From: Rustad, Aaron [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Multiple Forms on one JSP... Date: Wed, 6 Feb 2002 13:15:53 -0700 I seem to be running into a bit

RE: Multiple Forms on one JSP...

2002-02-06 Thread Rustad, Aaron
there as a resource to learn from. I've updated the code to work off CVS, but it's not been posted to the web site yet. Steve - Original Message - From: Rustad, Aaron Sent: Wednesday, February 06, 2002 4:22 PM To: 'Struts Users Mailing List' Subject: RE: Multiple Forms on one JSP... Yes, I know