InvalidPathException processing form

2010-02-21 Thread Jim Kennedy
I have a fairly simple form at this point and I am getting the above referenced exception when validation fails. Full exception is at the bottom of this email. When my servlet-mapping is set to /run/* I get this exception in my logs, but application seems to work. If I change my servlet-mapping

RE: InvalidPathException processing form

2010-02-21 Thread Jim Kennedy
-Original Message- From: Jim Kennedy [mailto:jgkenn...@mindspring.com] Sent: Sunday, February 21, 2010 6:37 PM To: 'Struts Users Mailing List' Subject: InvalidPathException processing form I have a fairly simple form at this point and I am getting the above referenced exception when validation fails

Struts 1.1 EL error moving to Servlet 2.4

2010-01-12 Thread Jim Kennedy
Jim Kennedy

accessing path_info

2008-03-11 Thread Jim Kennedy
I am using a jboss/tomcat/struts 1.1 combination on a windows server. I have an action definition defined like so: action path=/search type=com.je.struts.action.SearchAction scope=session name=SearchForm input=/tmpl_gnmain.jsp?body=/results.jsp

RE: Using a struts action as a welcome-file

2005-09-06 Thread Jim Kennedy
Jim Kennedy wrote: I'm trying to use a struts action as my only welcome-file in web.xml. I assumed this to be straightforward, but apparently it does not seem to be. Index.jsp works and index.html works, but not something like (index.xyz) where xyz is mapped to ActionServlet. Here's a snippet

Using a struts action as a welcome-file

2005-09-04 Thread Jim Kennedy
it is an initialization problem of some kind. Also I would imagine others have asked this very same question. Difficult to search google because anything with welcome-file brings back volumes in info. Thanks Jim Kennedy - To unsubscribe, e

File serving servlet

2005-08-09 Thread Jim Kennedy
Can anyone give me the name of the source file that handles the serving of static content for Tomcat. I have a need to duplicate this function for alternate locations and want to make sure I cover all bases in terms of security, http headers ... FYI I just downloaded all source files and just

Re: integration between sslext and servlet auth

2005-08-01 Thread Jim Kennedy
the ROOT them play around with the placement. -Original Message- From: Tremal Nailk [EMAIL PROTECTED] Sent: Aug 1, 2005 7:06 AM To: Struts Users Mailing List user@struts.apache.org Subject: Re: integration between sslext and servlet auth 2005/7/29, Jim Kennedy [EMAIL PROTECTED]: I had to do

Re: integration between sslext and servlet auth

2005-07-29 Thread Jim Kennedy
?error=1/form-error-page /form-login-config /login-config Not exactly obvious, but documented. Jim Kennedy -Original Message- From: Tremal Nailk [EMAIL PROTECTED] Sent: Jul 29, 2005 12:01 PM To: user@struts.apache.org Subject: integration between sslext and servlet

Re: How to handle Dates?

2005-02-24 Thread Jim Kennedy
I use Struts throughout my application, but I also use the JSTL in a few places. This is what I use for date formatting: [EMAIL PROTECTED] uri=/WEB-INF/fmt.tld prefix=fmt % Date Available: brbfmt:formatDate value='${prop.availableDate}' / -Original Message- From: Brian McGovern

Re: Best way to substitute vars in message resources

2005-02-18 Thread Jim Kennedy
Yes, the {0} {1} {n} construct will work. The ActionMessage class has an overloaded constructor to handle the substitution. http://struts.apache.org/api/org/apache/struts/action/ActionMessage.html I use this all over the place - works great. Make sure you save the messages to the request

Re: Calling a datasource

2005-02-16 Thread Jim Kennedy
There is a standard way to do this Brian, but this is not a Struts question. This is a Struts only list. -Original Message- From: Brian McGovern [EMAIL PROTECTED] Sent: Feb 16, 2005 9:23 AM To: Struts Users Mailing List user@struts.apache.org Subject: Calling a datasource In my server

Trouble with SSL and struts using sslext

2004-07-22 Thread Jim Kennedy
I can't seem to get any of my action to go under https. The config seems fairly simple but I must be missing something. I want some pages to be under SSL and others not to. Here is my config: Struts-config.xml (snippet only) !-- == Action Mapping Definitions

RE: Trouble with SSL and struts using sslext

2004-07-22 Thread Jim Kennedy
PROTECTED] Subject: RE: Trouble with SSL and struts using sslext -Original Message- From: Jim Kennedy [mailto:[EMAIL PROTECTED] Sent: Thursday, July 22, 2004 12:50 PM To: 'Struts Users Mailing List' Subject: Trouble with SSL and struts using sslext I can't seem to get any of my

RE: Trouble with SSL and struts using sslext

2004-07-22 Thread Jim Kennedy
this class to use the correct one for the sslext technique. -Original Message- From: Jim Kennedy [mailto:[EMAIL PROTECTED] Sent: Thursday, July 22, 2004 4:01 PM To: 'Struts Users Mailing List' Subject: RE: Trouble with SSL and struts using sslext I've made no changes to my web.xml

RE: Trouble with SSL and struts using sslext

2004-07-22 Thread Jim Kennedy
What causes the framework to use the SecureRequestProcessor. Do I have to set an init-param in web.xml for the ActionServlet ? -Original Message- From: Jim Kennedy [mailto:[EMAIL PROTECTED] Sent: Thursday, July 22, 2004 4:47 PM To: 'Struts Users Mailing List' Subject: RE: Trouble

Trouble rendering a dynamic form (index=true) with html-el:file

2004-06-24 Thread Jim Kennedy
I'm trying to upload a set of files using an indexed multipart form. Here's the JSP code: html-el:form action=/owner/saveimages.exe method=post enctype=multipart/form-data logic-el:iterate id=imageFiles collection=${imageUploadForm.map.imageFiles}

RE: Validation Mask help please

2004-06-24 Thread Jim Kennedy
When you only want one (1) of something follow with a question mark ? i.e. [A-Za-z]? OK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 3:34 PM To: [EMAIL PROTECTED] Subject: RE: Validation Mask help please try something like

RE: Trouble rendering a dynamic form (index=true) with html-el:file

2004-06-24 Thread Jim Kennedy
using a DynaValidatorForm to define the org.apache.struts.upload.FormFile. Works fine without the indexed=true attribute. -Original Message- From: Jim Kennedy [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 4:36 PM To: 'Struts Users Mailing List' Subject: Trouble rendering a dynamic

RE: Trouble rendering a dynamic form (index=true) with html-el:file

2004-06-24 Thread Jim Kennedy
Message- From: Jim Kennedy [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 5:32 PM To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: RE: Trouble rendering a dynamic form (index=true) with html-el:file If it's a classcastexception, does that mean when indexed=true we can only

RE: Dynamically sized form using dynavalidator

2004-05-27 Thread Jim Kennedy
be: nested:iterate property=cartitems nested:text property=unitPrice / nested:text property=quantity / /nested:iterate Jim Kennedy wrote: Just to clarify something. My expectation is that I can generate a form that can grow (row-wise) at runtime and change/modify values

Using ActionMessages in the session

2004-05-25 Thread Jim Kennedy
I am using struts 1.1 and have implemented ActionMessages inside some generalized user-response pages. The problem I'm having is that these messages are not visible when I redirect from my controller action. I'm sure this is because saveMessages only saves the ActionMessages in request-scope.

Declarative Exception handling in JSP's

2004-04-24 Thread Jim Kennedy
I have the struts declarative exception handling system working fine. However, it does not seem to catch JSPExceptions that occur in JSP's (i.e. org.apache.jasper.JasperException). I there a way to do this other than the built-in java spec way using isErrorPage=true page directive. I admit JSP

Multiple page wizard with validation

2004-03-29 Thread Jim Kennedy
I'm using struts 1.1 with the standard Validation stuff (see below) plug-in className=org.apache.struts.validator.ValidatorPlugIn set-property property=pathnames value=/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml/