Re: [Struts 2] Unable to access resources

2007-12-01 Thread thecyth
Yep, it's in there. My directory structure is as follows: /EcoSim/ /EcoSim/web (JSPs are here) /EcoSim/META-INF /EcoSim/WEB-INF/ (web.xml is here) /EcoSim/WEB-INF/classes (struts.xml is here) /EcoSim/WEB-INF/classes/actions (Welcome

Re: [Struts 2] Unable to access resources

2007-12-01 Thread Nuwan Chandrasoma
Hi, Where do you have your sturts.xml? is it inside the folder WEB-INF/classes/ ? if not you have to move the file to that folder and try. Thanks, Nuwan thecyth wrote: I typed this in: http://localhost:8080/EcoSim/WelcomeAction.action Same result: The requested resource (/EcoSim/Welcome

Re: [Struts 2] Unable to access resources

2007-12-01 Thread thecyth
I typed this in: http://localhost:8080/EcoSim/WelcomeAction.action Same result: The requested resource (/EcoSim/WelcomeAction.action) is not available. nuwan chandrasoma-2 wrote: > > Hi, > > Based on your struts.xml, i dont think you have a URL configured like this > > /EcoSim/web/welcom

Re: [Struts 2] Unable to access resources

2007-12-01 Thread Nuwan Chandrasoma
Hi, Based on your struts.xml, i dont think you have a URL configured like this /EcoSim/web/welcome.action so why don't you type this URL in the browser and see what is the outcome /EcoSim/WelcomeAction.action Thanks, Nuwan thecyth wrote: I get this error message when I try to access ANY of

Re: Struts 2 tree tag question

2007-12-01 Thread john feng
put the box inside the iterate loop: the actionform knows how many boxes being checked by the user. On 11/29/07, akash agrawal <[EMAIL PROTECTED]> wrote: > > Hi John, > > Thanks for the insight. If you can share some code that will be helpful to > understand how you used multibox tag. ( I haven

[Strust 2] Unable to access resources

2007-12-01 Thread thecyth
I get this error message when I try to access ANY of the resources in my app. The requested resource (/EcoSim/web/welcome.action) is not available. Here's my setup: -- welcome.jsp: <%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib prefix="s" uri="/struts-tags

Re: my execute method of action class is getting executed twice

2007-12-01 Thread Gary Affonso
xniit2003 wrote: Hi, I am new in struts2. In my action class I declared some global fields and one execute method.This class extends another class, which extends Actionsupport class. Now my execute method is getting processed twice. From this execute method, execution goes to some other method,

my execute method of action class is getting executed twice

2007-12-01 Thread xniit2003
Hi, I am new in struts2. In my action class I declared some global fields and one execute method.This class extends another class, which extends Actionsupport class. Now my execute method is getting processed twice. >From this execute method, execution goes to some other method, which also gettin

Re: Get the list of all action names defined in struts.xml

2007-12-01 Thread George Dadulescu
Thanks for the help. It did point me in the good direction. Here is the answer: RuntimeConfiguration runtimeConfiguration = Dispatcher.getInstance().getConfigurationManager().getConfiguration().getRuntimeConfiguration(); Map actionConfigs = runtimeConfiguration.getActionConfig