Rest-plugin with Spring

2009-09-19 Thread Antonius Ng
Hi all, I am currently developing an application using Struts 2.1.6 + rest-plugin + spring-plugin + Spring 2.5.6. The problem that I am facing is that I have not found any way to initialize the Controller Actions from Spring, because the rest-plugin is built on the Convention Plugin for

Re: How does Struts serve assets from JAR?

2009-09-19 Thread Alex Siman
Thanx for the link! Indeed, for now I store frameworks into webapp subdir like: my-eclipse-proj/src/webapp/lib/fckeditor/2.6.4.1 my-eclipse-proj/src/webapp/lib/jquery/1.3.2 my-eclipse-proj/src/webapp/lib/jquery-ui/1.7.2 my-eclipse-proj/src/webapp/lib/yui/2.7.0b and so on... But I have some

Re: Dojo trouble after upgrade

2009-09-19 Thread Scott Nesbitt
I am starting to wonder if this is a bug in the way Struts 2.1 is generating the Dojo includes. Has anyone else noticed the different paths? Does anyone know how Struts is taking this: sx:head/ And generating the various includes like this: link rel=stylesheet

Re: Null exception on Struts Action

2009-09-19 Thread Paul Benedict
You don't want to use Struts' data source capabilities. Setup your data source outside of Struts to have the greatest freedom. Paul

RE: Null exception on Struts Action

2009-09-19 Thread Julio César Chaves Fernández
Ok, i'll check that Thanks Date: Sat, 19 Sep 2009 13:19:57 -0500 Subject: Re: Null exception on Struts Action From: pbened...@apache.org To: user@struts.apache.org You don't want to use Struts' data source capabilities. Setup your data source outside of Struts to have the greatest

Hello Help please with Struts2

2009-09-19 Thread Konstantyn Harasevich
Hello When running samples struts 2 Here is exception relative to this taglib in NetBeans7.1: %@ taglib uri=/struts-tags prefix=s % org.apache.jasper.JasperException: /example/HelloWorld.jsp(2,41) PWC6117: File /struts-tags not found at

RE: Hello Help please with Struts2

2009-09-19 Thread Martin Gainty
the struts-tags URL %@ taglib uri=/struts-tags prefix=s % lookups the uri in *.tld (in this case /WEB-INF/classes/META-INF/struts-tags.tld) !-- struts-tags.tld contents displayed here -- ?xml version=1.0 encoding=UTF-8? !DOCTYPE taglib PUBLIC -//Sun Microsystems, Inc.//DTD JSP Tag Library

Re: Hello Help please with Struts2

2009-09-19 Thread Wes Wannemacher
Which app server do you have set up in netbeans? On 9/19/09, Konstantyn Harasevich harasev...@yandex.ru wrote: Hello When running samples struts 2 Here is exception relative to this taglib in NetBeans7.1: %@ taglib uri=/struts-tags prefix=s % org.apache.jasper.JasperException:

Re: Hello Help please with Struts2

2009-09-19 Thread musomesa
When you say on the classpath do you mean the compile classpath of the project or is the jar physically in WEB-INF/lib? Chris -Original Message- From: Wes Wannemacher w...@wantii.com To: Struts Users Mailing List user@struts.apache.org Sent: Sat, Sep 19, 2009 6:55 pm

%{} confuses me

2009-09-19 Thread Alex Siman
I must use ${} to evaluete expression either in .properties, struts.xml, java strings - everywhere, but not in JSP. In JSPs I must use %{}. Damn. Inconsistency. Is there any workaround to use ${} instead of %{} in JSPs? And more: s:url action=hello s:param name=name value='Struts2'/

Re: %{} confuses me

2009-09-19 Thread Dale Newfield
${} is used to indicate that the content is to be evaluated using one specific language (JSTL EL). %{} is used to indicate that the content is to be evaluated using *another* specific language -- in this case OGNL. (Note, for historical reasons in struts.xml I believe the contents of both