Re: Problem with Struts 2 and browser cache

2010-09-08 Thread Greg Lindholm
We typically use a simple little filter to add cache-control headers to results. Of course there is no guarantee the browser will respect it (although the spec say it must be obeyed http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9). In web.xml: Cache-Control for Dynamic resour

Problem with Struts 2 and browser cache

2010-09-07 Thread Oscar
Hi to all, i have a little requirement in my application. Clients need that, after logout, When they press the browser Back button, it shows that user doesn't have permission because he was already logged out. For example, if i'm inside the application and in that right moment i'm seeing some sensi

Problem with Struts 2 and security constraint

2010-01-08 Thread Juanjo C
Hi, I'm trying to use JAAS with Struts2. I have my own implementation of JAAS and if I use it in an application without Struts, it works fine. I'm using FORM like authentication method. But when I wan to use it with Struts 2, I get an 404 error (I have an constraint with "/*"). If I deactivate th

Re: Problem with Struts 2 JSON RPC using simple HTTP Post (not using DOJO)

2009-12-03 Thread Musachy Barroso
the call reaches the server and returns me an >>> exception : >>> :35,013 ERROR [RPCError] java.util.HashMap cannot be cast to java.util.List >>> java.lang.ClassCastException: java.util.HashMap cannot be cast to >>> java.util.List >>>

Re: Problem with Struts 2 JSON RPC using simple HTTP Post (not using DOJO)

2009-12-03 Thread Musachy Barroso
g.apache.struts2.json.JSONInterceptor.invoke(JSONInterceptor.java:204) >>        at >> org.apache.struts2.json.JSONInterceptor.intercept(JSONInterceptor.java:131) >>        at >> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237

Re: Problem with Struts 2 JSON RPC using simple HTTP Post (not using DOJO)

2009-12-03 Thread Musachy Barroso
oke(DefaultActionInvocation.java:237) >        at > org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52) >        at > org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488) >        at > org.apache.struts2.dispatcher.FilterDispatcher.d

Problem with Struts 2 JSON RPC using simple HTTP Post (not using DOJO)

2009-12-03 Thread Jeet08
at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52) at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488) at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395) I am also using Spring 2.5 and H

Re: Problem with Struts 2+ Spring 2 + JPA + Ajax

2008-06-11 Thread Jeromy Evans
nani2ratna wrote: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/hibernate/ejb/HibernatePersistence

Re: Problem with Struts 2+ Spring 2 + JPA + Ajax

2008-06-11 Thread nani2ratna
ement "beans", must match >> DOCTYPE root "null". >> > > This problem is commonly caused by including a spring 1.x jar in your > application instead of/as well as a spring 2. Have a look at the jars > in WEB-INF/lib and ensure spring 1.x isn't t

Re: Problem with Struts 2+ Spring 2 + JPA + Ajax

2008-06-11 Thread nani2ratna
ars > in WEB-INF/lib and ensure spring 1.x isn't there. If it is, find the > source and remove it. > > Hope that helps, > Jeromy Evans > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-

Re: Problem with Struts 2+ Spring 2 + JPA + Ajax

