This sounds like a strange phenomenon that only happens on your
machine. Do you have access to another machine you can try it on?

Matt

On 12/19/07, Rob Hills <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Using AppFuse 2.0 + Struts2
>
> I've described this problem before but had no takers so either no-one
> has seen this before, or else I've not described the problem well
> enough.  It's becoming a major problem for me so I'll have another go at
> describing it.
>
> I have an Action that needs to pull some data from the DB, reorganise it
> into a cross-tabulation and then present it in a read-only display.
>
> I thought this would be simple.  I created an Action that extends
> BaseAction and has a public void prepare() method and a public String
> list() method.  There's also some getters and setters and a method that
> actually builds the list containing the data.
>
> I also have an ActionTest that calls the list method.
>
> In my Struts.xml file I have a simple entry like this:
>
> <action name="deliveryTonnage"
> class="au.com.myapp.webapp.action.DeliveryTonnageAction" method="list">
>     <result>WEB-INF/pages/deliveryTonnageList.jsp</result>
> </action>
>
> When I run my Action test, it passes.  If I step through it with a
> debugger, I see my data list being built and everything is good.
>
> However, when I go to the web container (Tomcat) and try and view my
> page "/deliveryTonnage.html" it throws the error "No result defined for
> action
> au.com.myapp.webapp.action.DeliveryTonnageAction and result success".
>
> When I step through with a debugger, I find that my Action class has no
> list() method visible there!  I went back and checked and it is Public.
> Also, the Action test calls this method OK.
>
> I've clean-compiled numerous times and I've also completely removed and
> redeployed the application to Tomcat numerous times.
>
> Why does my list() method disappear from my class inside the web container?
>
> TIA,
> Rob Hills
> Waikiki, Western Australia
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to