Hello,
For struts2.5 beta version, can someone help what may cause action class
is not called please?
(1) web.xml
struts2
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter
actionPackages
project.action
struts2.5:
(2) index.jsp
<%
String context_path = request.getContextPath();
response.sendRedirect(context_path +
"/Login/ProcessLoginAction.action");
%>
(3) struts.xml
class="project.action.ProcessLoginAction">
login_main_page
If written
using wild cards in action. If you don't want to switch between methods
dynamically,
Use switch methods dynamically.
In action class:
execute() as default
method_name2()
method_name3()..
that is to call execute then you should remove the "*" from the name, remove
method
parameter,
ProcessLoginAction is not called. Which setups are missing/wrong that may
cause the failure please?
I think it's already fixed but the fix is in 'master' branch, not
released yet - see that discussion
http://markmail.org/message/3xtprewypf3u7mxr
Got it. After Beta period, stable version has
Hello,
- Tiles 2 Plugin was upgraded to latest available Tiles 2 version, see WW-4568
tiles3.x, everything success.
For tiles2.2.2, after migrating from2.3.24.1 to 2.3.28, got the
following error:
org.apache.tiles.definition.NoSuchDefinitionException: login_page
But "login_page" is in
upgraded struts-core and all the dependencies to 2.3.28,
along with that came new tiles libraries.
I got the similar exception messages. Upgrade from tiles2.x to tiles3.x
and no error messages anymore.
And a problem:
SEVERE: Servlet.service() for servlet jsp threw exception
Hello,
There is no struts-dojo jar in 2.5.2. May I know which new struts2.5.2
jar includes the following tags please?
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
hi, is there any plan for the date of end of life for 2.3.x series?
No exact date but you can only expect security fixes (if possible)
that will ported into 2.3.x series.
should consider migrating into 2.5.x series which isn't so hard.
Will 2.5.x support log4j1.x? There are thousands of classes
try the bridge to log4j1
https://logging.apache.org/log4j/log4j-2.2/log4j-1.2-api/index.html
Updated to:
. log4j-api-2.6.2.jar
. log4j-core-2.6.2.jar
. log4j-web-2.6.2.jar
. log4j-1.2-api-2.6.2.jar
. commons-logging-1.2.jar
. struts2.5.2. jars
Didn't change web.xml and log4j.xml.
But log
Hello,
http://struts.apache.org/download.html#struts-2330
click "Full Distribution:struts-2.3.30-all.zip"
Got "Not Found The requested URL /struts-2.3.30-all.zip was not found on
this server."
Seems link http://struts.apache.org/struts-2.3.30-all.zip is empty.
Hello,
http://struts.apache.org/download.html#struts-2330
Please use http://struts.apache.org/download.cgi#struts-2330 - where
did you find the above link?
From the email below.
Forwarded Message
Subject:[ANN] Apache Struts 2.3.30 GA
Date: Fri, 15 Jul 2016
Hello,
Upgrade 2.3.28.1 to 2.5.1.
Tried to start tomcat7.0.70, and got the following msg. Can someone let
me know which jar(s) are missing/wrong version please?
SEVERE: Exception starting filter struts2:
java.lang.NoSuchMethodError:
ognl.SimpleNode.isOperation(Lognl/OgnlContext;)Z
at
Hello,
Upgrade 2.3.28.1 to 2.5.1.
Tried to start tomcat7.0.70, and got the following msg. Can someone
let me know which jar(s) are missing/wrong version please?
SEVERE: Exception starting filter struts2:
java.lang.NoSuchMethodError:
ognl.SimpleNode.isOperation(Lognl/OgnlContext;)Z
at
Hello,
https://struts.apache.org/announce.html shows:
- Struts 2.5.8 no longer supports the directive in struts.xml
Used to have: "s1.xml, s2.xml, sN.xml".
Struts.xml:
.
In version 2.5.10, do we need any changes to include s1.xml... sN.xml
please?
Thanks.
Changed asm3.x to 5.2 jars, and the warning message disappear.
Hello,
After updated struts jars from 2.5.3 to 2.5.8, for each action class,
got the following warning message:
java.lang.IncompatibleClassChangeError: class
org.apache.struts2.convention.DefaultClassFinder$InfoBuildingVisitor
Hello,
After updated struts jars from 2.5.3 to 2.5.8, for each action class,
got the following warning message:
java.lang.IncompatibleClassChangeError: class
org.apache.struts2.convention.DefaultClassFinder$InfoBuildingVisitor has
interface org.objectweb.asm.ClassVisitor as super class
Hello,
Ajax methods work in http, but NOT https.
Seems due to cross-origin HTTP request.
May I know how to setup "Access-Control-Allow-Origin" in
struts/jsp/servlet please?
Have tried the following but did NOT work.
(1) mainlayout.jsp
response.addHeader("Access-Control-Allow-Origin",
Hello,
Tried to upload file, and always got the following errors:
Request exceeded allowed size limit! Max size allowed is: 2,097,152 but
request was: 2,463,633!
May I know where I missed the steps please?
struts.xml
extends="security-fix" strict-method-invocation="false">
I'm not sure, but I think the tomcat configuration is case sensitive.
Can you please try "maxPostSize" instead of "maxpostsize" in your connector
config?
Have updated to the following and succeeded this time (struts2: most
recent version).
(1) server.xml
Change to maxPostSize
(2)
Hello,
May I know do you release one update version for 2.3.x about this bug
fix as well?
Thanks.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Hello,
2017-09-05 15:17 GMT+02:00 Lukasz Lenart :
- S2-052 Possible Remote Code Execution attack when using the Struts REST
plugin with XStream handler to handle XML payloads
http://struts.apache.org/docs/s2-050.html
It's supposed to be
Hello,
I finally read your email where you gave the dist URL for the dev release.
This is the release that I should use for 2.3 right?
https://dist.apache.org/repos/dist/dev/struts/2.3.34/
Thanks.
I tested against the struts2-rest-showcase app, a URL that was vulnerable
in other versions.
I
Hello,
Just want to double check, for struts2.5.13 and 2.3.34, the following
issue has been covered and resolved, right?
http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html
Thanks a lot.
-
Hello,
For struts2.5.14.1, I have an issue with utf-8 encoding (jsp submit to
action class; bean get wrong character).
(1) web.xml
*.jsp
UTF-8
set character encoding
setCharacterEncodingFilter
SetCharacterEncodingFilter
encoding
UTF-8
Hello,
vulnerability exists in a JSON Jackson library and it's registered under
CVE-2017-7525.
I think you mean the following jars right?
(1) jackson-core-2.9.2.jar
(2) jackson-annotations-2.9.0.jar
(3) jackson-databind-2.9.2.jar
Please read the bulletin [1] and apply possible
solutions.
Hello,
In web.xml:
404
/WEB-INF/pages/errorinfo/tiles_404.jsp
For each struts2 action class shows/direct to correct page, but the
above line is always called.
Could someone let me know what may cause the above section called please?
Thanks a lot!
--
struts2.5.14.1,
Any clue why action classes are shown correctly, but 404.jsp still called?
In 404.jsp only one line: System.out.println("test");
All struts action classes can be shown correctly, but 404.jsp is called
by web.xml when going from one page to another.
Thanks.
Hello,
In web.xml:
On 1/6/2018 12:04 AM, Emi wrote:
404.jsp is called by web.xml when going from one page to another.
Maybe other requests like a missing favicon, css or javascript causes this.
Yes.
In one one css file, the following cods caused 404 error.
body {
font: 0.7em/1.5em "Trebuchet MS&quo
Firstly you should decide what do you like about life-time of that
thread pool without being worry about calling shutdown. All your
examples have solutions to call shutdown which I described below...
Please read below
[Try1] . By springframe work setup ThreadPool . In action class, use
Firstly you should decide what do you like about life-time of that
thread pool without being worry about calling shutdown. All your
examples have solutions to call shutdown which I described below...
Please read below
[Try1] . By springframe work setup ThreadPool . In action class,
use
[Try2] . Each user login session create one fixedPool . When user
logout, fixedPool.shutdown() What about if users do not call
logout action. Where and how the fixedPool to be shutdown? Is
there a way to auto shutdown after period of time?
You can write your own listener by implementing
It's still accessible:
public void sessionCreated(HttpSessionEvent hse) {
final HttpSession session = hse.getSession();
logger.debug("session created");
session.setAttribute(KEY, new Clickstream());
}
public void sessionDestroyed(HttpSessionEvent hse)
Hello Yasser,
You can write your own listener by implementing HttpSessionListener
and call shutdown in it's `sessionDestroyed` method. Please see [1].
[1] http://www.myjavarecipes.com/tag/session-timeout-handling-in-java/
In HttpSessionListener, it seems that there are no session attributes
Hello,
Can you suggest the best way to setup newFixedThreadPool in struts2
webapp please?
[Try1]
. By springframe work setup ThreadPool
. In action class, use fixedPool
Future f1 = fixedPool.submit(() -> { ...actions such as send
email, etc });
So, there will be NO shutdown in action
Hello,
There is a topic about Parameter Validation Filter
(TrimTextValidationRule, FailIfNotCanonicalizedValidationRule,
FailIfContainsHTMLValidationRule) for servlet
(https://www.owasp.org/index.php/Parameter_Validation_Filter).
I just want to know that struts2.5.14.1 already have these
On 2019-12-10 8:23 a.m., Lukasz Lenart wrote:
wt., 10 gru 2019 o 14:15 napisaĆ(a):
Why do you use "CompleteAutoloadTilesListener" ? And as far I see
everything works in the Showcase app
My application based on tiles3 + struts. As suggested by
https://struts.apache.org/plugins/tiles-3/ ,
OK, I looked at the constructor of
org.springframework.jdbc.support.incrementer.PostgreSQLSequenceMaxValueIncrementer
class which has only two param
Updated it to:
bean id=userIncrementer
class=org.springframework.jdbc.support.incrementer.PostgreSQLSequenceMaxValueIncrementer
Hello,
Can someone tell me how to setup for postgresql
org.springframework.jdbc.support.incrementer.PostgreSQLSequenceMaxValueIncrementer
in applicationContext-ibatis.xml file please?
Here I tried, but failed!
bean id=userIncrementer
Hello ,
For struts1, we use doFilter
public void doFilter(
ServletRequest req,
ServletResponse res,
FilterChain chain)
throws IOException, ServletException
{
HttpServletRequest request = (HttpServletRequest) req;
HttpServletResponse response =
There is a slight issue with www.strutsschool.com (demo site for the
breadcrumb plugin?).
This breadcrumb never got cleaned.
For example, when user goes from home to page1 then to page 2, I would
expect showing
Home Page1 Page2
When Users go back to Page1, showing Home Page1
Can you describe what logic you are looking for?
What sort of application are you working on?
Sorry, I did not know how the breadcrumb plug-in works.
I hope the demo of http://www.strutsschool.com/; is not the showcase of
how the plug-in works.
The example shown by apache websites is
Hello,
May I know how to keep all checkbox in one line please?
s:checkbox label=value1 name=value1_search /
s:checkbox label=value2 name=value2_search /
s:checkbox label=value3 name=value3_search /
I'd like to display
value1 value2 value3 in one line, but
The default struts2 tags use themes that determine how they are
formatted as html[1]. The default theme 'xhtml' wraps each form input
inside a table cell and prepends it with a label to the left or above.
The css_xhtml theme uses the same layout with divs.
You have two options:
- use
Use s:form theme=simple. This will allow you to have 100% control
over the form html. Notice that by dong this you will have to handle
all the formatting of the table by yourself.
I'd like to use all nice features of the new tags, such as label,
tooltips, etc. Even on the tutorial page:
Hello,
Using Struts2.0.11, I have this line in my jsp, which always cause the
exception?
link href=html:rewrite page=/styles.css / rel=stylesheet
type=text/css
Did I do something wrong?
Thanks!
-e
-
To unsubscribe,
Greetings,
Is it possible that each line value in optiontransferselectTag is a
hyperlink action.
for example,
all emp selected emp
emp1 emp6
emp2 emp7
Employee rec emp3
emp4
emp5
Hello,
I downloaded and installed struts2. However, when I tried the bean tag
example:
-- in jsp form --
s:bean name=org.apache.struts2.example.counter.SimpleCounter
var=counter
s:param name=foo value=BAR /
The value of foot is : s:property value=foo/, when inside the
bean tag br /
Hello,
Musachy Barroso wrote:
what version did you download?
I downloaded Example Applications- struts-2.0.9-apps.zip (22mb). I
extracted the lib, and followed the online tutorial page about beans.
I opened struts2-core-2.09.jar, and in META-INF/struts-tags.tld file:
tag
attribute on 2.0.9 as it is a new in 2.1. Right now
the online documentation has a mix of 2.1 and 2.0. Try name instead.
(The documentation for 2.0.9 can be downloaded with the jars)
musachy
On 9/10/07, Emi Lu [EMAIL PROTECTED] wrote:
Hello,
Musachy Barroso wrote:
what version did you download?
I
Hello list,
I saw datetimepicker is a very func in the tutorial. However, when I
tried this:
s:datetimepicker name=delivery.date label=Delivery Date
format=#-#MM-#dd /
I got the following exceptions, my version is struts.2.0.9, should I use
other jar file or only struts2.1 provides
Hello List,
I am using struts1.3.8. May I know is it possible that I can use some
functions/tags provided by 2.0.9.
For example,
. do not change any 1.3.8 .jar files
. Add struts2-core-2.0.9.jar
xwork-2.0.4.jar
ognl-2.6.11.jar
And then use s:datetimepicker name=delivery.date
Hello List,
Tried datetimepicker, whenever I give the displayFormat=-MM-dd,
always get the following warning:
Invalid field value for field todayDate.
Something wrong with my code?
my code:
s:datetimepicker name=todayDate
label=TestDate (-MM-dd)
displayFormat=-MM-dd/
Are you running it under Struts 2?
Tried datetimepicker, whenever I give the
displayFormat=-MM-dd,
always get the following warning:
Invalid field value for field todayDate.
Something wrong with my code?
my code:
s:datetimepicker name=todayDate
label=TestDate (-MM-dd)
Hello,
May I know how to give style such as border color, bgcolor to
s:optiontransferselect, s:form tags please?
Thanks a lot!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Is there a way to hide .action .do by using filter url-pattern?
For example, I have the following codes:
filter
filter-nametutorial/filter-name
filter-class
org.apache.struts2.dispatcher.FilterDispatcher
/filter-class
/filter
filter-mapping
Hello,
May I know where to find tutorials for struts 2 + Tiles 2 ?
I'd like to know
. how to setup Tiles 2 with struts2
. Layout examples of using Tiles2 with struts2
Thanks a lot!
-
To unsubscribe, e-mail: [EMAIL
Hello,
I looked at this page:
http://struts.apache.org/2.x/docs/tiles-plugin.html
Done:
=
[1] Added
dependency
groupIdorg.apache.struts/groupId
artifactIdstruts2-tiles-plugin/artifactId
version${version.tiles}/version
scopecompile/scope
/dependency
to web.xml
[2]
Thank you very much !
It works!
Following Your comments, I did:
=
dependency
groupIdorg.apache.struts/groupId
artifactIdstruts2-tiles-plugin/artifactId
version${version.tiles}/version
scopecompile/scope
/dependency
to web.xml
the above looks like maven stuff..
You also need to add the jars that tiles requires:
copy the Tiles dependencies JARs:
* Jakarta Commons BeanUtils 1.7.0 or above;
* Jakarta Commons Digester 1.8 or above;
* Jakarta Commons Logging (at least API) 1.1 or above
http://tiles.apache.org/getting_started.html
I
At least for now I have loaded Tiles 2 successfully without BeanUtils
and Digester jars :)
It's impossible, digester is needed to read XML files.
I forgot the tiles jars that I downloaded few days ago :(
Sorry!
The full jar lists I had:
=error/Logon.jsp/result
and other parameters will still work.
Cheers!
Emi Lu wrote:
Thank you very much !
It works!
Following Your comments, I did:
=
dependency
groupIdorg.apache.struts/groupId
artifactIdstruts2-tiles-plugin/artifactId
version${version.tiles
Greetings,
Would someone know some good tutorials about struts 2.0.9 + ibatis2.3.0
+ SQLmap
. setup
. examples
Thanks a lot!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learntechnology.net/content/main.jsp
I would be more interested about the setup/configuration/tutorial for
*Struts2 + ibatis2.3*, but not struts1 + ibatis.
On 10/11/07, Emi Lu [EMAIL PROTECTED] wrote:
Greetings,
Would someone know some good tutorials about struts 2.0.9
http://learntechnology.net/content/main.jsp
I would be more interested about the
setup/configuration/tutorial for
*Struts2 + ibatis2.3*, but not struts1 + ibatis.
The point is that the example at the provided link
uses Spring. S2 uses Spring. The differences in the
iBatis/Spring
Good morning,
I have a question about tooltip.
Source code:
s:textfield
name=username
label=Username
tooltip=Enter the same username as you login Windows windows
/
When using Firefox or Konqueror open my page, I always see:
alt=Enter the same username as you login
I have a question about tooltip.
Source code:
s:textfield
name=username
label=Username
tooltip=Enter the same username as you login Windows windows
/
When using Firefox or Konqueror open my page, I always see:
alt=Enter the same username as you login Windows
Source code:
s:textfield
name=username
label=Username
tooltip=Enter the same username as you login Windows windows
/
When using Firefox or Konqueror open my page, I always see:
alt=Enter the same username as you login Windows
Someone knows how to remove alt=Enter
Thank you Musachy!
From struts.apache.org/download.cgi, it seems that neither 2.1.7 nor
2.2.x is ready yet :(
- Lu Ying
Musachy Barroso wrote:
Yes, there is a bug on tooltip.ftl
musachy
On Wed, Jan 28, 2009 at 3:53 PM, Emi Lu em...@encs.concordia.ca wrote:
Source code:
s:textfield
Good morning,
With struts2.1.6, In package.properties:
empty.error={0} cannot be empty.
Setup field error as:
this.addFieldError(username.empty, getText(empty.error));
But is there a way, I can replace {0} with username?
Thanks a lot!
--
Lu Ying
Good morning,
When switching query result page by page (online), I got the following
warning message:
WARNING: Error setting value
ognl.InappropriateExpressionException: Inappropriate OGNL expression: (d
- 6836677) - p
I am lost. Could someone tell me what may cause this warning please?
When switching query result page by page (online), I got the following
warning message:
WARNING: Error setting value
ognl.InappropriateExpressionException: Inappropriate OGNL expression: (d
- 6836677) - p
I am lost. Could someone tell me what may cause this warning please?
Info searched
at 4:39 PM, Dave Newton newton.d...@yahoo.com wrote:
Wouldn't it make sense to include the JSP/expression that's causing the
error?
Dave
Emi Lu wrote:
When switching query result page by page (online), I got the following
warning message:
WARNING: Error setting value
params interceptor doesn't like parameters with spaces
in the name (this was fixed in xwork already), to fix it, set
acceptedParamNames to [[\p{Graph}\s][^,#:=]]* in your param
interceptor.
Right, I am using displayTag(displaytag-1.2.jar). The parameter looks like:
Good afternoon,
A question about getText in jsp file. I'd like to get value from
property file.
in package.properties,
edit.action=Edit information
in jsp,
...
s:i18n name=info.ProcessInfo
s:form action=ProcessInfo
s:submit name=submit value=%{getText('edit.action')} /
/s:form
/s:i18n
Hi Martin,
Take a look at this example
s:property value=%{getText('edit.action')} /
what is displayed when property is displayed in jsp?
I got the same value displayed edit.action :( Do you know where I did
wrong please?
Thanks a lot!
--
Lu Ying
Date: Wed, 4 Feb 2009
Good morning,
I got why: I have to name the same property file name as the action
class. Rename package.properties to ProcessInfo.properties, I got
correct result.
I just wonder isn't package.properties is recognized automatically?
May I know how to use package.properties to display
I got why: I have to name the same property file name as the action
class. Rename package.properties to ProcessInfo.properties, I got
correct result.
I just wonder isn't package.properties is recognized automatically?
May I know how to use package.properties to display getText() in jsp
Hi Dave,
(3) but I do not know how jsp can recognize package.properties?
You're mis-understanding how the text is retrieved from the JSP: the JSP
is calling the action's getText(...) method.
Are you accessing the JSP directly, or through an action?
I am new to struts2. I tried to use
http://t.wits.sg/2008/06/23/howto-struts-2-i18n/
Did not success.
(1) in package.properties
label.code=example value
(2) Put package.properties under /WEB-INF/classes/
(3) in jsp
s:label value=label.code /
Still cannot see the result?
--
Lu Ying
('label.test')} /
--
Lu Ying
Emi Lu wrote:
http://t.wits.sg/2008/06/23/howto-struts-2-i18n/
Did not success.
(1) in package.properties
label.code=example value
(2) Put package.properties under /WEB-INF/classes/
(3) in jsp
s:label value=label.code /
Still cannot see the result?
Again
Good morning,
I have a question based on ibatis + struts. Would it be possible that in
java code, I could get the query in ibatis.
For example, in ibatis_query.xml
select id=test
select * from a
/select
In java,
===
public ActionForward execute(
ActionMapping mapping,
Good morning,
A question about struts1 html:hidden tag.
May I know the differences between (1) vs. (2) please?
(1)html:hidden property=field1 /
(2)html:hidden property=field1 value= /
When I load value from popup windows, it seems that default value will
be setup on (1); while (2) always
Hi Mas,
2) actually assigns the value
1) gets the value of the property from the formbean if it has been assigned in
the formbean.
You may have an action that populates the form by hitting a database, loading
the data in the form
and the forwarding to your current page ie before editing a
Good morning,
In JSP file, may I know how to get action bean please?
form action=... name=f1
%
if(f1.getCode().equals('abc'))
{
%
table ... ... /table
%
}
%
/form
In JSP, I'd like to know how to call methods, fields in action form bean?
Thanks a lot!
--
,
--
Lu Ying
On Thu, Mar 5, 2009 at 3:22 PM, Emi Lu em...@encs.concordia.ca wrote:
Good morning,
In JSP file, may I know how to get action bean please?
form action=... name=f1
%
if(f1.getCode().equals('abc'))
{
%
table ... ... /table
%
}
%
/form
In JSP, I'd like
Good afternoon,
May I know which version of struts1 without memory leak problem?
I use struts1.3.10 and tomcat5.5.23. I stop my web application and did
(1) find tomcat pid = 11718
(2) jmap to review not released classes
jmap -histo 11718 | grep webapp
Attaching to process ID 11718,
Good afternoon,
May I know which version of struts1 without memory leak problem?
I use struts1.3.10 and tomcat5.5.23. I stop my web application and did
(1) find tomcat pid = 11718
(2) jmap to review not released classes
jmap -histo 11718 | grep webapp
Attaching to process ID 11718,
Sorry about sending my question twice because I got the following
failure msg:
Hi. This is the deliver program at bjtu.edu.cn.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
Still see not-released webapp classes even actionForm actionClasses are
shown. May I know why these classes are not auto-released after webapp has
been stopped from tomcat server?
Why would GarbageCollector need to release them? Because You want it?
GC is a tricky beast and it's not
Still see not-released webapp classes even actionForm
actionClasses are
shown. May I know why these classes are not auto-released after
webapp has
been stopped from tomcat server?
Why would GarbageCollector need to release them? Because You want it?
GC is a tricky beast and it's not
Good morning,
Could someone has production comparison between (1) vs. (2)?
(1) Struts2 + Spring + ibatis
(2) Struts2 + Spring + Hibernate
Thanks a lot!
--
Lu Ying
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
Good afternoon,
With struts2.1.81, in action class: addActionMessage(Success!);
in JSP, display s:actionmessage /.
But the success message never show up? Any clues?
Thanks a lot!
--
Lu Ying
-
To unsubscribe, e-mail:
Hi Eduard,
Did you send your success message from the action ?
(1) In action1 (a1.java):
addActionMessage(Success!);
(2) through tiles action1 - action2 (a2.java)
(3) from action2 - final jsp
s:actionmessage /
if from (1) to (3) directly, it will be shown.
But from (1) to (2) to
Hello list,
Struts2 + Spring + ibatis, database connection configuration question:
=
(1) In applicationContext-ibatis.xml
bean id=dataSource class=org.apache.commons.dbcp.BasicDataSource
destroy-method=close
Hello all,
I am using struts2.1.8.1 tiles2.0.7.
The following doc says that dispatch will work, but when I setup:
http://www.vaannila.com/struts-2/struts-2-example/dispatchAction-in-struts-2-example-1.html
My page goes to the correct URL, but the action class ProcessTest is
not called at
Good afternoon,
Could someone tell me how struts2 support optgroup please?
Thanks a lot!
--
Lu Ying
select
optgroup label=Australia
option value =sydneySydney/option
option value =melbourneMelbourne/option
/optgroup
optgroup label=New Zealand
option value =cromwellCromwell/option
option value
Good afternoon,
Struts2.1.8.1, the following push example
http://www.vaannila.com/struts-2/struts-2-example/struts-2-push-tag-example1.html
Title returns, but s:push never returns attributes such as name
under artist. Does someone tries and knows the reason?
bAlbum Title: /b
Musachy Barroso wrote:
The pushed object will be on the stack while the tag is evaluated (in
the tag body), and it will be popped after the end of the tag, so
s:push value=%{'not now john'}
s:property value=%{top}/ --- will print 'not now john'
s:push
s:property value=%{top}/ --will print
Good morning,
I have a problem of running the example:
http://www.vaannila.com/struts-2/struts-2-example/struts-2-iterator-tag-example1.html
JSP is:
table
TR class=even
TD BTitle /B/TD TD BGenre /B/TD
/TR
s:iterator value=songs status=songStatus
tr class=s:if
I have a problem of running the example:
http://www.vaannila.com/struts-2/struts-2-example/struts-2-iterator-tag-example1.html
JSP is:
table
TR class=even
TD BTitle /B/TD TD BGenre /B/TD
/TR
s:iterator value=songs status=songStatus
tr class=s:if test=#songStatus.odd ==
1 - 100 of 240 matches
Mail list logo