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:
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
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
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
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
t; brings back volumes in info.
Thanks
Jim Kennedy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
CONFIDENTIAL
FORM
/login.jsp
/login.jsp?error=1
Not exactly obvious, but documented.
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
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 <
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
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
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
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
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
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
&
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
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
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
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
I'm trying to upload a set of files using an indexed multipart form.
Here's the JSP code:
Here's the Struts config:
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:
>
>
>
>
&
...)
-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
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:
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
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
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
re's some of my code:
...
...
Don't think the above is the issue. It's something deeper I think.
Any help is appr
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
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
32 matches
Mail list logo