RE: InvalidPathException processing form

2010-02-21 Thread Jim Kennedy
like causes issues with struts. And, Yes, the 2nd version of the link tag is correct because I am not deploying off the root. Anyone know why this could happen. thanks -Original Message- From: Jim Kennedy [mailto:jgkenn...@mindspring.com] Sent: Sunday, February 21, 2010 6:37 PM To: &#

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

Struts 1.1 EL error moving to Servlet 2.4

2010-01-12 Thread Jim Kennedy
nd JSP 1.2 The new version runs under Servlet 2.4, JSTL 1.1 and JSP 2.0 Any advice would be great. I'm hoping not to have to change my struts libs as I am concerned about moving from 1.1 to 1.3. Thanks 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: So Urls will take the form of http://host/search.go?str=blabla&parm=bla2 I would like to alter the URL to include path_info like this: http://host/search.go/test/test2

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 ActionSer

Using a struts action as a welcome-file

2005-09-04 Thread Jim Kennedy
t; brings back volumes in info. Thanks Jim Kennedy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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 ne

Re: integration between sslext and servlet auth

2005-08-01 Thread Jim Kennedy
ervlet auth 2005/7/29, Jim Kennedy <[EMAIL PROTECTED]>: > I had to do this to make it work. sorry, but it doesn't work, or better, it doesn't work for me . The problem is that when I try to access a protected resource the browser's request is redirected to the root of the app

Re: integration between sslext and servlet auth

2005-07-29 Thread Jim Kennedy
CONFIDENTIAL FORM /login.jsp /login.jsp?error=1 Not exactly obvious, but documented. Jim Kennedy

Re: Reading value from HashMap via JSTL

2005-06-07 Thread Jim Kennedy
Here's how I do it: This example has the 50 US states stored in a map. state is a variable store in some scope. -Original Message- From: Grzegorz Stasica <[EMAIL PROTECTED]> Sent: Jun 7, 2005 2:46 PM To: user@struts.apache.org Subject: Reading value from HashMap via JSTL hi, I've a pa

Re: message-resources question

2005-02-24 Thread Jim Kennedy
Here's some code: MessageResources messages =MessageResources.getMessageResources("messages"); String message = messages.getMessage(msg_key, args); Here's my struts.xml: . -Original Message- From: Scott Purcell <

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: -Original Message- From: Brian McGovern <[EMAIL PROTECTED]> Sent: Feb 24, 2005 3:19 PM

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 reques

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 Subject: Calling a datasource In my server config file I have a

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: Tr

RE: Trouble with SSL and struts using sslext

2004-07-22 Thread Jim Kennedy
cessor. I do I change 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

RE: Trouble with SSL and struts using sslext

2004-07-22 Thread Jim Kennedy
EMAIL 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 &

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) Also

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

2004-06-24 Thread Jim Kennedy
ginal 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 inde

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

2004-06-24 Thread Jim Kennedy
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 form (index=tru

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 [a-zA

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: Here's the Struts config:

RE: Dynamically sized form using dynavalidator

2004-05-27 Thread Jim Kennedy
not item.. so if you are going to use JSTL (and not the nested tag > which is actually easier) it would be something like... > > > > value="${item.unitPrice}" /> > > > > > > Using the nested tag it would be: > > > > &

RE: Dynamically sized form using dynavalidator

2004-05-26 Thread Jim Kennedy
...) -Original Message- From: Jim Kennedy [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 26, 2004 6:52 PM To: 'Struts Users Mailing List' Subject: Dynamically sized form using dynavalidator I have defined a form that will grow dynamically at runtime. The problem I'm having is that the

Dynamically sized form using dynavalidator

2004-05-26 Thread Jim Kennedy
I have defined a form that will grow dynamically at runtime. The problem I'm having is that the values entered in the form do not save. The form pre-populated just fine. I have an action that delivers the form and another action that processes the form. Here's the strutsconfig:

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

RE: Problem with html:multibox not clearing

2004-03-30 Thread Jim Kennedy
their initial values. If you declare your initial value as an empty array (as above), then if nothing is checked, the array will be empty. If something is checked, it will be populated by the values in the request. Give it a try. robert > -Original Message----- > From: Jim Kenned

RE: Problem with html:multibox not clearing

2004-03-30 Thread Jim Kennedy
ify it, so it will always remain checked. This ensures that the browser will always send back the checkbox list, even if all the checkboxes that the user can see are cleared. Wiebe http://frontierj.blogspot.com -Original Message- From: Jim Kennedy [mailto:[EMAIL PROTECTED] Sent: Tuesday, M

Problem with html:multibox not clearing

2004-03-30 Thread Jim Kennedy
re's some of my code: ... ...    Don't think the above is the issue. It's something deeper I think. Any help is appr

Multiple page form with validation

2004-03-29 Thread Jim Kennedy
I'm using struts 1.1 with the standard Validation stuff (see below) I have a multi-page form (random access tabbed interface) and I would like to do the correct validation on the correct form (tab). There are 3 related jsp pages. Formtab1.jsp, formtab2.jsp and formtab2.j

Multiple page wizard with validation

2004-03-29 Thread Jim Kennedy
I'm using struts 1.1 with the standard Validation stuff (see below) I have a multi-page form (random access tabbed interface) and I would like to do the correct validation on the correct form (tab). There are 3 related jsp pages. Formtab1.jsp, formtab2.jsp and formtab2