struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MC Moisei <mcmoi...@comcast.net>
Subject Modules in Struts 1.2.8
Date Sun, 12 Feb 2006 04:26:00 GMT
Hi All,

I decided to use modules in this application I already have.
Setting it up was very simple but I ran into some issues

Default module has a /search action defined. The /forgotpassword is in a
new module "profile".
THe forgot password as well as all the pages in the site is using same
template
(tile). This template has a component that builds a search box and has a
form <html:form action="search"...>

When I run actions from default module all works fine but when I call a
action from profile module I get the annoying
javax.servlet.jsp.JspException: Cannot retrieve mapping for action /search
    at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:759)

What's the problem ?


Also one more annoying thing. Due the big amount of  modules and config
files I wanted to move the struts-config, validations and tiles-configs
under WEB-INF/config/module_name.The default struts config would  be
located in WEB-INF/config but when I start the server I get an error
saying that the struts-config.xml wasn't found in WEB_INF even though
web.xml points to the right location. Is the default module  location
hardcoded  ?

Thanks for reading,
MC


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message