basic authentication for your REST services, which basically
does the same thing? If over the wire security is a problem, use
HTTPS.
Don
On Dec 14, 2007 1:44 AM, Martin Gilday [EMAIL PROTECTED] wrote:
Hi,
We are interested in using the REST plugin to extend customer choice and
complement our WS
Hi,
We are interested in using the REST plugin to extend customer choice and
complement our WS-* services. We are particularly interested in the
multiple response types (.xml, .json etc). One thing I am not sure of
is how we handle security. Say we have an order (/order/1234.xml), how
can we
I posted about this a while back. Nobody seemed to have an annotation
based solution, only going back to XML.
- Original message -
From: Thilo Ettelt [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Date: Tue, 4 Dec 2007 13:01:15 +0100
Subject: [s2] Different
We are using the validaiton interceptor but not client side javascript
validation. However we are still seeing lots of
onsubmit=customOnsubmit_registration(); return true; appearing in the
views. On form submission you get a js error as the function does not
exist. Why is this appearing and is
: Dave Newton [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Date: Tue, 27 Nov 2007 08:16:42 -0800 (PST)
Subject: Re: Unnecessary onsubmit
With the regular s:form... tag without the
validation attribute set?!
d.
--- Martin Gilday [EMAIL PROTECTED] wrote:
We are using
Sorry ignore. Someone had been using a theme written for WebWork which
had this customOnsubmit in. It seems to have changed in the new
form.ftl in 2.0.11 to be simply return true;, which is better.
- Original message -
From: Martin Gilday [EMAIL PROTECTED]
To: Struts Users Mailing List
Validation, per method?
i dont know to use anotation but with xml is
ClassName-actionAlias_method-
validation.xml
On 11/5/07, Martin Gilday [EMAIL PROTECTED] wrote:
Can you have annotation validation per method? I have put @Validations
on both my display and update methods (display shows
Can you have annotation validation per method? I have put @Validations
on both my display and update methods (display shows the record from
input), but all of the validation seems to be run at once. Can you
achieve this with xml or annotation validation, or am I back to
validateInput methods?
I am porting a WebWork application over to Struts2. I have added a
dependency to struts2-core to my Maven POM.
dependency
groupIdorg.apache.struts/groupId
artifactIdstruts2-core/artifactId
version2.0.9/version
/dependency
In my struts.xml I extend struts-default. When I try and start my
!-- if you want another file mapping --
servlet-mapping
servlet-namevelocity/servlet-name
url-pattern*.shtml/url-pattern
/servlet-mapping
Add the following jar files to lib folder :
velocity-dep-1.4.jar
velocity-tools-1.1.jar
Regards,
Leon
Martin Gilday wrote:
I am
Hi,
I am currently maintaining a WebWork 2 based web application. A change
in requirements has come about which requires a fairly long wizard to be
added. This will take in a fair amount of data entry, at least 6
screens long, with some ajax form population based on selections. The
final
I have dropped 2.7 into a WW app which has been live for the past week
with zero (new) errors. However, as has been stated, it needs to be
reworked to get the speed improvments.
- Original message -
From: Musachy Barroso [EMAIL PROTECTED]
To: Struts Users Mailing List
Has anyone attempted to use the ExecuteAndWaitInterceptor with a load
balancer on round robin?
I am having problems getting it to work with WebWork 2.2.5. Seeing as
the interceptor looks unchanged in Struts 2 I thought it might be
worthwhile also asking here. My problem is detailed
I might be missing the point here. But why do you want to get hold of
an application contect directly? You just want to pull out beans from
it to use in your actions?
You would be much better off using the Struts 2 Spring integration to
have it populate your actions for you. No messy util
Hi.
You probably need to install the WTP (Web Tools Project) into your
Eclipse.
MArtin.
- Original message -
From: hezjing [EMAIL PROTECTED]
To: struts-users user@struts.apache.org
Date: Thu, 14 Jun 2007 00:20:04 +0800
Subject: [S2] Tutorial with Eclipse
Hi!
I have a fresh Eclipse
Looks like you are trying to access Hibernate managed objects or perform
session manipultion in your view. Spring makes this easier but you can
do it manually easily. You just need to keep your session open longer.
Have a google for things like open session in view filter.
- Original
http://www.opensymphony.com/xwork/download.action
- Original message -
From: Al Sutton [EMAIL PROTECTED]
To: 'Struts Users Mailing List' user@struts.apache.org
Date: Tue, 8 May 2007 11:45:41 +0100
Subject: Looking for source to com.opensymphony.xwork2.ActionContext
Can anyone tell me
http://wiki.opensymphony.com/display/WW/Testing+Validation describes how
to do it for WebWork. The process should be very similar for Struts 2.
Thanks,
Martin.
- Original message -
From: [EMAIL PROTECTED]
To: user@struts.apache.org
Date: Mon, 7 May 2007 12:52:40 +0200
Subject: Is it
Just to confirm I have tried it on the SVN head and had the same error
using Jetty.
- Original message -
From: Struts2 Fan [EMAIL PROTECTED]
To: user@struts.apache.org
Date: Mon, 7 May 2007 06:52:10 -0700 (PDT)
Subject: Re: [S2] Error in File Download in struts-showcase
application
Ok
I've attached a patch to the JIRA issue. The file paths were using \
rather than / in the filedownload.xml.
Could someone try it on Windows.
Thanks,
Martin.
- Original message -
From: Martin Gilday [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Date: Mon, 07 May
20 matches
Mail list logo