Hello:

I have this struts.xml:

<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    "http://struts.apache.org/dtds/struts-2.0.dtd";>

<struts>
  <!-- Configuration for the default package. -->
  <package name="top" extends="struts-default">
    <action name="Login" class="top.Login">
      <result name="input">/top/Login.jsp</result>
    </action>
  </package>
</struts>

When I go to the url https://tweb.retcgroup.com/thymeleweb/Login.action
it loads fine.

I changed my action to be:
    <action name="top/Login" class="top.Login">
      <result name="input">/top/Login.jsp</result>
    </action>

Now, when I visit the url:
https://tweb.retcgroup.com/thymeleweb/top/Login.action

I get this error:

There is no Action mapped for action name Login. - [unknown location]
        
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:1
86)
        
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsAct
ionProxyFactory.java:41)
        
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:497)
        
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.jav
a:421)

Can actions have paths or are they completely flat?

Thanks,
        Neil

--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.


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

Reply via email to