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
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
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
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
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
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
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
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
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
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,
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
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
; > org/apache/struts2/dispatcher/FilterDispatcher
> (Unsupported major.minor
> > version 49.0)
> > at
> java.lang.ClassLoader.defineClass0(Native Method)
> >
> >
>
> &
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
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
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
: 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
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
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
--- 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
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
.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
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
: 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/)
-
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
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'
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
>
--- 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.
___
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
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
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
31 matches
Mail list logo