Re: Best practice for storing configuration data

2005-04-17 Thread Erik Weber
Related: http://www.mail-archive.com/user@struts.apache.org/msg24083.html Erik Simone - Dev wrote: Today I run into an dubt: is the way I always used to store application dependent configuration is correct? I use to store this kind of information in the we.xml file using like this one u

Re: Problems with Struts 1.2.4 - ActionMessage vs ActionError

2005-04-17 Thread Les Dunaway
Joe wrote"A common case here would be if you are returning a redirecting forward; in that case, the JSP would be drawn in response to a second HTTP request, and the saved errors would have been lost. " No, nothing special just the plain vanilla form-jsp setup. struts-config snips:

Re: getResources(HttpServletRequest) in ActionForm?

2005-04-17 Thread Michael J.
On 4/17/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > Michael J. wrote the following on 4/16/2005 2:24 PM: > > Action class defines getResources(HttpServletRequest) as follows: > > > > protected MessageResources getResources(HttpServletRequest request) { > > return ((MessageResources) request.get

Re: Keeping general and field specific error messages separate

2005-04-17 Thread Joe Germuska
At 7:13 PM +0100 4/17/05, David Easley wrote: My form uses the Struts validator. One of its fields is 'required' and I want the error message to show up alongside the field when the form is redisplayed. There may also be general errors and I want these to be listed at the top of the page. Problem i

Best practice for storing configuration data

2005-04-17 Thread Simone - Dev
Title: Messaggio Today I run into an dubt: is the way I always used to store application dependent configuration is correct?   I use to store this kind of information in the we.xml file using  like this one      uploadedFilePath   D:/Documenti/Progetti/jClubHouse/build/uploadedFiles/   Th

Keeping general and field specific error messages separate

2005-04-17 Thread David Easley
My form uses the Struts validator. One of its fields is 'required' and I want the error message to show up alongside the field when the form is redisplayed. There may also be general errors and I want these to be listed at the top of the page. Problem is, the field specific error (created by the v

Re: getResources(HttpServletRequest) in ActionForm?

2005-04-17 Thread Rick Reumann
Michael J. wrote the following on 4/16/2005 2:24 PM: Action class defines getResources(HttpServletRequest) as follows: protected MessageResources getResources(HttpServletRequest request) { return ((MessageResources) request.getAttribute(Globals.MESSAGES_KEY)); } I don't see why this method is no

Re: ssl-forwarding filter not working in IE 6

2005-04-17 Thread sudip shrestha
Actually, I fixed the code by adding encodeRedirectURL method. Strange thing is Firefox does not seem to care about proper url encoding, where as IE does. On 4/15/05, Sng Wee Jim <[EMAIL PROTECTED]> wrote: > > Try setting the following 2 response header > >response.setHeader("Pragma", "