Also, the file should be LoginAction-validation.xml . Use the config-browser
to see that you have the validators in place.
Chris
-Original Message-
From: Gabriel Belingueres belingue...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Wed, Jan 20, 2010
The Object tag previously referred to is where you can launch a java app
from
a jsp (or even an ordinary html page). Check out Java Web Start.
Your java app can be an ordinary swing app and the server sends
a .jnlp file with instructions to the browser to download the necessary classes.
Your
Your trouble is here:
pstmtname = conn.prepareStatement(sql);
sql = UPDATE tbl_content_admin_accounts SET CA_PASSWORD = ? WHERE ROW_ID =
+ UserID;
When you call prepareStatement(sql) the sql string is sent to the database
which prepares it (essentially does all the steps neccessary
They are quite distinct -- ThreadLocal variables are not shared at all while
synchronized permits sharing (but not concurrently).
Suppose you have a background thread that does some calculation that you might
need [in my case you have an abstract
graph and a background thread is checking if
I think the @OP's difficulty is with the name vs method attributes of the
action element so (if I may
be excused for borrow Musachy's example) if you have
package name=survey namespace=/survey extends=struts-default
action name=save class=survey.SurveyAction method=persist
Since it is not happening consistently and seems to happen more under load it
could well be that the instantiation of an object is triggering a
garbage collection so it might be unrelated to the s:bean itself and more to
hanging onto some other objects for too long.
Chris
-Original
Do you also have an exception for the decorator tag library? The one you have
in your post is for the
page tag library. Check that you have the struts2-sitemesh-plugin jar in
WEB-INF/lib because that is
where those tag libraries are. Also check that your web.xml has the appropriate
elements
The name of the xml file is immaterial -- what is the namespace attribute on
the package you defined inside of home.xml?
I would use the config-browser to check that the configuration is what you
intended.
Chris
-Original Message-
From: Muthu Velappan
JSP page:
s:textfield name=CBookingFactorsBean.salesAfterDiscount size=13
cssClass=Input/
The c in CBookingFactorsBean should be lower case , I think.
Chris
-Original Message-
From: Raghuveer.V raghuve...@infotechsw.com
To: user@struts.apache.org
Sent: Mon, Sep
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
Try the pattern #.00.
Chris
-Original Message-
From: ashwin ala ashwin...@gmail.com
To: user@struts.apache.org
Sent: Sat, Sep 12, 2009 2:30 pm
Subject: RE: Formatting in extended theme using Freemarker
Thank you for the prompt replies.
The BigDecimal rounding
Check out s:bean
http://struts.apache.org/2.1.6/docs/bean.html
Chris
-Original Message-
From: deepannair deepann...@gmail.com
To: user@struts.apache.org
Sent: Fri, Sep 11, 2009 9:51 am
Subject: Struts jsp access java class
I have a properties class which has
By the way, Pawel, at that link some software seems to have severely butchered
your xml
in the struts.xml part.
Chris
-Original Message-
From: Dale Newfield d...@newfield.org
To: Struts Users Mailing List user@struts.apache.org
Sent: Wed, Sep 9, 2009 12:41 pm
Subject: Re:
1) Create a file called snippet.jsp with just:
h4
And this line is from the target action.
/h4
-
2) Change result in your struts.xml to read
struts
package name=default extends=struts-default
action
Great. The trick is not to have an action's result contain a call to the
action --
you set up an infinite recursion that way.
Chris
-Original Message-
From: briannic...@aspca.org
To: Struts Users Mailing List user@struts.apache.org
Sent: Wed, Sep 2, 2009 3:21 pm
Subject:
Different tags do different things so I'm afraid you have to look at the
documentation for
a tag to see just what it does. This one was written for the purpose of
allowing you to
use the result of an action in the page you are currently rendering.
Chris
-Original
JSP create sessions by default. It is servlets that don't create a session
unless you
call getSession(). Do you have something like
%@ page session=false
at the top of your JSPs?
Chris
-Original Message-
From: Rajeev Sharma rajeev1...@gmail.com
To: Struts Users
The OP is mapping the result by XML so the behavior (as someone pointed out) is
what you would expect.
Chris
-Original Message-
From: Paweł Wielgus poulw...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Fri, Aug 28, 2009 2:58 am
Subject: Re:
In the time between the first time you go to the page and the second time
where in your application is the data supposed to be?
Chris
-Original Message-
From: Paweł Wielgus poulw...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Fri, Aug 28, 2009 5:34
His status is a char.
Chris
-Original Message-
From: Luca wittgen...@yahoo.it
To: Struts Users Mailing List user@struts.apache.org
Sent: Fri, Aug 28, 2009 11:58 am
Subject: Re: Struts 2 s:if tag
Hi, do you try to check that the methods in the Action class match the
Wasn't being picky -- the single versus double quote rules in
OGNL for single character Strings versus chars often trip
people up at places like
s:if test=%{status!='N'}
Chris
-Original Message-
From: Luca wittgen...@yahoo.it
To: Struts Users Mailing List
I would get a copy of the Tomcat version you are targeting from
http://archive.apache.org/dist/tomcat/tomcat-5/
and see if it runs. That would answer you question much faster than us guessing.
Cheers.
Chris
-Original Message-
From: kalaimathi srp@gmail.com
To:
Where is the information that is being shared? Your problem might
have nothing to do with authentication.
Chris
-Original Message-
From: pankaj semwal semw...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Mon, Aug 24, 2009 10:15 am
Subject: Re:
where is the information they are sharing located?
Chris
-Original Message-
From: Struts Two struts...@yahoo.ca
To: Struts Users Mailing List user@struts.apache.org
Sent: Sun, Aug 23, 2009 10:05 am
Subject: Re: Intermittent Session Problems in Strut2.
Do you log
The action is instantiated before the interceptors fire so all your
interceptors
are processing the request after the action is created.
after it is created
Chris
-Original Message-
From: Karan Malhi karan.ma...@gmail.com
To: user@struts.apache.org
Sent: Fri, Aug
Sorry -- I should have asked if you were using Struts 1 or 2!
Struts 2 interceptors kick in after action creation.
Chris
-Original Message-
From: Karan Malhi karan.ma...@gmail.com
To: user@struts.apache.org
Sent: Fri, Aug 21, 2009 11:28 pm
Subject: How to register an
Yes, the interceptors can tinker with the action before the action method
executes .
Chris
-Original Message-
From: Karan Malhi karan.ma...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Sat, Aug 22, 2009 10:35 pm
Subject: Re: How to register an
Check it out with the config-browser -- you should see on the results tab if
your login result is
really there.
Chris
-Original Message-
From: ManiKanta G go4m...@gmail.com
To: Struts-User user@struts.apache.org
Sent: Fri, Aug 21, 2009 3:36 am
Subject: Problem with result
You are kind, Wes. I saw that message and thought I don't want anything to do
with
this person!
Chris
-Original Message-
From: Wes Wannemacher w...@wantii.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Thu, Aug 20, 2009 9:39 am
Subject: Re: Re: Why submit
That is because you are using Struts 2.1.5. There is a bug in the type
conversion for doubles in XWork which is fixed in
the current version (XWork 2.1.4). When you enter a zero it claims it is not a
valid value.
To use XWork 2.1.4 you need Struts 2.1.7. I have just sent the zips I promised
OGNL properties are JavaBean properties. In your case you are trying to
define the property stockAmount twice with two different types.
Instead of overloading the setter give it a different name:
public void setStockAmountStr(String stockAmount) {
this.stockAmount =
Glad it is working.
Yes, in a JavaBean the setter/getter methods define the property. The type is
derived from the arguments and return types of those methods. The actual data
might not even be stored in the bean, e.g. it might be stored in a database or
be a calculated value.
OGNL follows
The names of the params for double validator are different from those of int
validator.
Instead of max and min your choices are
minInclusive
maxInclusive
minExclusive
maxExclusive
Chris
-Original Message-
From: sandy.verfai...@roularta.be
To: user@struts.apache.org
Sent: Mon,
In the products.jsp you assume the action? addProduct to be in the /service
namespace but? shop package which
contains the action is not in the /service namespace.
Try
package name=shop namespace=/service extends=struts-default
-Original Message-
From:
ok -- I used as much of your code as you have posted and put a working version
at
http://pastie.org/585837
Chris
-Original Message-
From: sandy.verfai...@roularta.be
To: user@struts.apache.org
Sent: Mon, Aug 17, 2009 2:09 pm
Subject: RE: validation
Requiredstring
For primitives and dates you don't need to do anything? -- the type conversion
is automatic
Chris
-Original Message-
From: sandy.verfai...@roularta.be
To: user@struts.apache.org
Sent: Mon, Aug 17, 2009 10:43 am
Subject: RE: validation
Chris,
Your version doesn't
That looks like a question -- it is meant to be an assertion but somehow
question marks crept in.
C.
-Original Message-
From: musom...@aol.com
To: user@struts.apache.org
Sent: Mon, Aug 17, 2009 11:12 am
Subject: Re: validation
For primitives and dates you don't need
Note that
org.apache.struts2.dispatcher.FilterDispatcher
is deprecated since 2.1.3 in favor of
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.
-Original Message-
From: Martin Gainty mgai...@hotmail.com
To: Struts Users Mailing List
Have dynamic method invocation off and be careful with wildcards.
Another possibility is to have an interceptor veto calls to that method
but that would get tedious if you have many of them.
chris
-Original Message-
From: Louis Voo jl...@yahoo.com
To: Struts Users Mailing List
Check
@Result(name=input,value=findUser,type=ServletActionRedirectResult.class)
I think the attribute should be location rather than value in 2.1.x
Chris
-Original Message-
From: spsarolkar spsarol...@gmail.com
To: user@struts.apache.org
Sent: Thu, Aug 13, 2009 12:47 am
try the pattern
field name=model.pointOfContact.emailAddress
etc
-Original Message-
From: James Carr james.r.c...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Thu, Aug 13, 2009 9:53 am
Subject: Re: Validating that two fields match?
I have tried
But then look at
http://struts.apache.org/2.1.6/docs/convention-plugin.html#ConventionPlugin-Resultannotation
I am using location successfuly.
C
-Original Message-
From: Martin Gainty mgai...@hotmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Thu, Aug 13,
Martin I think the docs you are looking at are for the old
org.apache.struts2.config.Result
rather than
org.apache.struts2.convention.annotation.Result.
Chris
-Original Message-
From: musom...@aol.com
To: user@struts.apache.org
Sent: Thu, Aug 13, 2009 10:10 am
Subject: Re:
Check out
http://struts.apache.org/2.x/docs/expression-validator.html
If you are using annotations check out
http://struts.apache.org/2.x/docs/expressionvalidator-annotation.html
Your expression will be something like
@ExpressionValidator(expression=email.equals(confirmEmail),? message=The
Hopefully it solves the OP's problem.
Cheers
Chris
-Original Message-
From: Zoran Avtarovski zo...@sparecreative.com
To: Struts Users Mailing List user@struts.apache.org; musom...@aol.com
Sent: Wed, Aug 12, 2009 7:27 pm
Subject: Re: Configuring SiteMesh for specific action
SiteMesh is just a decorator and not Struts 2 centric so you won't find what
you want in its native configuration.? As far as it is concerned the view could
have been generated by a CGI script of anything. I think the path of least
effort it to have two essentially blank JSps that include the
You did understand me correctly and I see your dilema -- problem is the tags
like exclude are
not aware of what action the view came from :(
-Original Message-
From: CS Wong lilw...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Tue, Aug 11, 2009 1:03 pm
I think this is what you are after:
http://struts.apache.org/2.x/docs/visitor-validator.html
quote...This
allows you to use the ModelDriven development pattern ... /quote
-Original Message-
From: James Carr james.r.c...@gmail.com
To: Struts Users Mailing List
Are you able to put a parameter in your action URL -- something like
.myAction.action@printable=true
because in that case you can configure different (or no) decoration based on
the parameter
chris
-Original Message-
From: CS Wong lilw...@gmail.com
To: Struts Users Mailing
I think your pattern is on the namespace rather than the action?
C.
-Original Message-
From: Zoran Avtarovski zo...@sparecreative.com
To: Struts Users Mailing List user@struts.apache.org; CS Wong
lilw...@gmail.com
Sent: Tue, Aug 11, 2009 9:49 pm
Subject: Re: Configuring
Looks more like the questioner is after StaticParams. I would check
-- that you have the appropriate setter
-- that your interceptor stack includes staticParams
Chris
-Original Message-
From: Martin Gainty mgai...@hotmail.com
To: Struts Users Mailing List user@struts.apache.org
is it (questionId) human generated 9I am thinking leading/trailing white space
etc).
Really clutching at straws but somehow the questionid must occasionally be
different ...
Chris
-Original Message-
From: Bhaarat Sharma bhaara...@gmail.com
To: Struts Users Mailing List
what type is questionId? You might have a problem with the
equals() in it.
Chris
-Original Message-
From: Wes Wannemacher w...@wantii.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Wed, Aug 5, 2009 1:09 pm
Subject: Re: struts2 ognl confusion
I would
it possible to not click any url but
still set a setter
If you don't need any user interraction why not do it in the action? It is not
clear what
would be the point of a view that without any user input then proceeds to do
further logic...
Chris
-Original Message-
No offence intended, John but I would strongly counsel you to read some Tomcat
documentation before trying to launch your shopping cart.
At the very least the official Tomcat docs for you version of Tomcat
(http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html) or some such url
and a
Not sure what you mean when you say it is dynamic -- Why not keep track of the
original key-value pairs in the user session?
You only need the key.
Chris
-Original Message-
From: Bhaarat Sharma bhaara...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Mon,
I vaguely remember it working on some browsers and not on others ... I
think it was IE that did not work. Try another browser.
Chris
**A Good Credit Score is 700 or Above. See yours in just 2 easy
steps!
[The standard?diclaimer that it is not a popularity contest and nothing that
does the job for you is wrong.]
Would you not agree that if you are going to mock up the framework the
simulation of S2 of highest fidelity is S2 itself.
IMHO?you are digging a swimming pool by the ocean to test your
JWebUnit integrates? nicely with eclipse. I fall in the?'unit tests are for
small? units' group.
If your validation is configured wrong you won't fix it in the action so you
are not really unit
testing the action at that point. I prefer separate JUnit unit tests and
JWebUnit tests to test
the
JSP tags wont't funtion inside jars -- the JSPs you might have spotted in
jars are probably using Freemarker tags which will work in jars.
Chris
-Original Message-
From: Dale Newfield d...@newfield.org
To: Struts Users Mailing List user@struts.apache.org
Sent: Fri, Jul 10, 2009
It is unlikely but if your actions have a finalize() method they won't be
collected by minor GCs
Chris
-Original Message-
From: Anselmo anselm.ba...@googlemail.com
To: user@struts.apache.org
Sent: Sat, Jul 11, 2009 2:55 am
Subject: Re: Actions are not Garbage Collected
Are you not mixing Struts 1 and Struts 2 concepts?
Chris
-Original Message-
From: Martin Gainty mgai...@hotmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Tue, Jul 7, 2009 2:26 pm
Subject: RE: Commercial framework based on struts2.
majority of
If you lecture your developers to be aware that any public method becomes fair
game the security concern might be mitigated but you still have a
maintainability issue. With explicit configuration someone inheriting the code
can easily figure out how an action method is used by looking at
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 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)
I am with the devs on this one -- typically the constructor of an object whose
life cycle is managed by
the framework is off limits -- you wouldn't write code to throw exceptions from
a servlet or
EJB etc.
Chris
-Original Message-
From: Wes Wannemacher w...@wantii.com
To: Struts
Are you saying you have a method called input() in the action or is it that
you are
getting a result code input which would imply a validation error?
-Original Message-
From: Pro1712 pro1...@yahoo.de
To: user@struts.apache.org
Sent: Tue, Jun 23, 2009 9:34 am
Subject: Update to
I would think this is even more expensive that just doling out static content
from Tomcat as Struts 2
is also creating a whole bunch of objects for the request cycle.
Chris
-Original Message-
From: Wes Wannemacher w...@wantii.com
To: Struts Users Mailing List
Are you using xml or annotations?
Does your package extend struts-default? (the 'built-in' types are defined
there)
Chris
-Original Message-
From: Jim Collings jlistn...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Fri, 29 May 2009 2:57 pm
Subject: Re:
Jim, since it is the interceptor you are interested in testing why not
test it without the Convention Plug-in (configuring the action by
xml) to see if it is working, which is your aim. That way you don't
have two things you are unsure of happening at once.
Cheers
Chris
-Original
Fernandes I had the same problem -- essentially I could not get it to work
using the Convention plugin. Also, when you configure by xml you can't
have dev mode on.
The most I have gleaned off the internet, and there are people who
should know better than me on this list the problem is to do
Lukasz, it is JBoss specific -- actually JBoss 5. Apps that
work on JBoss 4 with the Convention Plugin fail with
JBoss 5.
I can post the specific error messages when I get home next
week (I am in Stockholm without my code.
Cheers
Chris
-Original Message-
From: Lukasz Lenart
Me again: here is a link with a discussion. Don't hold your breath as
it does not give a work around.
http://www.nabble.com/Problems-using-Struts2-on-JBoss-5.0.1GA-td22969807.html
Chris
-Original Message-
From: Fernandes Celinio cfernan...@sopragroup.com
To: Struts Users Mailing List
There is something new -- something to do with virtual classpaths that
makes JBoss 5 reject apps with dev mode on or with the Convention
plugin active while JBoss 4 accepts them.
Chris
-Original Message-
From: Lukasz Lenart lukasz.len...@googlemail.com
To: Struts Users Mailing List
I bet it has something to do with a null not being assignable to an int.
Chris
-Original Message-
From: Richard Sayre richardsa...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Mon, 11 May 2009 11:44 am
Subject: Re: Converter trying to set String on int
There is bound to be some logic that determines what method the button
would invoke. Why not put that logic in the action method and have it call
appropriate helper methods? In other words move the fork from the view to
inside
the action method.
Chris
**Remember Mom this Mother's
Here is the link to the discussion on Jasperforge
http://jasperforge.org/plugins/espforum/view.php?group_id=102forumid=103topicid=47545
I wasn't aware of a poi-plugin for Struts2 -- can't see it in the registry. I
used the JasperReports plugin and the poi jar. You must have a different
When/if you use the JasperReports plugin use an older version of poi (3.0 is
the latest I had success with). The new poi throws an exception which many have
complained about but has not been fixed/
Chris
-Original Message-
From: renisha renish...@gmail.com
To: user@struts.apache.org
You might want to be cautious about that -- essentially you are allowing the
client by typing
a URL in their browser to delete material in your database in an adhoc fashion.
Chris M
-Original Message-
From: Bhaarat Sharma bhaara...@gmail.com
To: Struts Users Mailing List
Sorry i was not very clear: when you configure your application to allow the
bang (!) notation, the client gets to choose *any* of the
public methods on your action and use them as action methods as opposed to you
listing what your action methods are explicitly.
So?the developer has to be
Why not write the code in its own action or pojo and use s:action or
s:bean wherever you want it?
Chris M
**The Average US Credit Score is 692. See Yours in Just 2 Easy
Steps!
Yes, in between the s:action or s:bean tags the object is sitting on
top of the value stack so you can access it with OGNL like you would a
'normal' action. Handy for things like populating combo boxes which crop up all
over the place.
Chris M
**The Average US Credit Score is
Since interceptors are not thread safe I would look at manipulating fields
from a given thread with a jaundiced eye.
Chris M.
-Original Message-
From: Nils-Helge Garli Hegvik nil...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Fri, 3 Apr 2009 1:46 am
An interceptor has access to application via ActionContext so it is easy to
rig up. From anywhere in your application you can manipulate an entry in
application and have the interceptor check if it matches the value it currently
has. I still think it is an unorthodox approach though. It
Will do.
Chris
-Original Message-
From: Musachy Barroso musa...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Tue, 31 Mar 2009 11:09 am
Subject: Re: ExecuteAndWaitInterceptor not working (2.1.6)
Add the full stack trace and as much information as
We are at the point where in many cases we will want an action to
1. implement Action (for configuration by convention purposes) and also
2. use the @Action annotation
So we are faced with either using fully qualified names for one of the
'Action's or taking the route of extending
Maybe we should start calling them struts2 beans or something. It might also
lessen the frequency of people thinking they are functionally the same as
Struts 1 actions.
Chris
-Original Message-
From: Musachy Barroso musa...@gmail.com
To: Struts Users Mailing List
Thanks --? I think Struts 2.0.x had an earlier version of the interceptor that
would create a wait page dynamically.? No problem as long as it is the expected
behavior.
That being the case, perhaps we should change the documentation at
Exactly -- used to work in 2.0.x but must have broken in the transition.
Chris
-Original Message-
From: Dale Newfield d...@newfield.org
To: Struts Users Mailing List user@struts.apache.org
Sent: Mon, 30 Mar 2009 3:51 pm
Subject: Re: ExecuteAndWaitInterceptor not working
Here is an example and its struts.xml (you get the same result with convention
plug-in)
=
package rain.actions.all;
public class AddMusicRecordingAction{
private static final long serialVersionUID = 1L;
private String artist;
private String category;
private double
Forgot the jsps -- sorry!
=
%@ taglib prefix=s uri=/struts-tags%
html
head
titleAdd Music Recording/title
/head
body
h3
Enter New Music Recording Details
/h3
div
s:form action=add-music-recording.action
Here is a smaller more succinct example to show the config-browser
misbehaving. (No xml -- using convention plugin)
Jars in WEB-INF/lib:
commons-collections-3.2.1.jar
commons-fileupload-1.2.1.jar
commons-logging-1.1.1.jar
freemarker-2.3.13.jar
log4j-1.2.15.jar
ognl-2.6.11.jar
execAndWait in 2.1.6 gives the following exception when it kicks in: (code
pasted below)
java.lang.UnsupportedOperationException
??? java.util.Collections$UnmodifiableMap.put(Collections.java:1285)
???
I find it doesn't matter which action you are looking at -- you get the same
list of 38 key-value pairs which are clearly not the bean properties of your
action. The list is pasted below:
It looks very much like we are getting the bean properties of some Class?
object ...?
Chris M
annotation
it as
it was driving me nuts!
You get free drinks if I go to Japan or you come to the States...
Cheers,
Ryan
musomesa wrote:
I got your code to run (paseted below). Just so I am sure I am doing what
you are trying to do:
1. I made no changes to Setter or SetterList so that I don't break
Hi Sumit -- the two are different. Easiest to illustrate by example:
Definitions:
Interceptor stack: an ordered list of interceptors with pre/post processing
logic. You have one.
Value stack: a stack (in data structure sense) that holds javabeans including
your current action. You have one
Thanks for clarifying.
Chris
-Original Message-
From: Musachy Barroso musa...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Fri, 13 Mar 2009 10:44 pm
Subject: Re: Do all actions in an action class (struts 2.1) have to inherit
definitions from the same package?
the Map and use the s:action tag as you
populate the select.
Cheers
Chris aka musomesa
-Original Message-
From: Muthu Velappan muthu.velap...@aspiresys.com
To: user@struts.apache.org
Sent: Fri, 13 Mar 2009 2:12 pm
Subject: org.apache.jasper.JasperException: tag 'select', field 'list', name
Question on design intent: I noticed that the @Action annotation does not have
attributes for a parent namespace so if you have multiple actions in the same
class you only have the @ParentPackage class level annotation to indicate the
location of definitions for custom inteceptors, results
Hi Phan,
??? I wrestled with this problem until I was out of my depth.?
I tried it with an ArrayListArrayListDouble initialized as
[[1.0, 2.0, 3.0], [7.0, 8.0, 9.0]]
and on resubmission the data keeps getting flattened to
[[[1.0]], [[2.0]], [[3.0]], [[7.0]], [[8.0]], [[9.0]]]
:(
Here is
1 - 100 of 106 matches
Mail list logo