This is a continuation of the problem I posted about last week.
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
Yes. Typo .
Thank you.
Gregor
Dale Newfield wrote:
Gregor Marinšek wrote:
>
I assume you meant: "%{parameter.index.type=='ENUM'}"
-Dale
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional comma
Hi Roger,
I usually use
Denis.
RogerV wrote:
>
>
>
> Gregor Marinšek wrote:
>>
>> You don't have to use "value", because s:iterator puts the value on the
>> top of ValueStack. What about:
>>
>>
>> I assume you are iterating over objects, with defined get/setType
>> Gregor
>>
>
> Tha
Excellent.
Thank you musachy and thanks Brian.
:)
-Original Message-
From: Musachy Barroso [mailto:musa...@gmail.com]
Sent: 08 October 2009 19:44
To: Struts Users Mailing List
Subject: Re: 2.1.6, Convention Plugin + Spring + Glassfish 2 ur2
different applications have different classpat
different applications have different classpaths, so they are
isolated, unless you put the classes in a shared dir, like tomcat
shared lib dir, in that case there would be some mixing, unless you
create package locators for them. Btw i just merged a patch into trunk
that should take care of those e
Hi, thank you very much for your response...
The exceptions don't really bother me, it is just we deployed an app onto a
domain with 5 other apps and it just trawled through all their packages.
This does however beg the question. What would have happened if I had another
S2 app on the domain a
Those exceptions are annoying, but they can be ignored. There are
multiple settings for scanning, like not scanning jars, which you can
play with.
musachy
On Thu, Oct 8, 2009 at 10:19 AM, James Cook wrote:
> Hi All,
>
> I did ask this question before but never received an answer, I do
> understa
All of your links and forms etc in your applications should point to
'actions' they should never point directly to jsp files. (I.e. the user
should never see a url in the address bar that end in .jsp).
It's is normal to have noop actions that do nothing but return 'SUCCESS'.
You would do yourself
Hi All,
I did ask this question before but never received an answer, I do
understand that this is quite complex problem. However I thought I would
ask again in case anyone else has come across this...
When I use the Convention plugin with Spring and Glassfish, upon deploy
of the resulting WAR the
Gregor Marinšek wrote:
>
I assume you meant: "%{parameter.index.type=='ENUM'}"
-Dale
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
wkbutler wrote:
Thanks Eric for posting your solution, this helped me remember that unusual
OGNL syntax on the value attribute.
Once again I'll post my suggestion that the %{} notation be used
EVERYWHERE you expect the framework to evaluate your expression with
OGNL so that these are less con
I'm just getting into Struts 2, and have read through some tutorials and
experimented a bit with some small Struts 2 applications. But, I'm still
missing a fundamental point about the flow, and am looking for help. My
background with JSPs and even HTML is limited, so I apologize if this is
ridic
Thanks Eric for posting your solution, this helped me remember that unusual
OGNL syntax on the value attribute.
Because I have not found so many working examples out there, I'll post mine
too:
CaseFile contains List called 'sentences'.
Qualifier looks like
private Long qualifierId;
Dummy servlet should do it (as mentioned by WES), I know this in case of WAS
where you are going to create plugin-xml file for your HTTP server. Without a
dummy servlet mapped to *.action or *.do, Http server would fail to route any
request that is mapped to *.action or *.do in the filter.
---
I was thinking about this issue recently and wondered if simply
mapping a do-nothing servlet to * would workaround this... I thought
about trying it, but I only have tomcat and jetty handy for testing,
and this doesn't seem to be an issue on either one. Although, a
do-nothing servlet would probably
I have mentioned this before in another thread that Struts2 is breaking Servlet
specification 2.4 in this regard, but have heard no comment on it which means
two things either I have a point or I am way off.
In Servlet specification 2.4 filters are not supposed to be accessed directly
as a reso
Gregor Marinšek wrote:
>
> You don't have to use "value", because s:iterator puts the value on the
> top of ValueStack. What about:
>
>
> I assume you are iterating over objects, with defined get/setType
> Gregor
>
Thanks Gregor, that works - in conjunction with another older nabble post
You don't have to use "value", because s:iterator puts the value on the
top of ValueStack. What about:
I assume you are iterating over objects, with defined get/setType
Gregor
RogerV wrote:
Try something like this.
Gregor
That stops the exception but it's not evaluating correctly.
Try something like this.
Gregor
That stops the exception but it's not evaluating correctly. If I add
to my jsp immediately
prior to the
tag then when it is ENUM, it prints ENUM and then fails to do anything with
the content of the tag.
I should have mentioned that the reason I'm using va
Hi!
The last thing, which log prints out is
"WebLogic server detected. Enabling Struts parameter access work-around."
On Tomcat server, the app starts loading actions. I found this in s2 src
- org.apache.struts2.dispatcher.Dispatcher.java on 375 method
"init_CheckWebLogicWorkaround". Actually t
Try something like this.
Gregor
RogerV wrote:
Could someone correct my syntax please - I can't get this to work at all.
=='ENUM'">
I keep getting a JasperException; equal symbol expected
Regards
--
Gregor Marinšek
TIS d.o.o.
Ljubljanska 9, Maribor
e-mail: gmarin...@tis.si
htt
Could someone correct my syntax please - I can't get this to work at all.
=='ENUM'">
I keep getting a JasperException; equal symbol expected
Regards
--
View this message in context:
http://www.nabble.com/Struts-2-%3Cs%3Aif%3E-tag-tp25801138p25801138.html
Sent from the Struts - User mail
I'm looking for a way of unit testing an action that uses annotations for
validation with 2.1.6.
There is a nice example in the Struts 2.x docs on how to unit test
validation logic in an Action (see here
http://struts.apache.org/2.x/docs/how-do-i-unit-test-my-actions-validation-logic.html)
Unfo
Is there somebody who can help me with this question?
Please :)
--
View this message in context:
http://www.nabble.com/Problem-testing-my-action-when-I%E2%80%99ve-got-a-springbean-inside-the-validators.xml-tp24862185p25799631.html
Sent from the Struts - User mailing list archive at Nabble.com.
24 matches
Mail list logo