Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Indrasish Ghosh

+ Follow
since Oct 08, 2007
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Indrasish Ghosh

I completly agree. Let me explain it in different way. If I have something to initialize and those are mandetory instance variables then we usually put those in constructors and do not keep any default (blank) construtor. This is a way we restrict the comsumer of that class to go ahead without required fields being initialized.
12 years ago
I know the post is pretty old but can somebody help me in getting this issue resolved. I am using RAD 7.5. When I am trying to hit the URL it is saying me no action found. Here it goes :-

<constant name="struts.devMode" value="true"/>
<package name="default" namespace="/" extends="struts-default">
<action name="verysimple" class="com.packt.s2wad.ch02.sanity.VerySimpleAction">

In Web.xml (Not very sure why)

JSP file exists there.

When I run with a URL http://localhost:<port>/<WebProjectName>/verysimple it says

Dispatcher W com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn Could not find action or result
There is no Action mapped for namespace / and action name verysimple. - [unknown location]
at com.opensymphony.xwork2.DefaultActionProxy.prepare(
at org.apache.struts2.impl.................................

Any Idea on this?
12 years ago