2008-06-11 Thread Jeromy Evans
nani2ratna wrote: Hi, SEVERE: Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Line 11 in XML document from ServletContext resource [/WEB-INF/applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Document root element

Problem with Struts 2+ Spring 2 + JPA + Ajax

2008-06-11 Thread nani2ratna
ringframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd in the beans tag-- attribute called xsi:schemaLocation. Even i am not getting index.jsp also. What is the problem. Are there any body who tried this previously. Thanks and Regards Ratna -- View th

Re: [OT] (Solution) RE: problem with Struts 2 setup -class file has wrong version 49.0, should be 48.0

2007-05-08 Thread Laurie Harper
8, 2007 9:46 AM To: 'Struts Users Mailing List' Cc: 'Jae Lim' Subject: RE: problem with Struts 2 setup -class file has wrong version 49.0, should be 48.0 Ok, I have did all the steps below, and still can't fix this version problem with Java. 1) Delete the "Ca

(Solution) RE: problem with Struts 2 setup -class file has wrong version 49.0, should be 48.0

2007-05-08 Thread Jack Yu
a?threadID=5121172 thanks, Jack -Original Message- From: Jack Yu [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08, 2007 9:46 AM To: 'Struts Users Mailing List' Cc: 'Jae Lim' Subject: RE: problem with Struts 2 setup -class file has wrong version 49.0, should be 48.0 Ok,

(solution) RE: problem with Struts 2 setup -class file has wrong version 49.0, should be 48.0

2007-05-08 Thread Jack Yu
The soltuoi -Original Message- From: Jack Yu [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08, 2007 9:46 AM To: 'Struts Users Mailing List' Cc: 'Jae Lim' Subject: RE: problem with Struts 2 setup -class file has wrong version 49.0, should be 48.0 Ok, I have did all

RE: problem with Struts 2 setup -class file has wrong version 49.0, should be 48.0

2007-05-08 Thread Jack Yu
o download Java EE separately? Thanks. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Monday, May 07, 2007 5:50 PM To: [EMAIL PROTECTED] Cc: Struts Users Mailing List Subject: Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) i

Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Martin Gainty
, 2007 5:31 PM Subject: RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available --- Jack Yu <[EMAIL PROTECTED]> wrote: Yeah, I have tried this, but it still give me the same problem. Thanks. ?! I hate to ask, but are you sure? If the compilation i

RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Dave Newton
gt; 1 error > > > ======= > > > > -Original Message- > > From: Musachy Barroso [mailto:[EMAIL PROTECTED] > > Sent: Monday, May 07, 2007 3:03 PM > > To: Struts Users Mailing List > > Subje

RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Jack Yu
Yeah, I have tried this, but it still give me the same problem. Thanks. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Monday, May 07, 2007 4:55 PM To: Struts Users Mailing List Subject: RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6

RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Dave Newton
class HelloWorld_jsp extends > org.apache.jasper.runtime.HttpJspBase > ^ > 1 error > === > > -Original Message- > From: Musachy Barroso [mailto:[EMAIL PROTECTED] > Sent: Monday, May 07, 2007 3:03 PM > To: Struts Users Mailing List > Subj

RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Jack Yu
: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available That problem is definitely a jvm version issue. Run: java -showversion to see what version you have in the path and make sure it is 1.5 (1.6 should be fine also) musachy On 5/7/07, Jack Yu <[EM

Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Musachy Barroso
eClass0(Native Method) === -Original Message- From: Patrick J Kobly [mailto:[EMAIL PROTECTED] Sent: Monday, May 07, 2007 1:09 PM To: Struts Users Mailing List Subject: Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available Download a more rec

RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Jack Yu
neClass0(Native Method) === -Original Message- From: Patrick J Kobly [mailto:[EMAIL PROTECTED] Sent: Monday, May 07, 2007 1:09 PM To: Struts Users Mailing List Subject: Re: problem with Struts 2 setup -The req

Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Dave Newton
--- Patrick J Kobly <[EMAIL PROTECTED]> wrote: > Looks like struts needs 1.5+... Correct; S2 needs 1.5 unless you're using the converted J4 jars. d. Now that's room service! Choose from over 150,000 hotels

Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Patrick J Kobly
Download a more recent JVM for Tomcat to use. Looks like struts needs 1.5+... PK Jack Yu wrote: Ok, I found the error from the log == 2007-05-07 12:51:55 StandardContext[/manager]HTMLManager: start: Starting web application at '/struts2-b

RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Jack Yu
.jav a:683) at java.lang.Thread.run(Thread.java:534) -Original Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: Monday, May 07, 2007 12:58 PM To: Struts Users Mailing List Subject: Re: problem wit

Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Musachy Barroso
n't know how to solve this problem. Thanks, Jack -Original Message- From: Mike Baroukh [mailto:[EMAIL PROTECTED] Sent: Monday, May 07, 2007 12:34 PM To: Struts Users Mailing List Subject: Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Jack Yu
: Monday, May 07, 2007 12:34 PM To: Struts Users Mailing List Subject: Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available May be you can first check - if the war as been deployed - if it has bean deployed with the expected path (/struts2-blank-2.0.6/) -

Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Mike Baroukh
May be you can first check - if the war as been deployed - if it has bean deployed with the expected path (/struts2-blank-2.0.6/) - if there is any error on context start in catalina.out ? Mike Jack Yu a écrit : Hello Everyone, I'm new to Tomcat5 and Struts2, and I'm having problem setting

problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Jack Yu
Hello Everyone, I'm new to Tomcat5 and Struts2, and I'm having problem setting up struts. I installed Tomcat 5, and checked that http://localhost:8080/ is working fine. Then I copied the sample war file "struts2-blank-2.0.6.war" from struts into to the webapps directory under tomcat

Re: Problem with struts 2

2007-03-25 Thread struts2
pared boith and coudn't find anything changed. lol. -- View this message in context: http://www.nabble.com/Problem-with-struts-2-tf3461208.html#a9667426 Sent from the Struts - User mailing list archive at Nabble.com. - To

Re: Problem with struts 2

2007-03-25 Thread Martin Gainty
e le distribuer ou de le reproduire. - Original Message - From: "Dave Newton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" ; "Martin Gainty" <[EMAIL PROTECTED]> Sent: Sunday, March 25, 2007 3:27 PM Subject: Re: Problem with struts 2 >

Re: Problem with struts 2

2007-03-25 Thread Dave Newton
--- Martin Gainty <[EMAIL PROTECTED]> wrote: > Could we see the action from action-mappings > (specifically path/type/name/scope config) from > struts-config.xml ? ??? They're in the OP, although it's S2, not S1. d. ___

Re: Problem with struts 2

2007-03-25 Thread Martin Gainty
stinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: "Dave Newton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, March 25, 2007 2

Re: Problem with struts 2

2007-03-25 Thread Dave Newton
From: "struts2" <[EMAIL PROTECTED]> > The requested resource (/hello_world/example/HelloWorld.action) > is not available. I'd be suspicious of your deployment process; at first glance, at least, the configuration seems okay. Are there any startup errors in the log files? Do you have devMode turne

Re: Problem with struts 2

2007-03-25 Thread Nuwan Chandrasoma
.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> hope this would help you. Thanks, Nuwan. - Original Message - From: "struts2" <[EMAIL PROTECTED]> To: Sent: Sunday, March 25, 2007 4:01 AM Subject: Problem with struts 2 Hi everyone, I have just star

Problem with struts 2

2007-03-24 Thread struts2
this.message = message; } public String getMessage() { return message; } } -- View this message in context: http://www.nabble.com/Problem-with-struts-2-tf3461208.html#a9657134 Sent from the Struts - User mailing