Mike,
Rest URLs doesn't work that way, so the plugin is correct and your needs
are not in sync with REST standards (see
http://en.wikipedia.org/wiki/Representational_State_Transfer for a more
details on REST).
If you want to do something with multiple IDs my suggestion would be
URLs along t
If it's useful to diagnose this, I made my action ParameterAware so I
could inspect the request parameters directly. I received three
parameter keys, "firstName", "lastName", and "[object Object]". The
first two are expected. The last one is not expected, and that causes
the exception I'm seeing
Hi,
I turned on debugging and got this error.
There is no Action mapped for namespace /struts/dojo/src/widget/templates
and action name DatePicker. - [unknown location]
at
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:186)
at
org.apache.struts2.impl.St
Rsrs, it also aways happens to me.
2008/6/16 jefetech <[EMAIL PROTECTED]>:
>
> Thanks for the replies here everybody. I solved the issue. Stupid stupid
> error on my part, of course. Always is. I had the log4j.jar but forgot to
> copy over the commons-loggin.jar file.
>
> Works fine when the
Thanks for the replies here everybody. I solved the issue. Stupid stupid
error on my part, of course. Always is. I had the log4j.jar but forgot to
copy over the commons-loggin.jar file.
Works fine when the correct jars are included :)
jefetech wrote:
>
> Ya that looks just like mine.
Ok, this looks promising. I changed the package in my struts.xml to the
following:
-
true
/form.jsp
-
I then copied in updated jars from 2.1.2, being:
commons-file
Ya that looks just like mine. Maybe struts2.1 has issues with Jetty. Does
this error have anything to do with log4j though? Maybe I need to shut that
off in another config file or something.
Jun 15, 2008 4:59:42 PM com.opensymphony.xwork2.util.logging.jdk.JdkLogger
warn
WARNING: Could not fin
I'm also using struts 2.1 ...
Here are my log4j:
### direct log messages to stdout ###
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLU
I've tried changing that, but it makes no difference with struts2.1. No
matter what I do with log4j.properties, it just keeps on spitting out
warning messages. Frustrating!
Márcio Gurgel wrote:
>
> Hi, I also had this problem, I solved setting this in my log4j.properties
> file:
>
> ### se
Hi, I also had this problem, I solved setting this in my log4j.properties
file:
### set log levels - for more verbose logging change 'info' to 'debug'
stdout ###
log4j.rootLogger=info
2008/6/15 Dave Newton <[EMAIL PROTECTED]>:
> Are you actually using Log4J?
>
>
> --- On Sun, 6/15/08, jefete
Are you actually using Log4J?
--- On Sun, 6/15/08, jefetech <[EMAIL PROTECTED]> wrote:
> From: jefetech <[EMAIL PROTECTED]>
> Subject: Re: Can't stop console warnings
> To: user@struts.apache.org
> Date: Sunday, June 15, 2008, 9:45 PM
> That makes sense, but unforunately did not do anything.
>
That makes sense, but unforunately did not do anything. Here's what my
server spits out when starting up:
2008-06-15 16:16:54.855::INFO: Extract
jar:file:/usr/local/jetty/webapps/struts2.war!/ to
/usr/local/jetty/work/Jetty_0_0_0_0_80_struts2.war___struts2test_-f01z4v/webapp
Jun 15, 2008 4:16:
--- On Sun, 6/15/08, Karr, David <[EMAIL PROTECTED]> wrote:
> I'm now trying to explore doing an Ajax form submit,
> and getting a JSON response. I'm using YUI on the
> client side. I'd like to see if I can get similar
> data in the JSON response that I would in a normal
> submit, for instance,
Take a look at this (2.1 only):
http://struts.apache.org/2.0.11.1/docs/ajax-validation.html
musachy
On Sun, Jun 15, 2008 at 8:02 PM, Karr, David <[EMAIL PROTECTED]> wrote:
> I have a simple page with validation that I got working with a
> conventional submit and action.
>
> I'm now trying to exp
I have a simple page with validation that I got working with a
conventional submit and action.
I'm now trying to explore doing an Ajax form submit, and getting a JSON
response. I'm using YUI on the client side. I'd like to see if I can
get similar data in the JSON response that I would in a norm
Hi Folks,
I'm trying to use the REST plugin to implement a service that serves
resources using the following url syntax:
http://www.mydomain.com/rest/book/123 (which works fine)
http://www.mydomain.com/rest/book/123/chapter (which throws a 500
because my book controller doesn't have a chapter
Hi,
add in your web.xml following snippet:
log4jConfigLocation
/WEB-INF/classes/log4j.properties
And in the log4j.properties you add following line:
log4j.category.com.opensymphony.xwork2.util.logging.jdk.JdkLogger=ERROR
That should log only error-messages comi
I just converted from struts 1 to 2.1. I've got everything working, but I
can't seem to stop this warning from being spit out in the console every
time struts runs. Any help would be great. thank you.
Jun 15, 2008 11:43:01 AM com.opensymphony.xwork2.util.logging.jdk.JdkLogger
warn
WARNING: Cou
You don't, but this functionality may have been added to S2.1 (don't quote me
on that; I'm woefully behind, but I know it has been discussed.)
One typical solution is to define a package's interceptors via XML then use the
@ParentPackage annotation to configure your actions.
Dave
--- On Sun, 6
Uff I wrote it so badly,
Summary:
Does anyone know how to add interceptors to an Action defined with
annotations (without definitiion in an xml file)???
2008/6/15 Ramon <[EMAIL PROTECTED]>:
> Hi,
>
> I'm starting with a little project to test new features in struts2. I'm
> trying both ways
Hi,
I'm starting with a little project to test new features in struts2. I'm
trying both ways (xml configuration and annotations) but I don't know how to
define interceptors for an action which is defined with interceptors. for a
example my action looks like this:
@Results({
@Result(value="/j
I'm having such a wide range of reactions to this.
I'll stick with saying just ask questions on the list and not directly to list
participants unless you have an existing relationship with them.
--- On Sun, 6/15/08, srinivasa varanasi <[EMAIL PROTECTED]> wrote:
> and also I have enclsoed my app
Yes, I just wasn't sure about the semicolon, but I guess it is fine.
REST needs to be fixed then.
musachy
On Sun, Jun 15, 2008 at 1:31 AM, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> On Sat, Jun 14, 2008 at 3:48 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
>
>> Not sure about WAS, but don't (at least)
--- On Sun, 6/15/08, StrutsUser <[EMAIL PROTECTED]> wrote:
> I have specified as .
Okay, now turn on debugging and see if you get any errors.
> I have not done any special S2 filter mapping.
But you don't say what you *did* do, which would have saved an email.
It should be mapped to /*.
Dave
--- On Sun, 6/15/08, (¯`·.k ! k !.·´¯) <[EMAIL PROTECTED]> wrote:
> Hi .. i m going to build a struts based application but i
> dont want to use JSP's instead of JSP's i
> want to use Swing GUI .. how can i communicate Swing GUI
> with struts app and how i will get the response back ..
> e.g. sear
Hi,
i am creating my actions via Spring. This works very well. But even
though i use the "actionPackages" parameter of the FilterDispatcher,
my @Result annotations dont work. Is this a Spring integration issue
or what?
I am getting this error in the frontend:
# No result defined for acti
Hi,
I have specified as
.
I am not getting any errors.
I have not done any special S2 filter mapping. Maybe that is the problem.
Could you explain how
it should be done.
Thanks
newton.dave wrote:
>
> Do you have Dojo debugging turned on in your tag? Are there
> any error messages shown? Is yo
Many moons ago I started out using Tomcat, but moved to Jetty because I
work with at a company along with Greg Wilkins and imho he had the righ
attitude towards doing things (get it right rather than just get it out
the door), and I had seen people encounter some problems with Tomcat
(such as t
It's been pointed out to me that people couldn't see the full demo of
lifefeed.info because registration was broken, but it's now fixed.
Al.
For those that are interested; OpenSuSE installs gnu-javamail when you
install the tomcat55 package and symlinks to gnu-javamail from
common-lib. This m
I think it's more a case of Tomcat doesn't pass the jsessionid down to
the filters & webapp, whereas jetty does.
The jsessionid is still appended onto the URL in the browser, but with
Tomcat the app works, with Jetty the error occurs.
Al.
Wendy Smoak wrote:
On Sat, Jun 14, 2008 at 3:48 PM,
Hi Mukul,
Sorry for late response. Hadn't seen your query.
Well this option do have a drawback wherein the header table width differs
from data table width. But problem is this is the only solution I have come
across so far. Also not much help is available on net. You have to fix the
data table wi
31 matches
Mail list logo