Thanks Sami,
I apologise. I know that there are a few different solutions around. We use
a our own custom interceptor which works for us.
My point was more that I think that action chaining is probably the feature
of S2 I find most trying. I suspect that of the work would be in improving
the
These are all great comments, but don't be afraid to be specific. :)
It's important to remember that the people working on this code are
all full-time developers, working for different companies, just like
you, and we work on Struts after-hours. We add features to help with
the applications we
On 10/8/07, Zoran Avtarovski [EMAIL PROTECTED] wrote:
My guess would be that it's being left to the authors of the various S2
books to deal with.
There isn't any kind of master plan. We're all volunteers, and people
contribute what they can, when they can, usually based on what we need
to do
Should this be reported as a possible bug?
wild_oscar wrote:
Dear all,
I've been struggling with a Permgen error on my application's development:
after a number of re-deployments, I get a permgen memory error in Tomcat 6
(described in more detail here
I am trying to use the ModelDriven interface.
getModel on the Bean is invoked twice before th execute() invocation ant
once after.
It does not seem to be the right normal sequence ?
I implements the defaultStack.
could you help ?
thanks
more details :
==
version struts 2.09
Hi,
have you tried spring's IntrospectionCleanupListener ?
http://www.springframework.org/docs/api/org/springframework/web/util/IntrospectorCleanupListener.html
It looks like the problem you are experiencing is the one the listener
claims to solve.
Regards,
Sami Dalouche
On Mon, 2007-10-08 at
None that I know of.
I also don't think they (plugins) are as necessary for
S2.
d.
--- [EMAIL PROTECTED] wrote:
Does any one know plugin that is available for
Eclipse Europa 3 plugin for Struts 2.0.9.
All i am getting are plugins for struts 1.
5, 50, 500, 5000 - Store N number
The current XWork ModelDriven interceptor code does
call getModel() twice; this was brought up during an
unrelated conversation a couple of weeks ago.
I don't know if anybody filed a JIRA against XWork for
it or not.
d.
--- pilou [EMAIL PROTECTED] wrote:
I am trying to use the ModelDriven
The folks at MyEclipse said they won't provide S2 support until they see
user demand!
http://www.myeclipseide.com/
Scott
On 10/8/07, Dave Newton [EMAIL PROTECTED] wrote:
None that I know of.
I also don't think they (plugins) are as necessary for
S2.
d.
--- [EMAIL PROTECTED] wrote:
hi all,
I don't know how to implement the following use-case using the
JFreeChart plugin and would appreciate some guidance:
I have an Action that does some lengthy computation and generates some
data that needs to be plotted in several graphs and displayed to the
user in a JSP page.
My
I filed a JIRA a while back that included this and two other possible issues.
http://jira.opensymphony.com/browse/XW-569
-W
On 10/8/07, Dave Newton [EMAIL PROTECTED] wrote:
The current XWork ModelDriven interceptor code does
call getModel() twice; this was brought up during an
unrelated
hi
I noticed that the property bundles named with the Model Bean class name
does not seem to work.
Here is my example :
the bean class and bundle and action class are in the same package,
Bundles name = PersonneFilterBean.properties
Java sources for the bean =
==
package
hi Rajagopal. i took your advice and deployed my app on tomcat instead
of jboss. this was a very helpful exercise because i believe i was
relying too heavily on eclipse and hand-coding/compiling/organizing my
app was a good learning experience. however, i have come full circle
back to my
can you show us stacktrace of the exception (located in $CATALINA_HOME/logs)
and display the configuration for your servlet from WEB-INF/web.xml
Thanks
M--
- Original Message -
From: ROWLAND, CLAY, ATTSI [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Monday,
--- ROWLAND, CLAY, ATTSI wrote:
param-value/ticketapp/WEB-INF/struts-config.xml/param-value
This confuses me; is your application context
ticketapp? If so I wouldn't think you'd need to
preface your /WEB-INF/... with it.
As was pointed out the taglib elements in web.xml have
been unnecessary
Hello!
Does anybody know how can I access to my Messages[_locale].properties
from a class that is not an action? (It extends TagSupport).
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
thanks for taking a look.. here is the stacktrace starting with the
deploy. also, this may help in diagnosing. i have the following
struts .jar files in my web-inf/lib directory:
standard-1.0.2.jar
struts-core-1.3.8.jar
struts-el-1.3.8.jar
struts-extras-1.3.8.jar
struts-el-1.3.8.jar
hi dave. you're right. i was experimenting with the web.xml. here
is how i think it should look after removing the taglibs:
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
Ahh! That was my problem.
I think it would be worth mentioning this in the documentation, especially
since it is the reverse of 2.0.x. It's not real clear in the state example
which is the key and which is the value. I tried to edit the docs myself,
but the wiki told me I did not have
I'd like to write an interceptor that will redirect
to a page when the session is expired.
I know that I can acces to the session in the interceptor like that.
public String intercept(ActionInvocation invocation) throws Exception
{
Map session =
so i think i just solved my problem. i was able to deploy a sample
struts app from the book i am reading. i noticed that it used
struts_1_0_2.jar instead of the many struts .jar files i was using. so
i deleted them from my web-inf/lib folder and replace them with the
struts_1_0_2 jar. my
You can grab the request just like they do in the ServletConfigInterceptor -
final Object action = invocation.getAction();
final ActionContext context = invocation.getInvocationContext();
HttpServletRequest request = (HttpServletRequest) context.get(HTTP_REQUEST);
On 10/8/07, [EMAIL
I'm trying to make a custom template for the checkboxlist struts tag to
only write out the html for the checkboxes in the list between two
parameter values I send to the template.
I want to pass parameters from the jsp file into the freemarker template
but I'm not sure how to do it.
So, I'm
Hi,
you should be able to access your start and stop variables using :
${parameters.start} and ${parameters.stop} expressions in your FTL
template.
Regards,
Sami Dalouche
Le lundi 08 octobre 2007 à 12:59 -0400, Jason Deffenbaugh a écrit :
I'm trying to make a custom template for the
Normally, I would jump at the chance to learn something new but I am soon
leaving my current team for a different team (same company) so want to get
my current project done for my current team before I leave, so will stick
with Struts 1 because of a time crunch. Plus the other developers on the
Thanks for the help I am able to debug action classes. Dave, If you find how
to debug jsp's please post it in the forum as it would be helpful to lot of
guys like me.
Regards
Vipalv Kallepu
On 10/5/07, Dave Newton [EMAIL PROTECTED] wrote:
You should be able to debug your JSPs, too, although I
I've been trying to figure out how to use Validation Annotations with the
SmartURLs plugin. I'm not sure which half I'm not understanding properly, but
I can't get the validations to fire at all. I've seen several similiar posts
in the archives and have tried tweaking things in a variety of
Is validation firing at *all*? I had been under the
impression that classes needed to be annotated with
the Validation annotation.
http://struts.apache.org/2.x/docs/validation-annotation.html
--- Eric D Nielsen [EMAIL PROTECTED] wrote:
I've been trying to figure out how to use Validation
On 10/8/07, Dave Newton [EMAIL PROTECTED] wrote:
Is validation firing at *all*? I had been under the
impression that classes needed to be annotated with
the Validation annotation.
http://struts.apache.org/2.x/docs/validation-annotation.html
True.
First, @Validations() tags the class, and
yitzle wrote:
I think NetBeans eats a lot of RAM, so if you don't have much you may
want to avoid it.
Better yet, try both out for a week or so, and see which suits *you* the best!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
To edit a page in the main documentation wiki, we need a CLA on file first.
* http://struts.apache.org/2.x/docs/editing-the-documentation.html
But, if you open a Confluence account, you should still be able to add
a comment.
-Ted.
On 10/8/07, chengas123 [EMAIL PROTECTED] wrote:
Ahh! That
Thanks that helped/worked.
I got it working using
#if (itemCount == parameters.stop)/#if
to access the custom parameters.
-Jason
On Mon, 2007-10-08 at 19:47 +0200, Sami Dalouche wrote:
Hi,
you should be able to access your start and stop variables using :
${parameters.start} and
There's not a link anywhere on the page to add a comment:
http://struts.apache.org/2.x/docs/autocompleter.html
Is there some other way I need to access that functionality?
Thanks,
Ben
Ted Husted wrote:
But, if you open a Confluence account, you should still be able to add a
comment.
It's a bit kludgy. If you select edit page, and you are not logged
in, it will prompt for your credentials. Once past that, you should
end up on the wiki side, for example at
* http://cwiki.apache.org/confluence/display/WW/Home
At this point, there should be a Add Comment link at the bottom of
hi Joao,
Finally I understood the requirement of sourcefiles for the third party
libraries. I added jadeclipse to my project. It is working fine, by that i
mean if I click *.class files javasource code is opening. But can you
please tell me how to add this source to the libraries. becoz even
Hi Group,
I have issue wrt no of threads on redeploy. The web app creates number of
threads, and on each deployement, web app should close threads and create new
threads but it instead of closing/reusing old threads, it creates new threads
which makes web app crashes.
I use struts and in
I thought you could only specify properties files for action beans,
not model ones. So in your case try specifying
PersonneFilterAction.properties
Zarar
On 10/8/07, pilou [EMAIL PROTECTED] wrote:
hi
I noticed that the property bundles named with the Model Bean class name
does not seem to
Hmm, in the docs [1] it says that it will search for
ModelDriven's model, although I haven't tried it
myself.
d.
[1]
http://struts.apache.org/2.x/docs/localization.html
--- Zarar Siddiqi [EMAIL PROTECTED] wrote:
I thought you could only specify properties files
for action beans,
not model
On 10/8/07, Ted Husted wrote:
On 10/8/07, Dave Newton [EMAIL PROTECTED] wrote:
Is validation firing at *all*? I had been under the
impression that classes needed to be annotated with
the Validation annotation.
http://struts.apache.org/2.x/docs/validation-annotation.html
True.
First,
I'm having difficulty with a struts 2 form (jsp) that includes the
use of a select tag. In short, I can't seem to get the select tag to
set the parameter when submitted.
Here's the scenario. My form (for searching by last name, first
name, and county fields) looks like this:
Ahh. I'm afraid I never would have figured that out without explanation
since I get permission denied when hitting the edit link.
-Ben
Ted Husted wrote:
It's a bit kludgy. If you select edit page, and you are not logged
in, it will prompt for your credentials. Once past that, you
Model properties files are used for supplying field description and
validation messages for a model object. I know it works ;-) but I
don't know how you are using it from the code supplied.
/Ian
Dave Newton wrote:
Hmm, in the docs [1] it says that it will search for
ModelDriven's model,
Yes, I know the wrong list, but been googling with not much luck -
didn't feel like spending the time yet to join some bea list until I
asked some of you geniuses first:
Ultimately I have to run this app on an old server bea weblogic 8.1 on
java4, so for prototyping I've started out using Tomcat4
The speed issues are much better in 2.1. However, now when I load the page,
every autocompleter on that page is issuing a request. Is this a bug or
have I configured something incorrectly? I believe the default behavior for
this should be to issue a request only after three characters have
Hi I am trying to mvn the checked out Struts2. First I have successfully
mvn'ed xwork 2.0.4 and that went fine now I am trying to mvn Struts2 and
when it gets to Test I get the following:
Tests run: 9, Failures: 2, Errors: 0, Skipped: 3, Time elapsed: 13.472 sec
F
AILURE!
Running
Try:
set MAVEN_OPT=-Xmx512m
before you run the maven build. The problem is that maven doesn't have
enough heap space to run the tests. The environment variable above should
increate the maximum java heap space for maven.
Tom
Pavel Sapozhnikov wrote:
Hi I am trying to mvn the checked out
Dear all,
How do I implement paging for limiting in displaying list of data? Is
there already a ready set component for this is Struts2? How do you
guys implement it in S2 if this paging component is not available in
S2?
Thanks in advance,
joshua
--
It's not just about coding, it's a matter of
Hey Tom thanks I actually tried that but I think it gave me no class found
error...I wasn't sure and at my work on XP machine I dont think I had to set
anything like this and it worked fine. Well also I have laptop at home which
has XP and I tried doing the same thing and it failed on this error
Take a look at TableTags:
http://cwiki.apache.org/S2PLUGINS/table-tags.html
It includes a UI tag that displays a basic pager. (It also does sorting)
This is a struts 2 port of what we use for paging and sorting in webwork.
Tom
Joshua Jackson-3 wrote:
Dear all,
How do I implement
Otherwise, if all else fails, you can just skip the junit tests:
mvn -Dmaven.test.skip=true install
that should at least allow you to build the code if you're having issues
with the unit tests.
Pavel Sapozhnikov wrote:
Hey Tom thanks I actually tried that but I think it gave me no class
50 matches
Mail list logo