I believe that your problem is that the field names are the same as your label
names and with the validator both are in the stack. ${getText(user.password)}
is first evaluating user.password and finding the field value "1234". getText
is then trying to locate an entry for "1234" and cannot find
If you can display it with ${ param.blocSource }, did you try
#attr.param.blocSource?
-Original Message-
From: poof65 [mailto:poo...@gmail.com]
Sent: Thursday, March 25, 2010 6:01 AM
To: user@struts.apache.org
Subject: [Struts2] Retrieve parameter scope variables with OGNL
Hi,
i'm us
Check your filter order. I cannot recall if it is the filters are chained by
the filter declaration order of the filter mapping order.
-Original Message-
From: Lance Hill [mailto:la...@baldhead.com]
Sent: Wednesday, March 17, 2010 12:08 PM
To: 'Struts Users Mailing List'; lukasz.len...@
Try:
SecurityContextHolder.getContext().getAuthentication().getPrincipal()
-Original Message-
From: Lance Hill [mailto:la...@baldhead.com]
Sent: Tuesday, March 16, 2010 5:15 PM
To: 'Struts Users Mailing List'
Subject: Getting the authenticated user from Spring Security for use in an
Act
d from?
Thanks,
Ken
-Original Message-----
From: Hoying, Ken [mailto:ken_hoy...@premierinc.com]
Sent: Thursday, February 18, 2010 1:25 PM
To: Struts Users Mailing List
Subject: RE: [Q] executeScripts
As a followup, the problem does not seem to be with the script tag being there
but the ja
rror that is getting swallowed
and as a result is stopping other code from running.
-Original Message-----
From: Hoying, Ken [mailto:ken_hoy...@premierinc.com]
Sent: Thursday, February 18, 2010 1:06 PM
To: Struts Users Mailing List
Subject: [Q] executeScripts
I have a tabbed panel that contains a
I have a tabbed panel that contains a div which loads its content via ajax.
Very standard. The ajax content includes javascript that I want to be executed
so I have set the executeScripts parameter to "true" for the div. This all
worked fantastic prior to upgrading to Struts 2.1.8.1 from 2.0.
Issue registered: https://issues.apache.org/jira/browse/WW-3386
-Original Message-
From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com]
Sent: Wednesday, February 17, 2010 11:44 AM
To: Struts Users Mailing List
Subject: Re: [Q] JavaTemplate Plugin
2010/2/17 Hoying, Ken :
> T
ed;
} // end else
} // end getTemplateEngine
Thanks,
Ken
-Original Message-----
From: Hoying, Ken [mailto:ken_hoy...@premierinc.com]
Sent: Monday, February 15, 2010 12:35 PM
To: Struts Users Mailing List
Subject: [Q] JavaTemplate Plugin
I would like to make use of the Ja
It appears that the strust.configuration setting in struts.properties was not
what I was really looking for.
I needed to make the config change to the web.xml and the Struts filter:
http://struts.apache.org/2.1.8.1/docs/webxml.html
Thanks,
Ken
-Original Message-
From: Hoying, Ken
I have a need to override a bean that is present in the struts default
configuration. Specifically:
org.apache.struts2.components.template.TemplateEngineManager
However, it appears that the default configuration loader does not allow for
this to be overwritten. As a result, I get the followin
Not exactly sure what you are attempting, but you can utilize OGNL in
struts.xml and in particular within results. Take a look at the following and
see if it is any help:
http://struts.apache.org/2.1.8.1/docs/parameters-in-configuration-results.html
-Original Message-
From: Oscar [m
I am finding the text regarding the enablement of Freemarker template caching
in the performance tuning document
(http://struts.apache.org/2.1.8.1/docs/performance-tuning.html) to be a bit
confusing.
The document states:
As of Struts 2.0.10, setting the property struts.freemarker.templatesCach
I am in the process of upgrading from Struts 2.0.11.1 to 2.1.8.1 and am having
some issues with the TabbedPanel.
Previously, I had customized how the TabbedPanel looks by setting the
templateCssPath attribute to the location of a CSS file that was a copy of the
provided TabContainer.css with my
I would like to make use of the JavaTemplate Plugin in order to improve my
applications performance. However, I do have "ajax" themed tags, as well as,
some of my own theme tags. I perfectly realize that the any non "simple" theme
tags would not be able to take advantage of the performance imp
I would like to make use of the JavaTemplate Plugin in order to improve my
applications performance. However, I do have "ajax" themed tags, as well as,
some of my own theme tags. I perfectly realize that the any non "simple" theme
tags would not be able to take advantage of the performance imp
27;d still suggest making your changes to the 2.0.5 source, since it
> most likely has other bug fixes that you just haven't needed yet.
> (*Chris*)
>
> On Wed, Jul 22, 2009 at 1:21 PM, Hoying, Ken wrote:
>
> > I checked and it was not. Thank you though. It only see
correctly there was a 2.0.5 that was probably compatible with the
2.0.x versions of Struts 2, but I have no idea if that fix is in that version.
(*Chris*)
On Wed, Jul 22, 2009 at 9:47 AM, Hoying, Ken wrote:
> We are running with Struts 2.0.1.1 (which uses xWork 2.0.4) and are
> noticing that
On Today at 1:04pm, HK=>Hoying, Ken wrote:
>
> HK> [..snip..]
> HK>
> HK> Does anyone have experience using an xWork version 2.1.x with Struts
> 2.0.11.1?
> HK>
>
> I say this, based on no evidence other than remembering it from a
> thread earlier, that
: RE: Upgrading xWork??
On Today at 1:04pm, HK=>Hoying, Ken wrote:
HK> [..snip..]
HK>
HK> Does anyone have experience using an xWork version 2.1.x with Struts
2.0.11.1?
HK>
I say this, based on no evidence other than remembering it from a thread
earlier, that xwork 2.1.x is in
experience using an xWork version 2.1.x with Struts 2.0.11.1?
Thank you!
Ken
-Original Message-
From: Hoying, Ken [mailto:ken_hoy...@premierinc.com]
Sent: Wednesday, July 22, 2009 12:47 PM
To: user@struts.apache.org
Subject: Upgrading xWork??
We are running with Struts 2.0.1.1 (which uses
We are running with Struts 2.0.1.1 (which uses xWork 2.0.4) and are noticing
that we are getting hung threads sometimes on a HashMap call from
com.opensymphony.xwork2.util.LocalizedTextUtil.
It looks like the xWork code is question needs to be synchronized and is
causing the threads to lock due
: Re: [S2] Ajax Anchor Tag
On Tuesday 03 February 2009 14:39:25 Hoying, Ken wrote:
> I would like to take advantage of the Struts 2 Ajax Anchor tag's
> functionality to build the url on the client based on an href and the
> parameters for a given form (formId). However, I do not want
I would like to take advantage of the Struts 2 Ajax Anchor tag's functionality
to build the url on the client based on an href and the parameters for a given
form (formId). However, I do not want the call to be made asynchronously. I
just want it to build the url and then get it normally. I
] OgnlException for ServletRedirectResult
--- On Fri, 9/26/08, Hoying, Ken wrote:
> It seems that OGNL is trying to split the name or convert it into a
> number and splitting it at the 'f''. However, this makes no sense to
> me what so ever. Why is OGNL even trying to parse the par
I am need to be able to redirect to a url from Struts2 passing in an odd
looking parameter name. The parameter name is '6578706f7274'. I know..
I would love to change the name to something else a little more
reasonable but I can't as it is for a call to a third party component
(Thanks, DisplayTag
Thanks! I saw the indicator property right after I sent the email.
Works like a charm.
Thank you!
-Original Message-
From: Jeromy Evans [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2008 8:52 AM
To: Struts Users Mailing List
Subject: Re: [S2] Ajax DIV Question
Dave Newton wro
, 2008 2:06 AM
To: Struts Users Mailing List
Subject: Re: [S2] Ajax DIV Question
Hoying, Ken wrote:
> I was able to update the href and formId via JavaScript and DOJO as
> follows:
>
> dojo.widget.byId('divId').href = 'myUrl';
> dojo.widget.byId('divId'
ver, if myFormId is located in divId and was loaded into
the div via the initial ajax call, then it does not work.
Any ideas?
Thanks in advance,
Ken
-----Original Message-
From: Hoying, Ken [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2008 10:48 AM
To: user@struts.apache.org
Subject:
I have a tabbed panel. I would like to refresh the contents of this tab
and am able to do so by publishing to the proper topic. However, I
really need to take it a step further and be able to dynamically specify
the formid and href attributes of the Ajax DIV in my JavaScript, before
refreshing it
I would like to use the Struts2 validation classes "outside" of Struts2.
What I would like to do specifically is use the UrlValidator to test a
string to determine if it is a URL and if it is create the link and if
not just display the value. I would like to use the validator for this
since we us
Subject: RE: Re: [S2] Advice on Handling CLOBs in Struts2
--- "Hoying, Ken" <[EMAIL PROTECTED]> wrote:
> It appears to and that is my understanding.
It appears to what, make a request? Where does it appear to do that? In
the code it looks like it just creates an action prox
: Hoying, Ken [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 21, 2008 3:48 PM
To: Struts Users Mailing List
Subject: RE: Re: [S2] Advice on Handling CLOBs in Struts2
It appears to and that is my understanding. The examples show it as a
way to include images that are built from an action.
I tried to
make an actual request?
I guess I assumed it executed the action without making a full request,
which could cause the error you're seeing, as the response would already
have been written to by the time your stream result got ahold of it.
Dave
--- "Hoying, Ken" <[EMAIL PROTECTED]&
@struts.apache.org
Subject: Re: [S2] Advice on Handling CLOBs in Struts2
Since that's not a normal result of using a stream result, I have to
assume you are doing something wrong. Without seeing the relevant
code/configuration, though, we can't offer much help.
L.
Hoying, Ken wrote:
>
that's not a normal result of using a stream result, I have to
assume you are doing something wrong. Without seeing the relevant
code/configuration, though, we can't offer much help.
L.
Hoying, Ken wrote:
> I have tried to accomplish this by creating an action with a stream
> res
I still cannot figure out why I am getting this error. However, if I
do not use a stream result and use a result that returns a JSP then all
works.
Any help would be greatly apprecietd!
Thanks,
Ken
-Original Message-
From: Hoying, Ken [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May
)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
-Original Message-
From: Hoying, Ken [mailto:[EMAIL
Generally when working with Struts2, we have been loading a domaon
object from the database in our action and then sending then referencing
the properties as needed from the JSP to generate our output.
However, we now what could potentially be a large amount of data stored
in a CLOB. Using the
patch for this issue WW-2339.
https://issues.apache.org/struts/browse/WW-2339
Hoying, Ken-2 wrote:
>
> I have a list of search filters that I am displaying on the page where
> each is a checkboxlist. I am implementing this as such:
>
>
>
> name=&quo
I have a list of search filters that I am displaying on the page where
each is a checkboxlist. I am implementing this as such:
Everything works great except for one small problem. I do not seem to
be able to deselect all of the values for a filter. For example, if one
of my filters
there a release date for update? That
would be nice.
-Original Message-
From: Hoying, Ken [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 08, 2008 4:11 PM
To: Struts Users Mailing List
Subject: RE: JSON Plugin - excludeProperties Issues
I thought that might be the case and tried to reference
Subject: Re: JSON Plugin - excludeProperties Issues
The exclude properties are relative to the action, not the root.
musachy
On Thu, May 8, 2008 at 4:01 PM, Hoying, Ken <[EMAIL PROTECTED]>
wrote:
> I am trying to specify properties for the JSON plugin to ignore.
> However, this does no
I am trying to specify properties for the JSON plugin to ignore.
However, this does not seem to be working. Am I specfiying something
incorrectly? Does it not work in conjunction with specifying the root?
categoryChildren
open source that did this to me, I would
be one very unhappy customer.
Thanks,
Ken
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 06, 2008 12:14 PM
To: Struts Users Mailing List
Subject: Re: Upgrade from 2.06 to 2.011.1 Error
--- "Hoying, Ken&quo
After upgrading my libraries and TLD from 2.06 to 2.0.11.1, I am getting
the following error.
2008-05-06 10:42:36,648 ERROR (http-0.0.0.0-8080-2:)
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/sca].[
jsp]] Servlet.service() for servlet jsp threw exception
org.apache.jasper.Jas
I have created a template which utilizes parameters that are passed into
it to generate HTML conditionally based on those parameters. For
example:
However, I do not wish to require that all the parameters be required.
For example, it would be
I have created a template which utilizes parameters that are passed into
it to generate HTML conditionally based on those parameters. For
example:
However, I do not wish to require that all the parameters be required.
For example, it would be
--- "Hoying, Ken" <[EMAIL PROTECTED]> wrote:
> I was using the following statement under Weblogic which worked
> perfectly:
>
>
>
> However, we have recenly changed out our appication server to Jboss
Is it JSP 2.1? It may be having an issue with the "#"
I was using the following statement under Weblogic which worked
perfectly:
However, we have recenly changed out our appication server to Jboss and
now this statement appears to be evaluating to null. I do not appear to
be getting any errors. It is simply just not evaluating. I believe it
is
if
it's just a matter of the rendered HTML you're having an issue with.
d.
--- "Hoying, Ken" <[EMAIL PROTECTED]> wrote:
> Thank you for the response.
>
> I had looked at the example, but it really appears to only push the
> checkbox results to th
boolean married; //checkbox
so the individual checkbox works fine for setting booleans
http://struts.apache.org/2.0.11/docs/checkbox.html
For handling a list of checkboxes you may want to implement with
checkboxlist?
http://struts.apache.org/2.0.11/docs/checkboxlist.html
M--
- Original Message
I am having a difficult time getting checkboxes to work in the following
scenario and am not sure what I am doing wrong. Any help or guidance
would be greatly appreciated.
I have table which displays several rows. In the first column of each
row, I have a check box to select that row. I am keep
I have implemented a file upload progress bar in S2. I used the
following as the basis for my work:
http://kencochrane.blogspot.com/2006/03/ajax-struts-file-upload-progress
-meter.html
-Original Message-
From: Markus Stauffer [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 01, 200
-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Friday, September 28, 2007 4:19 PM
To: Struts Users Mailing List
Subject: Re: [S2] FTL Help - Access Properties
--- "Hoying, Ken" <[EMAIL PROTECTED]> wrote:
> In JSP, I would use the text tag (
>
> How do I acco
I am new to FTL and need to access the my global properties from my
resource bundle.
In JSP, I would use the text tag (
How do I accomplish this in FTL?
Thanks in Advance!
-
***Note:The information contained in this message may be privileged
and confide
Thank you! That was exactly what I was looking for!
-Original Message-
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 27, 2007 2:58 PM
To: Struts Users Mailing List
Subject: Re: [S2] TabbedPanel Events
Try to listen to a topic with the name: widgetId + "-sele
It looks like version 2.1 will contain the ability to capture events in
the TabbedPanel.
We are currently using v2.0.6 and need to be able to capture a change in
tab. Has anyone come across a solution for this?
Thank you!
-
***Note:The information cont
bad there
is no JavaDoc information on the methods, since that could easily clear
up the confusion.
(*Chris*)
On 9/26/07, Hoying, Ken <[EMAIL PROTECTED]> wrote:
> I believe that I have come across a bug in the iterator tag. It
> appears that the count value for the status object is r
I believe that I have come across a bug in the iterator tag. It appears
that the count value for the status object is returning (index + 1)
rather than the size of the collection being iterated over.
Has anyone else seen this behavior?
Is this the correct behavior and I am just not interepreting
I am using the Sruts2 token tag with the token interceptor to restrict
double submits of a page. It appears to be working. However, I am
getting the following in my log. Do I not have something configured
correctly?
[2007-08-27 11:27:49,565] [ERROR] [anjone ]
[erceptor.ParametersI
Templates
Can you give more details on what you are doing? I'm using the
"component" tag without problems (I only specify the templateDir and
theme attributes in the component tag).
regards
musachy
On 8/6/07, Hoying, Ken <[EMAIL PROTECTED]> wrote:
> I love the idea of being able
I love the idea of being able to create JSP templates and reference them
with the Component tag. However, I am not sure that I am implementing
them correctly.
If I have another Struts tag in my template, such as , then I get
errors saying that it cannot find the template in my theme and template
over FOP, since full s2 result support is
already available for jasper.
The plugin is part of the struts2 source distribution.
Regards,
Rene
Hoying, Ken schrieb:
> I could use some advice from some folks with more experience and
> knowledge of Struts2 than I to assist me in determini
I could use some advice from some folks with more experience and
knowledge of Struts2 than I to assist me in determining the correct way
(or lay out some viable options) to design a solution for the following
senario:
We need to generate a PDF report real time based on data in a database
that is a
There appears to be a bug with the Submit tag. URLs for the src
attribute do not appear to be resolved the same way for this tag as they
are with other tags. Other tags appear to be able to determine the
webroot and build the path to the image correctly. The Submit tag does
not. Has anyone else
Please disregard. I see the problem now. There was another entry for
struts.multipart.parser in the file later down in the property file that
someone else had set.
Thank you!
-Original Message-
From: Hoying, Ken [mailto:[EMAIL PROTECTED]
Sent: Friday, July 27, 2007 10:42 AM
To: user
I have created my own MultiPartRequest and specified it in the
struts.properties file as such:
struts.multipart.parser=package.MonitoredMultiPartRequest
When we originally started the project we were using Tomcat and this was
working great. We have now moved to Weblogic 9.2 and it no longer seems
I am trying to get my head around what the best practices are in terms
of managing interceptors and interceptor stacks. One would obviously
like things to be as efficient as possible. However when it comes to
interceptor stacks, it seems that one also has to balance
maintainability. There are so
] TabbedPanel with Remote DIVs
Using any tool like firebug, and building the url with the "url" tag, do
you see the parameters in the request?
musachy
On 7/16/07, Hoying, Ken <[EMAIL PROTECTED]> wrote:
>
> I have a tabbed panel with divs that retrieve their content remotely.
>
I have a tabbed panel with divs that retrieve their content remotely.
Basically the control is acting like a tabbed address book with each tab
showing a subset of names broken out alphabetically (i.e. Tabs: A-B,
C-D, etc..)
When specifying the URL for the remote div to call, I am having
diffic
I have a tabbed panel with divs that retrieve their content remotely.
Basically the control is acting like a tabbed address book with each tab
showing a subset of names broken out alphabetically (i.e. Tabs: A-B,
C-D, etc..)
When specifying the URL for the remote div to call, I am having
difficul
I am using the Type Conversion functionality
(http://struts.apache.org/2.x/docs/type-conversion.html) for handling
indexed lists. BTW.. Very cool stuff and worked great right off.
My question is that I would now like to take it one step further and use
the XML validation definitions to validat
I am using the Type Conversion functionality
(http://struts.apache.org/2.x/docs/type-conversion.html) for handling
indexed lists. BTW.. Very cool stuff and worked great right off.
My question is that I would now like to take it one step further and use
the XML validation definitions to validat
, it just works :-)
-a
Hoying, Ken-2 wrote:
>
> I am currently utilizing the Servlet-Config Interceptor in order to
> manage HTTPSession attributes as advised in the following document:
>
> http://struts.apache.org/2.x/docs/how-do-we-get-access-to-the-session.
>
, 2007 7:00 AM
>> To: Struts Users Mailing List
>> Subject: Re: [S2] Interceptor Question (Thread Safety)
>>
>> Ken,
>>
>> there is no problem at all since s2 interceptor instances, as well as
>> action instances, are created per ActionInvokation, whic
I am currently utilizing the Servlet-Config Interceptor in order to
manage HTTPSession attributes as advised in the following document:
http://struts.apache.org/2.x/docs/how-do-we-get-access-to-the-session.ht
ml
The document states that this is preferred and that:
"Any changes mad
ion is not instantiated on each request.
musachy
On 7/9/07, Hoying, Ken <[EMAIL PROTECTED]> wrote:
>
> Thanks, Rene!
>
> Someone might want to update the documentation to make this clearer.
> The following document seems to indicate otherwise:
>
> http://struts.apache.o
Question (Thread Safety)
Ken,
there is no problem at all since s2 interceptor instances, as well as
action instances, are created per ActionInvokation, which means they are
always operated in a single thread.
Regards,
Rene
Hoying, Ken schrieb:
> From what I understand from reading the documentat
>From what I understand from reading the documentation, interceptors are
suppose to be thread safe. However, I have noticed that some of the
interceptors do contain instance variables and I have seen some
examples where these variables are set or modified from with in the
action configurations.
I believe this was a bug that was fixed in Struts 2.0.8. If you are
using a version prior to that, then I do not believe that the attribute
is working properly.
-Original Message-
From: banurekha [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 05, 2007 12:56 PM
To: user@struts.apache.org
I am trying to create a validation for the s:file tag to ensure that a
file name was provided.
My tag looks like this:
I tried using the validation:
However, the validation always fails whether the file name is empty
not work for lower-level components like the
XML parser.
> -Original Message-----
> From: Hoying, Ken [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 15, 2007 12:59 PM
> To: Struts Users Mailing List
> Subject: RE: [S2] Weblogic & struts.multipart.parser
>
> There
anyhow. However, our developers working locally by installing the
app in the admin server rather than running an admin server and a
managed server.
Anyone seen this or know of a work around?
Thanks.
-Original Message-
From: Hoying, Ken [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June
\..*
-Original Message-
From: Hoying, Ken [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 14, 2007 2:20 PM
To: Struts Users Mailing List
Subject: RE: [S2] Parameter Interceptor Error
I see... Now.. Using
-Original Message-
From: Hoying, Ken
our action? In any
case, posting the action mapping and the class would help.
musachy
On 6/14/07, Hoying, Ken <[EMAIL PROTECTED]> wrote:
>
> I am trying to perform validation using an xml file that follows the
> format Action-method-validation.xml. However, it does not appear that
&
I am trying to perform validation using an xml file that follows the
format Action-method-validation.xml. However, it does not appear that
the validation is being executed. I am not sure how to debug this to
determine why. Anyone have a good set of steps on how to debug this
issue?
Thank you.
I see... Now.. Using
-Original Message-
From: Hoying, Ken [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 14, 2007 2:18 PM
To: Struts Users Mailing List
Subject: RE: [S2] Parameter Interceptor Error
You appear to be correct. Care to clue me in?
-Original Message-
From: Dave
You appear to be correct. Care to clue me in?
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 14, 2007 2:12 PM
To: Struts Users Mailing List
Subject: RE: [S2] Parameter Interceptor Error
--- "Hoying, Ken" <[EMAIL PROTECTED]> wrote:
&
I added setters for "x" and "y" in my action class. They are set to
different integer values each time. I have no idea where this is coming
from. Is this some strange bug in Struts 2?
-Original Message-----
From: Hoying, Ken [mailto:[EMAIL PROTECTED]
Sent: Thursday, J
I am getting the following errors and I am not sure where they are
coming from. I do not have any fields on my form named "x" or "y". Any
ideas?
ERROR - ParametersInterceptor.setParameters(198) | ParametersInterceptor
- [setParameters]: Unexpected Exception catched: Error setting
expression 'x'
The MultiPart parser that I am specifying in struts.properties does not
appear to be called under Weblogic. This worked fine though under
Tomcat. I do nto see any errors in the log.
Any ideas why?
Thanks in Advance!
-
***Note:The information containe
I was able to fix my own problem. The web.xml was different between the
Tomcat and Weblogic apps. Tomcat was using 2.4 and Weblogic 2.3. Once
I updated web.xml in Weblogic app to use 2.4, all was well.
Thank you!
-Original Message-
From: Hoying, Ken [mailto:[EMAIL PROTECTED]
Sent
I have an app that I developed under Tomcat and had everythign working
fine. I then moved it to WebLogic and I am running into issues. The
following senario illustrates the problem I am having...
I have a JSP page with the following:
However, anywhere that I attempt to refernece maxLength usi
There appears to me to be an annoying bug or what I believe to be a bug
in the FileUploadInterceptor. On line 311, if the file does not pass
the file validation the error message is retrieved as such:
String errMsg =
getTextMessage("struts.messages.error.file.too.large", new
Object[]{inpu
I really like how I can access the field name and use it in forming the
error message for validations. Such as:
err.msg.requiredstring =$\{getText('label.' + fieldName)} is required.
Where the validation framework passes a variable called "fieldName".
I would like to use this same appraoch for
I am confused in regards to how one would customize the errors for file
upload.
The documentation on the page File Upload Interceptor
(http://struts.apache.org/2.x/docs/file-upload-interceptor.html)
indicates that the error messages are currently set to defaults in the
struts-messages.properties f
As I am reading up and looking into the file upload support in S2, it
appears that files are uploaded to a temporary area and then deleted
when control is returned from the action. It would seem then that if I
wanted to keep the file, that I then need to copy it again to somewhere
else. Is this u
I will give that a try. I am sure it will work. Thank you so much for
your clear and detailed response. I now not only know what to do, but
more importantly why it needs to be done that way. Thank you!
-Original Message-
From: Jeromy Evans [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
I am having a devil of a time getting a simple if test condition to work
properly.
Here is the jist of what I am trying to do:
${idContract.status}
1 - 100 of 102 matches
Mail list logo