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

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

2009-12-03 Thread Musachy Barroso
it is a list in the v1 of the spec http://json-rpc.org/wiki/specification "params - An Array of objects to pass as arguments to the method." the name of the parameters is irrelevant, only the order is. musachy On Thu, Dec 3, 2009 at 4:31 PM, Musachy Barroso wrote: > I take it back, sorry. The

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

2009-12-03 Thread Musachy Barroso
I take it back, sorry. The problem is that JSON RPC expects "params" to be a list, and it is coming as a map, I haven't kept up with the "spec", is it a map these days? musachy On Thu, Dec 3, 2009 at 4:28 PM, Musachy Barroso wrote: > It seems like one of the fields of TransportAssignmentVO is a

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

2009-12-03 Thread Musachy Barroso
It seems like one of the fields of TransportAssignmentVO is a list, and what is coming from the JSON objects looks more like a map, can you set a break point on ClassCastException exceptions and tell us what the field is? or post the setter/getters of TransportAssignmentVO. musahcy On Thu, Dec 3

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
Hi, This problem was occured because, i upload some jar file from spring framework. I have deleted them, and because i am using Sql Server 2005. My datasource settings in applicationContext.xml is Now another error casunig, that is SEVER

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

2008-06-11 Thread nani2ratna
Hi thanks for your reply. It solved that problem but giving another problem this time exception is SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener java.lang.NoSuchMethodError: org.springframework.util.Reflect

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

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
; > org/apache/struts2/dispatcher/FilterDispatcher > (Unsupported major.minor > > version 49.0) > > at > java.lang.ClassLoader.defineClass0(Native Method) > > > > > > &

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

Re: Problem with struts 2

2007-03-25 Thread struts2
Thanks guys for your replies, now the application is working. What i did is i copy some code from the eaxmple application shipped with the API and modify it according to my needs and voila it's working. Now even i don't know what's wrong with the earlier version even if i compared boith and coudn'

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
hi, I hope you are using a servlet container that support 2.4 spec., change your web.xml .xsd to 2.4 one like below. http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/w