Hi,
Please help me how to perform JUnit testing in Struts 1.1 applications.
Kindly share me any links and other information that will help me a lot.
Thanks in advance.
GoodWill,
Udhay
Could you check now ?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands,
Depends on what you're trying to test. For integration/functional testing I
wouldn't use JUnit, I'd use easyb, jwebunit, or whatever.
I've never bothered unit testing S1 actions because it's so irritating sure
to the servlet spec dependencies, but if you search the web there's quite a
few
Hello List,
Struts2.2.3, it seems that addActionMessage does not show message after
redirect.
Someone knows why?
Thank you,
Emi
Action.java
this.addActionMessage(this.getText(UPDATE.SUCCESS));
return forward_str;
action name=*Action method={1} class=Action
Because it's a redirect, and things in the request go away when
there's a new request.
Dave
On Tue, Jul 12, 2011 at 11:39 AM, Emi Lu em...@encs.concordia.ca wrote:
Hello List,
Struts2.2.3, it seems that addActionMessage does not show message after
redirect.
Someone knows why?
Thank you,
It works for 2.2.1, but the message does not shown for 2.2.3 anymore! Is
it a bug? I have a lots classes depend on it.
Thanks a lot!
Emi
On 07/12/2011 11:39 AM, Emi Lu wrote:
Hello List,
Struts2.2.3, it seems that addActionMessage does not show message after
redirect.
Someone knows why?
I'll need to be convinced that using a stock interceptor stack, and
prototype-scope actions (if using Spring), will keep something in the
request across requests.
Dave
On Tue, Jul 12, 2011 at 11:45 AM, Emi Lu em...@encs.concordia.ca wrote:
It works for 2.2.1, but the message does not shown for
Hello,
I'm look for a solution that will allow me to make significant changes to
action classes (change method signatures, add new methods etc.) but not
have to redploy the application.
I was curious if anyone is using anything other than jrebel or
hotswap(running in debug mode, very limited)
Hi Dave,
Because it's a redirect, and things in the request go away when
there's a new request.
Not true for previous version.
Previous version keeps the ActionMessage. Only ActionErrorMessage does
not show.
Only the new version does not show the message anymore after redirect,
do you
assuming you are refactoring one of the webapp configuration files
you can deploy the refactored webapp to a container which supports 'hot-deploy'
http://www.mulesoft.com/tomcat-deploy#host-auto
Martin
__
Verzicht und Vertraulichkeitanmerkung/Note de
That is definitely not my experience. As Dave said, the Action/Field
Errors/Messages have always been stored in the request and lost across a
redirect. There have been several interceptors that have been talked about
on this list to bridge that problem, but they are not on the stack by
default.
We use jboss eap 5.0.1. The problem is we have to deploy our struts2
application along with a coldfusion application in the same container.
I need something that can monitor the class files for changes and reload
them automatically.
Mitch
From: Martin Gainty mgai...@hotmail.com
To:
On Tue, Jul 12, 2011 at 12:05 PM, Emi Lu wrote:
Because it's a redirect, and things in the request go away when
there's a new request.
Not true for previous version.
Previous version had a bug, then, because by default, anything
relating to an action's instantiation should go away during a
Dave is right Emi. I have been working with other frameworks recently, and
what Struts/2 needs is a simple FlashScope that allows a request to last two
life-cycles. However, unless you were doing something OOTO, a request in
Struts/2 lasts for one reqest/response trip.
Peace,
Scott
On Tue, Jul
Thank you for all inputs! All right, I will have to change my codes.
Emi
On 07/12/2011 12:57 PM, stanl...@gmail.com wrote:
Dave is right Emi. I have been working with other frameworks recently, and
what Struts/2 needs is a simple FlashScope that allows a request to last two
life-cycles.
Do you understand /why/ we're saying it? IMO it'd be beneficial to
understand why you're seeing a change in behavior.
Dave
On Jul 12, 2011 1:17 PM, Emi Lu em...@encs.concordia.ca wrote:
Thank you for all inputs! All right, I will have to change my codes.
Emi
On 07/12/2011 12:57 PM,
On 07/12/2011 01:21 PM, Dave Newton wrote:
Do you understand /why/ we're saying it? IMO it'd be beneficial to
understand why you're seeing a change in behavior.
There were a long discuss about this issue in several emails long time
ago. I will try to find them and forwarded them to you.
I am needing to find a way to integration JFreeChart with my Struts2
application to render image graphics with drill down functionality. I
do believe the framework offers a way to create image maps for the
graphics, but I haven't been able to find a way to get the ChartPlugin
to support these so
http://struts.apache.org/2.2.3/docs/how-can-we-force-the-action-mappings-strutsxml-to-reload.html
According to the link above struts should reload config changes
automatically when in devMode.
I have config files that are included in the struts.xml file. ( include
file=common/common-struts.xml
Which of these is more correct when using Struts2 freemarker tag dynamic
attributes for @s.url:
@s.url action=viewitem itemid=${item.itemid?c} /
or
@s.url action=viewitem itemid=item.itemid /
I've been favoring the second example, since it doesn't require me to remember
to do
On Tuesday, July 12, 2011, struts@spamgourmet.com wrote:
Which of these is more correct when using Struts2 freemarker tag dynamic
attributes for @s.url:
@s.url action=viewitem itemid=${item.itemid?c} /
or
@s.url action=viewitem itemid=item.itemid /
I've been favoring
On 7/12/11 12:57 PM, stanl...@gmail.com wrote:
what Struts/2 needs is a simple FlashScope that allows a request to last two
life-cycles.
Unfortunately most pages are a result of many requests (images,
stylesheets, ajax requests, scripts, etc.), so that constant number (2,
7, 99, whatever)
Hi,
I am using struts 1.3 and running my application in WAS7. When I try to
access my application(http://localhost:9080/dashboard/index.html where
dashboard is context root), I get the below error.
Error 404:
com.ibm.ws.webcontainer.servlet.exception.NoTargetForURIException:No target
servlet
How do you deploy your application ?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For
24 matches
Mail list logo