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
-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
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
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
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
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
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
?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
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
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
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
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
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
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
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
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}
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
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
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
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
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.
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
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/
24 matches
Mail list logo