James Carr wrote:
Hi All,
I want to be able to submit a form that can add array elements to one
of my action properties. I have something like this:
public class SomeAction{
private FooBar foo;
// getters and setters, execute, etc. here
}
with
public class FooBar{
private List b
Darren James wrote:
actually struts is currently using ongl 2.6.11 correct? In fact the
problem that you reference
here http://jira.opensymphony.com/browse/OGNL-141, seems to indicate
it was the 2.6.11
version of the OGNL jar that introduced the problem. Can someone verify?
I would second the
Wes is right without information about the version its very hard to put any
comments on this,
On 4/25/08, Wes Wannemacher <[EMAIL PROTECTED]> wrote:
>
> Which version of struts are you using? Struts 1 and Struts 2 are very
> different.
>
> -Wes
>
> On Thu, 2008-04-24 at 17:48 -0700, Vinay Nagrik w
actually struts is currently using ongl 2.6.11 correct? In fact the
problem that you reference
here http://jira.opensymphony.com/browse/OGNL-141, seems to indicate it
was the 2.6.11
version of the OGNL jar that introduced the problem. Can someone verify?
I would second the idea that "this is a
Which version of struts are you using? Struts 1 and Struts 2 are very
different.
-Wes
On Thu, 2008-04-24 at 17:48 -0700, Vinay Nagrik wrote:
> Hello Group,
>
> I am working with struts and following is what I have done already.
>
> 1. Downloaded tomcat, configured it, and it is running alright.
Hello Group,
I am working with struts and following is what I have done already.
1. Downloaded tomcat, configured it, and it is running alright.
2. Downloaded struts unzipped, untarred it and copied necessary .jar files
from this directory into tomcat WEB-INF/lib directory.
3. Built web.xml for
Hi guys,
I have just developed a FlashResult / FlashInterceptor pair - turns out it
wasn't that difficult. I couldn't give it much testing (for the moment the
only use case in my application that requires flash scope is showing success
messages following a redirect) but for what it's worth it se
http://mirrors.ibiblio.org/pub/mirrors/maven2/opensymphony/ognl/2.6.11/
It took me a while to find it too :)
Cheers,
GB
Greg Lindholm wrote:
>
> Can someone tell me where to find the source for ognl-2.6.11.jar?
>
> I've looked on www.ognl.org but it only goes up to 2.6.9.
>
> I've looked on
Can someone tell me where to find the source for ognl-2.6.11.jar?
I've looked on www.ognl.org but it only goes up to 2.6.9.
I've looked on www.opensymphony.com/ognl/ but it doesn't have a working
download for ognl. It points you to a CVS source repository on java.net but
there is no release ver
Hi All,
I want to be able to submit a form that can add array elements to one
of my action properties. I have something like this:
public class SomeAction{
private FooBar foo;
// getters and setters, execute, etc. here
}
with
public class FooBar{
private List bars;
// getters
akash agrawal wrote:
Hi,
When I use execAndWait interceptor and set some request attribute in my action,
I get NPE:
java.lang.NullPointerException
at org.apache.catalina.connector.Request.setAttribute(Request.java:1376)
at
org.apache.catalina.connector.RequestFacade.setAttribu
The validate() method should be called for any request on that action
unless (a) the request is serviced by an excluded method (where the set
of excluded methods depends on the interceptor stack you are using
and/or an explicit configuration you've specified) or (b) you have
switched the 'allwa
Hello,
Does anyone have an idea how to invoke validation annotations on nested
objects?
We’re using hierarchal objects in Struts 2.1 and the validation annotations
do not seem to be firing on the child objects.
For example I have a Customer object which has an Address object as an
attribute. A
I can, and I considered that, but I was hoping to keep it in the XML to
minimize the number of files that need to be changed. The documentUpload
action that's the redirect target below is actually the recipient of
quite a few links (in fact the basic point of the application is to
facilitate docume
Can you put the info on the session?
Nils-H
On Thu, Apr 24, 2008 at 9:52 PM, Allen, Daniel <[EMAIL PROTECTED]> wrote:
> Hi, all.
>
> I'm using the snippet below[1] in my struts.xml file to send finish an
> action with a redirect to another, and sending a parameter along.
> However, Struts 2 de
Hi, all.
I'm using the snippet below[1] in my struts.xml file to send finish an
action with a redirect to another, and sending a parameter along.
However, Struts 2 defaults to passing the parameter via appending it to
the URL in a GET request. I'm going to need to add additional
parameters, some o
Hi,
>From the docs, I found this link/note: To use session-scoped components
with Spring and Struts, see the Spring Session Components Workarounds
analysis. That led to confluence page that doesn't yet exist. I am
using a session scoped spring bean in a struts 2 action, and it seems to
be work
I have a form that updates a user profile. When I add the 'execAndWait'
Interceptor it appears to work correctly - that is, the wait.jsp page
displays and then goes back to the results page. But, the request parameters
(those from the user profile form that are being submitted) are getting
lost. A
I'm trying to run the following command :
mvn archetype:create -DgroupId=tutorial
-DartifactId=tutorial
-DarchetypeGroupId=org.apache.struts
-DarchetypeArtifactId=struts2-archetype-blank
-DarchetypeVersion=2.0.9-SNAPSHOT
-DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository
Hi again and thaks for you interest in my problem!
I've already resolt the problem, I just had to change the scope of the
action that generates the form into session, instead of request, that was
ok. But the real problem I had was that the link in the jsp was not well
done.
--
View this mess
Is this the _only_ error message in your logs? Check all the logs of
your server, and make sure that you also check for errors at the
startup of your server. If you can't find any more errors, then look
one more time, just to make sure. From the very limited information
you have provided, it seems
I have to integrate struts 2 actions in my existing struts 1.2 web
application.
My login page is using struts 1.2 action. Upon login, I come to home page.
there is a link on home page. when I click on that link, I need to go to
another jsp page. The later action has to be in struts 2.
I
Hello,
I have to integrate struts 2 actions in my existing struts 1.2 web
application.
My login page is using struts 1.2 action. Upon login, I come to home page.
there is a link on home page. when I click on that link, I need to go to
another jsp page. The later action has to be in struts 2.
There is a ticket open for the next version of Struts 2, 2.1.2, that
will upgrade OGNL. The new version requires Struts 2 and XWork code
changes, so it will take some time. Please vote or add any additional
information to the Struts issue:
http://issues.apache.org/struts/browse/WW-2527
Don
On
I am using WebSphere Portal 6.1
This is the cause of the problem..Has anyone encountered this or know a way
to fix this? Any help would be appreciated.
[4/24/08 12:04:40:250 EDT] 0037 ServletWrappe E SRVE0068E: Uncaught
exception thrown in one of the service methods of the servlet:
StrutsPo
[4/24/08 12:04:40:250 EDT] 0037 ServletWrappe E SRVE0068E: Uncaught
exception thrown in one of the service methods of the servlet:
StrutsPortlet. Exception thrown : java.lang.NullPointerException
at
com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance(SpringObjectFacto
I am trying to implement the execAndWait interceptor along with a custom
authentication interceptor in an interceptor stack that most of my actions
will call. I understand that the action being called needs to implement
sessionAware if it wants to access the session. My question is: what about
oth
Hello,
We've been testing an application in a production environment and found a
serious contention problem when the number of simultaneous requests grows.
The problem seems to be related with the use of static synchronized blocks
in OGNL code.
I've found a related issue in OGNL
(http://jir
>> And it is strange because it happens only when I use https and
>> IE6. When it is http and IE6 it seems to be fine.
these links may help:
http://eirikhoem.wordpress.com/2007/06/15/generated-pdfs-over-https-with
-internet-explorer/
http://forum.java.sun.com/thread.jspa?threadID=233446&forumID=4
(I am posting this because I have been privately asked already couple of
times)
Helping google: How do I stop the more verbose logging in Struts 2.1.x
For Tomcat users:
Struts 2 uses JCL i.e. Java Commons Logging which basically enables
users plugging any existing concrete Logging implementat
> class="com.intuit.sbfw.action.mc.UserLookupAction">
UserLookupAction-validation.xml is in the same path as class above?
> 2) I see this message when I invoke my very first action: INFO
> [ActionValidatorManagerFactory] Detected AnnotationActionValidatorManager,
> initializing it...
> Does t
HI
I hope that this will help you
http://struts2issues.blogspot.com/
BR,
sanj
-Original Message-
From: Pranav [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 24, 2008 6:32 AM
To: user@struts.apache.org
Subject: Problem with Validation framework
Hi All,
I am having a problem with valid
Thanx a lot. After I insert "return null" the exception about
> 16:52:20,832 ERROR [UIBean] error when rendering
> java.lang.IllegalStateException: getOutputStream() has already been called >
> for this response
stopped. But I've still got the problem with IE6 - instead of file name I have
the
Herman Svensen wrote:
Hi,
I'm currently using Struts 2.0.11.1 where I'm having problem using CSS style attribute
'float' together with Struts' . The content of the tabbedpanel is
not displayed correctly when for example a inside the tabbedPanel is using the
'float' attribute. Like this:
Raghavendra wrote:
Hello,
I am trying the struts 2.0.9 sample portlet and am seeing this problem when
I use the "velocity" sample. Does anyone know how to fix this or if this is
a known problem?
ERROR [org.apache.commons.digester.Digester] Parse Fatal Error at line 1
column 1: Content is not a
cree wrote:
I have been laboring over this pretty much all day and have not come up with
any sort of solution heres my situation.
I have two JSPs. One contains the main tabbed panel with any number of divs
as tabs. One tab references an href like:
The someAction.action will point to another
HI,
i found solution to my problem.
+ this is the jsp
---
:
jj/mm/
:
hh:mm
+ in the ActionForm i declared
--
private String date[];
private String heure[];
+ in the DispatchAction i use the date[]
37 matches
Mail list logo