Can using s2 validation the best way?
--Original Message--
From: Jordi Fernandez
To: Struts Users Mailing List
ReplyTo: Struts Users Mailing List
Subject: Re: REST plugin and validations
Sent: Oct 22, 2010 11:33 AM
When you say "written to the response" do you mean everything is ok on
t
When you say "written to the response" do you mean everything is ok on
the server side processing? The browser keeps waiting forever?
On 21/10/2010 13:40, Stefan Magnus Landrø wrote:
Hi there,
I'm trying to add validation to a REST-plugin based struts2 application. I'm
using using jsr 303 for
Are your referencing your tag in jsp by code likes:
<%@ taglib prefix="display" uri="http://displaytag.sf.net"; %>
I am not sure, but maybe in the old version of JSP specification, you
need add this to your web.xml:
http://displaytag.sf.net
/WEB-INF/tlds/displaytag.tld
to tell the ap
So I just upgraded my app to Struts 2.2.1, from 2.0.something. I made the
camelCase changes, added in the missing libs, and fired it up. All seems to be
working as expected, except the results of type "stream". Im not sure why, but
it will not stream anything to the browser. This is my config:
So this is a DisplayTag/Tomcat issue, not Struts, right?
On Thu, Oct 21, 2010 at 7:07 AM, wrote:
> hi all,
>
> i am trying to use displaytag in my application it was working finebut
> suddenly it is showing this excepton
>
> it is working fine in tomcat 6.0 but it is not in tomcat 4.1
>
>
>
> i
Hi there,
I'm trying to add validation to a REST-plugin based struts2 application. I'm
using using jsr 303 for the POST validation, and setting a model with
validation info. The model is then marshalled to json, and written to the
resonse, but I can't see the response in firebug. What could be goi
hi all,
i am trying to use displaytag in my application it was working finebut
suddenly it is showing this excepton
it is working fine in tomcat 6.0 but it is not in tomcat 4.1
i am using display tag 1.2
org.apache.jasper.JasperException: This absolute uri
(http://displaytag.sf.net) cannot
Thanks to all, i solved this problem creating an ServletContextListener
and executing this before all other listeners of my application and put
my settings in contextInitialized method like this:
public void contextInitialized(ServletContextEvent event) {
try {
System.setProperty("javax.xml.
I have reported it to JIRA as a BUG.
https://issues.apache.org/jira/browse/WW-3522
If the develop team confirm that it really is a bug,
then I will add information to the docs.
-
To unsubscribe, e-mail: user-unsubscr...@struts.ap
Just put an @Inject(name="MYCONSTANTVARIABLE") annotation on the setter in
action class.
- RM
From:
SudhirJava
To:
user@struts.apache.org
Date:
21-10-2010 17:58
Subject:
How to get the value of Constants defined in struts.xml
I am sorry, if this thread is repeated.
Please tell tell me h
Get it where? Normally you'd just use the @Inject annotation, IIRC.
Dave
On Thu, Oct 21, 2010 at 8:27 AM, SudhirJava wrote:
>
> I am sorry, if this thread is repeated.
>
> Please tell tell me how get the value of Constants defined in struts.xml.
> Is it possible to get the value of "MYCONSTANTVA
I am sorry, if this thread is repeated.
Please tell tell me how get the value of Constants defined in struts.xml.
Is it possible to get the value of "MYCONSTANTVARIABLE" in action class.
Thanks
Sudhir
--
View this message in context:
http://old.nabble.com/How-to-get-the-value-of-Constants-d
12 matches
Mail list logo