Hi,
This is about the topic URL tags in struts2 tutorial available in the
below link.
http://struts.apache.org/2.x/docs/using-struts-2-tags.html
Problem is this:
s:url action=hello var=helloLink
s:param name=userNameBruce Phillips/s:param
/s:url
Looks like your container isn't evaluating JSP EL. Make sure your web.xml
is your servlet spec 2.5+.
Dave
On Jan 5, 2012 6:04 AM, Mahesh mag...@gmail.com wrote:
Hi,
This is about the topic URL tags in struts2 tutorial available in the
below link.
The Url is stored in the Struts2 ValueStack. To access this, you should use
the Struts2 Property Tag.
s:property value=helloLink /
Johannes
-
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep
--
View this message in context:
2012/1/5 Dave Newton davelnew...@gmail.com:
Looks like your container isn't evaluating JSP EL. Make sure your web.xml
is your servlet spec 2.5+.
All the time we're specifying as a minimal requirement Servlet API
2.4, shouldn't we change that to 2.5 though ?
Regards
--
Łukasz
+ 48 606 323 122
This issue is only because of JSP EL eval, so isn't really serious... If we
don't actually require 2.5 in the code, raising the version seems a little
arbitrary.
On Jan 5, 2012 8:33 AM, Łukasz Lenart lukasz.len...@googlemail.com
wrote:
2012/1/5 Dave Newton davelnew...@gmail.com:
Looks like
I might be wrong anyway, misread the post on my phone; not sure a var can
be read through plain JSP EL like that-don't recall.
Sorry for the confusion.
Dave
On Jan 5, 2012 8:28 AM, Dave Newton davelnew...@gmail.com wrote:
Looks like your container isn't evaluating JSP EL. Make sure your
Hi,
The version of software being used for running the tutorial is below.
Tomcat 6.0.33
Java 1.6.0_26
Struts 2.3.1.1
on Linux
--
Mahesh
On 5 January 2012 16:33, Mahesh mag...@gmail.com wrote:
Hi,
This is about the topic URL tags in struts2 tutorial available in the
below link.
Not really related to what I said, but like I said, I misread anyway.
Dave
On Jan 5, 2012 9:10 AM, Mahesh mag...@gmail.com wrote:
Hi,
The version of software being used for running the tutorial is below.
Tomcat 6.0.33
Java 1.6.0_26
Struts 2.3.1.1
on Linux
--
Mahesh
On 5 January
2012/1/5 Dave Newton davelnew...@gmail.com:
I might be wrong anyway, misread the post on my phone; not sure a var can
be read through plain JSP EL like that-don't recall.
As I remember it should work. Both notations should be supported ${} and %{}
Regards
--
Łukasz
+ 48 606 323 122
Are you using the chain result type?
Are you storing the Action object itself into session scope and
getting it back later?
2012/1/2 Dave Newton davelnew...@gmail.com:
Are you using Spring?
On Monday, January 2, 2012, cwalet cwal110...@gmail.com wrote:
can't auto clear 是什么意思?
I would search for el-ignored tags in your webapp's web.xml and
tomcat's web.xml, and get rid of them.
2012/1/5 Łukasz Lenart lukasz.len...@googlemail.com:
2012/1/5 Dave Newton davelnew...@gmail.com:
I might be wrong anyway, misread the post on my phone; not sure a var can
be read through
Hi,
I figured out what was going wrong.
My web.xml looked like this:
--
!DOCTYPE web-app PUBLIC
-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
/web-app
Hi
I'm using Struts 2 2.1.8.1 with the Struts 2 JSON plugin. I'm using
accented characters and event if I configure the defaultEncoding to
ISO-8859-1 the resulting JSON document is sent using UTF-8. In IE it
gives a data error because the page encoding ISO-8859-1 is not the
same as the JSON
13 matches
Mail list logo