Re: REST plugin and validations

2010-10-21 Thread Frans Thamura
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

Re: REST plugin and validations

2010-10-21 Thread Jordi Fernandez
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

Re: This absolute uri (http://displaytag.sf.net) cannot be resolved in either web.xml or the jar files deployed with this application

2010-10-21 Thread Li Ying
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

Stream result is broken

2010-10-21 Thread Stanley, Eric
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:

Re: This absolute uri (http://displaytag.sf.net) cannot be resolved in either web.xml or the jar files deployed with this application

2010-10-21 Thread Dave Newton
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

REST plugin and validations

2010-10-21 Thread Stefan Magnus Landrø
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

This absolute uri (http://displaytag.sf.net) cannot be resolved in either web.xml or the jar files deployed with this application

2010-10-21 Thread D.SantoshKumar
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

Re: Can't deploy on server

2010-10-21 Thread Rodrigo Esteban Cares Guarda
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.

Re: Overriding Templates

2010-10-21 Thread Li Ying
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

Re: How to get the value of Constants defined in struts.xml

2010-10-21 Thread Rahul Mohan
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

Re: How to get the value of Constants defined in struts.xml

2010-10-21 Thread Dave Newton
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

How to get the value of Constants defined in struts.xml

2010-10-21 Thread SudhirJava
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