Hi Dustin,
I am experiencing the same problem. I actually sent an email to this
list yesterday about it... Sorry, I don't have a fix or workaround for
it yet :-(
Sean
On Wed, Aug 18, 2010 at 10:01 PM, dusty wrote:
>
> Has anyone noticed that local Freemarker templates they kept in /template are
Has anyone noticed that local Freemarker templates they kept in /template are
no longer being picked up in favor of the .jar templates?
Any ideas if there is a constant or change to where we put templates to fix
this?
--
View this message in context:
http://old.nabble.com/2.2.1-Local-Freemar
Did you try using normal OGNL syntax for accessing value stack properties?
On Aug 18, 2010 4:16 PM, wrote:
Is it possible to choose an action result based on a value in the
HttpSession? I have read the following page:
http://struts.apache.org/2.0.11.1/docs/parameters-in-configuration-results.ht
we have a code using SpringMVC 3 and Struts 2.2.1,
if we make both one by one, implementation work well, but if we make one
.war, crash happen here
i put the code here
http://ugforge.gunadarma.ac.id/gf/project/cimande/scmsvn/?action=browse&path=/branches/rest-springmvc-struts2/
my idea wanna to
Well, I added Javatemplate plugin:
http://struts.apache.org/2.x/docs/javatemplates-plugin.html
and now the page renders in about 3 seconds. That solves the immediate issue
for me.
Not sure what's going on with struts2 tags, but in the default configuration
they seem to be hideously slow. Am I do
I have queried this list in the past about using Struts 2-Spring
Plugin with Spring 3. A few commented that you've intergrated with no
issue. While upgrading to 2.2.1, I decided to also try a Spring 3
upgrade as well. It seems to be working correctly. However, taking a
closer look at the source
Hi,
I am trying to access the value of a particular row in my table (to perform
edit or remove actions), but I can't seem to get the value...
Here is the code for my table in my JSP page:
I have found most the struts tags to be really slow but seems
to stick out.
For really high performance pages I find I have to not use struts tags.
See this old thread:
http://old.nabble.com/S2-%3Cs%3Aform%3E-in-interator-really-slow-tc28073962.html
On Wed, Aug 18, 2010 at 4:46 PM, Nathan Meeker
2010/8/18 Stephen Turner :
> I'm looking in struts2-junit-plugin-2.2.1.jar that came as part of
> struts2-2.2.1-all.zip and I see only these classes in the org/apache/struts2
> folder:
>
> StrutsTestCase.class
> StrutsTestCase$1.class
> StrutsSpringTestCase.class
>
> What am I missing?
This class
On Wed, 18 Aug 2010 16:22:37 -0400, Lukasz Lenart
wrote:
2010/8/18 Stephen Turner :
Unit tests for interceptors in Struts 2.2.1
In TokenInterceptorTest I see a reference to
org.apache.struts2.TestConfigurationProvider, but I can't find this
class in
a jar file. I do see the source code t
I just enabled the cache (using the settings you suggested) and the time is
down to 15 seconds (from 60-70). Is there anything else I should be doing?
Thanks!
On Wed, Aug 18, 2010 at 2:24 PM, Lukasz Lenart wrote:
> Did you enabled FreeMarker cache?
> http://struts.apache.org/2.x/docs/freemarker.
Did you enabled FreeMarker cache?
http://struts.apache.org/2.x/docs/freemarker.html Cache sesction
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 2010 http://javarsovia.pl
-
To unsubscribe, e-m
2010/8/18 Stephen Turner :
> Unit tests for interceptors in Struts 2.2.1
>
> In TokenInterceptorTest I see a reference to
> org.apache.struts2.TestConfigurationProvider, but I can't find this class in
> a jar file. I do see the source code though.
>
> Which jar should I be using for TestConfigurati
I have a small Struts 2 application that displays a JSP page with a table of
about 300 rows. Each row in turn contains about 20 links to other actions.
The JSP is created using Struts2 tags (OGNL). There is a loop that iterates
over a collection and pulls properties of the elements combining them i
Is it possible to choose an action result based on a value in the HttpSession?
I have read the following page:
http://struts.apache.org/2.0.11.1/docs/parameters-in-configuration-results.html
I understand how to reference properties from the action itself, but is it
possible if the acti
In your log4j.properties file add the following line:
log4j.logger.freemarker.beans=WARN, CA
This assigns the level of WARNING to the freemarker.beans package only. All
other packages will inherit the root logger level (usually set to DEBUG).
You can set other packages as well, like:
log4j.
nodje wrote:
>
> Hi,
>
> I'm using Struts 2.1.2. I've configured log4j logging with the following
> line
> log4j.logger.com.opensymphony.xwork2.ognl=ERROR
>
> in order to turn off what seemed to be xwork logging.
>
> However, I'm still getting hundreds of line like these:
> Could not find t
Unit tests for interceptors in Struts 2.2.1
In TokenInterceptorTest I see a reference to
org.apache.struts2.TestConfigurationProvider, but I can't find this class
in a jar file. I do see the source code though.
Which jar should I be using for TestConfigurationProvider?
Thanks,
Steve
-
Hi!
I am using annotation based validation in my actions and tried to
write a unittest for it, with no success.
I found several links, one looked very promising but is not working
with 2.1.8.1. (NullPointerException):
http://bloodredsun.blog.com/2009/10/21/unit-testing-struts2-actions-with-annota
W dniu 18 sierpnia 2010 15:17 użytkownik Dave Newton
napisał:
> What, to prove to historians that I'm usually confused?!
Just to put it on the list. If you didn't notice, I answered directly to you ;-)
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 2010 http:/
What, to prove to historians that I'm usually confused?!
On Wed, Aug 18, 2010 at 9:05 AM, Lukasz Lenart wrote:
> Reposting just for future reference
>
> 2010/8/18 Dave Newton :
> > Oh, you're right, it says it's provided. Which confuses me even more :/
> >
> > On Wed, Aug 18, 2010 at 7:43 AM, Lu
Reposting just for future reference
2010/8/18 Dave Newton :
> Oh, you're right, it says it's provided. Which confuses me even more :/
>
> On Wed, Aug 18, 2010 at 7:43 AM, Lukasz Lenart
> wrote:
>>
>> 2010/8/18 Dave Newton :
>> > Hmm, I guess I'm misreading the POMs for various things then; on the
2010/8/18 Per Johansson :
> "The release is also available through the central Maven repository under
> Group ID "org.apache.struts". "
>
> I cannot find version 2.2.1 under
>
> http://mvnrepository.com/artifact/org.apache.struts/struts2-parent
Here you have
http://repo2.maven.org/maven2/org/apach
"The release is also available through the central Maven repository under
Group ID "org.apache.struts". "
I cannot find version 2.2.1 under
http://mvnrepository.com/artifact/org.apache.struts/struts2-parent
/Per Johansson
Are you deploying the Spring plugin?
Dave
On Aug 18, 2010 12:19 AM, "Rakeshkumar Parmar" <
rakeshkumar_par...@persistent.co.in> wrote:
> Hi,
>
> I am not using spring to configure Hello World sample application. But it
still gives me listener not registered error for spring context. I am using
st
25 matches
Mail list logo