I have a very small
struts application,when i click on particular link i get the following error, I am using struts2
WARNING: Could not find action or result
There is no Action mapped for namespace / and action name veggieAction. - [unknown location]
at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:178)
Struts.xml
<package name="default" extends="struts-default" >
<action name ="veggieAction" class="veggieActionBean">
<result name="veggiehome" type="redirect">veggie.jsp</result>
</action>
</package>
I also tried adding namespace.
application context xml
<bean id="veggieActionBean" class="com.expense.signon.TopLayoutAction">
<property name="textprovider" value="VeggieProvider"></property>
</bean>
topMenu1.jsp
Can sombody tell me where am i goign wrong
Thanks
<a href="<s:url action="veggieAction"/>" > VEGGIE