Not really. i usued the tiles and i've some problem. i've in mind an idea:
- keep track inside a jsp of the current page (is possible from jsp to put
the url inside the session?, i tried and i fell, no one thing work )
- each action, when success, return to an action that perform a redirect
(but
Don't have any more ideas, but generally, the message cannot find
bean in any scope means exactly what it says: The bean is not in a
scope where it can be found. Which means that either it is set in
request scope, and attempted to be used in a different request
(typically what happens when you do
yah, this is old school answers. :D
I have resolved the problem already by applying old school technique. :D
On Fri, Jun 26, 2009 at 6:21 PM, Nils-Helge Garli
Hegviknil...@gmail.com wrote:
Don't have any more ideas, but generally, the message cannot find
bean in any scope means exactly what it
It should be fixed now in trunk. Let me now if it works or not.
Nils-H
On Wed, Jun 24, 2009 at 6:01 PM, phillips1021bphill...@ku.edu wrote:
I added to the Jira bug report another example application that demonstrates
the problem. The example application is a simple Struts 2 (using 2.1.6)
SInce you are comited to a re-write, go for it.
Chris
-Original Message-
From: Mitchell, Steven steven.mitch...@umb.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Thu, Jun 25, 2009 5:17 pm
Subject: RE: Struts1 or Struts2
Chris,
My opinion is that you will take an
I can't find 2.1.7 anywhere for download, even though the download now
button says 2.1.7, the main site still has 2.1.6 as the latest release.
Am I missing something?
Thanks,
Angel
Somos verde. Piense antes de imprimir.
AVISO DE CONFIDENCIALIDAD
Si usted ha recibido este email por error,
I see your point that there has to be some design to handle? that contingency
(exceptions coming from the constructor) but with so many opportunities for
us to do things via interceptors I would let the framework have a total monopoly
on the constructors.
Essentially we (application developers)
Hi,
There are 3 buttons on the jsp web page, first one is submit (sign
in), another one is Cancel, the third one is something else. I used
html:cancel for the Cancel and something else.
I also included this.isCancelled() conditional check in the execute()
method; as well as included
When I set devMode to true I get the exception below.
Struts 2.1.6, Tomcat 5.5, starting Tomcat from within Eclipse.
If devMode is false all works fine.
Anyone have any ideas?
2009-06-26 10:21:06,250 INFO
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider:31 -
Parsing configuration
%response.setHeader(Content-Disposition, attachment;
filename=\filename_${fromDate}-${toDate}.doc\); %
The above is what I currently have but I think there is a new way to
do it that doesn't involve using a scriptlet. Also, the fromDate and
toDate items don't work. I've tried quoting them but
yeah, known bug, it is fixed in trunk and will be in 2.1.7
musachy
On Fri, Jun 26, 2009 at 7:28 AM, Greg Lindholmgreg.lindh...@gmail.com wrote:
When I set devMode to true I get the exception below.
Struts 2.1.6, Tomcat 5.5, starting Tomcat from within Eclipse.
If devMode is false all works
Hi,
I have just deployed included showcase sample application on to my tomcat 6.
I'm very amazed how SLOWLY it runs.
I'm looking for a framework for my company and Struts 2 seems very good to
me (I have a previous experience with grails which is good for smaller
applications but too unstable and
Hi,
I'm using struts 2.1.6, struts2-dojo-plugin-2.1.6.jar, xwork-2.1.2, freemarker
2.3.13, ognl 2.6.11 and jboss 5.0.1.
In ftl, I am making ajax call in sx.a tag as shown below.
@s.url id=sort namespace=${parameters.nameSpace} action=Sort
@s.param name=sortBy${tmpSortMethodName?trim}/@s.param
Francisco José Aquino García wrote:
result type=stream
param name=contentType${mimeType}/param
param name=contentLength${length}/param
param name=contentDispositioninline; filename=${fileName}/param
param name=inputNameinputStream/param
param
I have found that devMode was set to true .. so I changed it to false.
Now I'm getting something around 140 req/s which is much better but
still somewhat slow.
What more can I set to make it run faster ?
My current settings are listed below:
struts.mapper.alwaysSelectFullNamespace true
Well I got it resolved. The rtexprvalue was set to false in the TLD file.
Once set to true the following worked:
JSP:
%
String productTypeI18nKey = product.type.list. + productType;
%
s:text name=%=productTypeI18nKey%/
Graham
- Original Message -
From: gd...@jslss.com
To: Struts
In our Struts1 implementation, we leveraged various tag libraries such
as:
struts-logic
struts-logic-el
struts-html
struts-html-el
struts-bean
struts-bean-el
struts-nested
When migrating to struts2, are any of these taglibs still available or
have they been replaced with newer components?
A
Specifically I am trying out the JasperReports tutorial, everything works fine
untile I include the Spring plugin, now it stops working because apparently
it's trying to autowire the result/ tags. I have no beans declared in Spring
and the class atribute of the action is pointing to a full
Anybody ?
Daniel
On Fri, Jun 26, 2009 at 5:54 PM, Daniel Gurycadun...@gmail.com wrote:
I have found that devMode was set to true .. so I changed it to false.
Now I'm getting something around 140 req/s which is much better but
still somewhat slow.
What more can I set to make it run faster ?
Angel Segarra wrote:
I can't find 2.1.7 anywhere for download, even though the download now
button says 2.1.7, the main site still has 2.1.6 as the latest release.
Am I missing something?
No, but we are.
Dave
-
To
Jim Collings wrote:
%response.setHeader(Content-Disposition, attachment;
filename=\filename_${fromDate}-${toDate}.doc\); %
The above is what I currently have but I think there is a new way to
do it that doesn't involve using a scriptlet. Also, the fromDate and
toDate items don't work. I've
Praveen.V.Kumar wrote:
In ftl, I am making ajax call in sx.a tag as shown below.
@s.url id=sort namespace=${parameters.nameSpace} action=Sort
@s.param name=sortBy${tmpSortMethodName?trim}/@s.param
@s.param name=sortTypedesc/@s.param
/@s.url
@sx.a href=${sort} key=${tmpColumnName}
CRANFORD, CHRIS wrote:
In our Struts1 implementation, we leveraged various tag libraries such
as:
struts-logic
struts-logic-el
struts-html
struts-html-el
struts-bean
struts-bean-el
struts-nested
When migrating to struts2, are any of these taglibs still available or
have they been replaced with
Angel D. Segarra wrote:
Specifically I am trying out the JasperReports tutorial, everything works fine untile I include the Spring plugin, now it stops working because apparently it's trying to autowire the result/ tags. I have no beans declared in Spring and the class atribute of the action is
Thanks for the reply.
My bad, I do have a bean defined, missed since I have my contexts separated. I
have bean with id 'dataSource' in spring and it's trying to autowire it into
the dataSource of the JR result. I suppose this is expected but I was confused
as to what gets auto wired or not, I
You might want to start here:
http://struts.apache.org/2.x/docs/performance-tuning.html
musachy
On Fri, Jun 26, 2009 at 12:57 PM, Daniel Gurycadun...@gmail.com wrote:
Anybody ?
Daniel
On Fri, Jun 26, 2009 at 5:54 PM, Daniel Gurycadun...@gmail.com wrote:
I have found that devMode was set to
Nils-H
Thank you for fixing this issue so quickly.
I was able to check out from subversion the Struts 2 trunk using
svn checkout http://svn.apache.org/repos/asf/struts/struts2/trunk
The struts2-core 2.1.8-SNAPSHOT was created by mvn install just fine.
However I got the following error
Nils-H
Ignore my previous reply. I was able to get the struts2-portlet-plugin
2.1.8-SNAPSHOT to build successfully and install into my local maven
repository.
I tested the 2.1.8-SNAPSHOT in my example applications and everything
worked very well.
Thanks again. We look forward to the
28 matches
Mail list logo