hi, That is a bit my question, what is the path to use if you are in a submodule. And you want to call an action in the default module ?
As long as I stay in the default module, everything goes fine. From the moment i get forwarded to my submodule, he will not recognize the actions defined in my struts-config.xml ... I attached my config files. I am talking about the changeDomains action. An action that a user should be able to call from each module. Christoph Christoph Rooms TAM + 32 475 531 529 Novell Positioned as a "Leader" in Analyst Firm's Metadirectory Magic Quadrant Novell is the first, and thus far only, company to enter the Leader Quadrant of Gartner's Metadirectory Services Magic Quadrant. Leaders are vendors who are performing well today, have a clear vision of market direction, and are actively building competencies to sustain their leadership position in the market. Read more and find out how to access the report at www.novell.com/news/press/archive/2002/08/pr02058.html >>> [EMAIL PROTECTED] 01/21/03 05:43pm >>> Please show us your struts-config file . Be sure to have the correct path to the action defined. Chears <-- Alexandre Jaquet -> -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCM d+ s: a-- C++++ U*+ P L--- E--- W+++ N+++ o K---- w+++++ O---- M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X++++ R* tv b++++ DI--- D---- G++ e* h++ r% y* ------END GEEK CODE BLOCK------ ----- Original Message ----- From: "Christoph Rooms" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 21, 2003 5:32 PM Subject: Modules - link to default module action > hi, > > I have in each sub-module a login possibility. > > In my default struts-config I defined an action "login". > > When I am in a submodule, he will not show the jsp that holds the > login form, he will give me the error : > > javax.servlet.jsp.JspException: Cannot retrieve mapping for action > /login > > Who knows how I can solve this ? > > thanks, Christoph > > > Christoph Rooms > TAM > + 32 475 531 529 > > Novell Positioned as a "Leader" in Analyst Firm's Metadirectory Magic > Quadrant > Novell is the first, and thus far only, company to enter the Leader > Quadrant of Gartner's Metadirectory Services Magic Quadrant. Leaders are > vendors who are performing well today, have a clear vision of market > direction, and are actively building competencies to sustain their > leadership position in the market. Read more and find out how to access > the report at www.novell.com/news/press/archive/2002/08/pr02058.html > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"> <struts-config> <form-beans type="org.apache.struts.action.ActionFormBean"> <form-bean name="logonForm" type="be.latte.struts.form.LogonForm" /> <form-bean name="userForm" type="be.latte.struts.form.UserForm" /> <form-bean name="domainForm" type="be.latte.struts.form.DomainForm" /> <form-bean name="serviceForm" type="be.latte.struts.form.ServiceForm" /> <form-bean name="adminHeader" type="be.latte.struts.form.AdminHeaderForm" /> <form-bean name="changePasswordForm" type="be.latte.struts.form.ChangePasswordForm" /> <form-bean name="forgetPasswordForm" type="be.latte.struts.form.ForgetPasswordForm" /> <form-bean name="newMailingWizard" type="be.latte.service.mailing.struts.form.NewMailingWizard" /> <form-bean name="memberPicture" type="be.latte.service.team.struts.form.MemberImageForm" /> <form-bean name="ImportSubscriberWizard" type="be.latte.service.mailing.struts.form.ImportSubscriberWizard" /> <form-bean name="SearchSubscriber" type="be.latte.service.mailing.struts.form.SearchSubscriberForm" /> <form-bean name="AddSubscriber" type="be.latte.service.mailing.struts.form.AddSubscriberForm" /> <form-bean name="emails" type="be.latte.service.mailing.struts.form.Emails" /> <form-bean name="EditCategory" type="be.latte.service.mailing.struts.form.EditCategoryForm" /> </form-beans> <global-forwards type="org.apache.struts.action.ActionForward"> <forward name="index" path="/tmpl_my_latte_home.jsp" /> <forward name="logon" path="/tmpl_logon.jsp" /> <forward name="error" path="/tmpl_error.jsp" redirect="false" /> <forward name="success" path="/tmpl_my_latte_home.jspç" redirect="false" /> <forward name="my_latte_home" path="/tmpl_my_latte_home.jsp" redirect="false" /> <forward name="team_home" path="/team/tmpl_team_home.jsp" redirect="true" contextRelative="true" /> <forward name="news_home" path="/tmpl_news_home.jsp" redirect="false" /> <forward name="events_home" path="/tmpl_event_home.jsp" redirect="false" /> <forward name="mail_home" path="/tmpl_mail_home.jsp" redirect="false" /> </global-forwards> <action-mappings> <action path="/bug" scope="session" type="be.latte.struts.action.AddBugzillaBugAction" validate="false"><forward name="success" path="/tmpl_index.jsp" /></action> <action path="/userLogon" input="/tmpl_logon.jsp" name="logonForm" scope="request" type="be.latte.struts.action.LogonAction" validate="true"><forward name="success" path="/changeDomain.do" /></action> <action path="/userLogoff" type="be.latte.struts.action.LogoffAction"><forward name="success" path="/tmpl_my_latte_home.jsp" redirect="false" /></action> <action path="/changePassword" type="be.latte.struts.action.ChangePassword" name="changePasswordForm" input="/tmpl_my_latte_changePassword.jsp" scope="request"><forward name="success" path="/tmpl_my_latte_home.jsp" redirect="false" /></action> <action path="/forgetPassword" type="be.latte.struts.action.ForgetPassword" name="forgetPasswordForm" input="/tmpl_my_latte_forgotPassword.jsp" scope="request"><forward name="success" path="/tmpl_my_latte_home.jsp" redirect="false" /></action> <action path="/changeDomain" parameter="" type="be.latte.struts.action.ChangeDomainAction" name="adminHeader"><forward name="success" path="home.index" redirect="false" /><forward name="team" path="/team/list.do" redirect="false" /><forward name="mail" path="/tmpl_mail_home.jsp" redirect="false" /><forward name="noService" path="/tmpl_my_latte_no_service.jsp" redirect="false" /><forward name="latte_admin" path="/tmpl_admin_index.jsp" redirect="false" /></action> <!-- USER --> <action path="/user/list" scope="session" type="be.latte.struts.action.user.UserListAction" validate="false"><forward name="success" path="/tmpl_admin_users.jsp" /></action> <action path="/user/view" type="be.latte.struts.action.user.GetUserAction" validate="false"><forward name="success" path="/tmpl_admin_user_view.jsp" redirect="false" /></action> <action path="/user/delete" parameter="" type="be.latte.struts.action.user.DeleteUserAction"><forward name="success" path="/user/list.do" redirect="false"><set-property property="id" value="1" /></forward></action> <action path="/user/edit" parameter="" type="be.latte.struts.action.user.EditUserAction" name="userForm" validate="false" scope="request"><forward name="success" redirect="false" path="/tmpl_admin_user_edit.jsp" /></action> <action path="/test" parameter="" type="be.latte.struts.action.user.EditUserAction" validate="false" scope="request"><forward name="success" redirect="false" path="/tmpl_admin_user_edit.jsp" /></action> <action path="/user/save" parameter="" type="be.latte.struts.action.user.SaveUserAction" name="userForm" scope="request" input="/tmpl_admin_user_edit.jsp"><forward name="success" path="/user/list.do" redirect="false" /></action> <!-- DOMAIN --> <action path="/domain/list" scope="session" validate="false" type="be.latte.struts.action.domain.DomainListAction"><forward name="success" path="/tmpl_admin_domain_list.jsp" /></action> <action path="/domain/view" validate="false" type="be.latte.struts.action.domain.GetDomainAction"><forward name="success" redirect="false" path="/tmpl_admin_domain_view.jsp" /></action> <action path="/domain/delete" parameter="" type="be.latte.struts.action.domain.DeleteDomainAction"><forward name="success" path="/domain/list.do" redirect="false"><set-property property="id" value="1" /></forward></action> <action path="/domain/edit" parameter="" validate="false" scope="request" type="be.latte.struts.action.domain.EditDomainAction" name="domainForm"><forward name="success" redirect="false" path="/tmpl_admin_domain_edit.jsp" /></action> <action path="/domain/save" parameter="" scope="request" type="be.latte.struts.action.domain.SaveDomainAction" name="domainForm" input="/tmpl_admin_domain_edit.jsp"><forward name="success" path="/domain/list.do" redirect="false" /></action> <action path="/domain/select/user" parameter="" scope="request" type="be.latte.struts.action.user.UserListFormAction"><forward name="success" path="/tmpl_admin_select_user.jsp" redirect="false" /><forward name="save" path="/domain/list.do" redirect="false" /></action> <action path="/domain/select/service" parameter="" scope="request" type="be.latte.struts.action.domain.SelectServicesAction"><forward name="success" path="/tmpl_admin_select_service.jsp" redirect="false" /><forward name="toList" path="/domain/list.do" redirect="false" /></action> <!-- SERVICE --> <action path="/service/list" parameter="" type="be.latte.struts.action.service.ServiceListAction"><forward name="success" path="/tmpl_admin_service_list.jsp" redirect="false" /></action> <action path="/service/view" validate="false" type="be.latte.struts.action.service.GetServiceAction"><forward name="success" redirect="false" path="/tmpl_admin_service_view.jsp" /></action> <action path="/service/delete" parameter="" type="be.latte.struts.action.service.DeleteServiceAction"><forward name="success" path="/service/list.do" redirect="false"><set-property property="id" value="1" /></forward></action> <action path="/service/edit" parameter="" validate="false" scope="request" type="be.latte.struts.action.service.EditServiceAction" name="serviceForm"><forward name="success" redirect="false" path="/tmpl_admin_service_edit.jsp" /></action> <action path="/service/save" parameter="" scope="request" type="be.latte.struts.action.service.SaveServiceAction" name="serviceForm" input="/tmpl_admin_service_edit.jsp"><forward name="success" path="/service/list.do" redirect="false" /></action> <!-- MAIL SERVICE --> <action path="/mailing/list" parameter="" type="be.latte.service.mailing.struts.action.mailing.MailingListAction"><forward name="success" path="/tmpl_mail_mailings.jsp" redirect="false" /></action> <action path="/mailing/view" parameter="" type="be.latte.service.mailing.struts.action.mailing.GetMailingAction"><forward name="success" path="/tmpl_mail_mailing_detail.jsp" redirect="false" /></action> <action path="/mailing/subscriber/search" parameter="" type="be.latte.service.mailing.struts.action.subscriber.SearchSubscriber" name="SearchSubscriber"><forward name="success" path="/tmpl_mail_subscriber_search.jsp" redirect="false" /></action> <action path="/mailing/subscriber/delete" parameter="" type="be.latte.service.mailing.struts.action.subscriber.DeleteSubscriber" name="emails" scope="request"><forward name="success" path="/tmpl_mail_subscriber_deleted.jsp" redirect="false" /></action> <action path="/mailing/subscriber/add" parameter="" type="be.latte.service.mailing.struts.action.subscriber.AddSubscriber" name="AddSubscriber" scope="request"><forward name="success" path="/tmpl_mail_subscriber_added.jsp" redirect="false" /></action> <action path="/mailing/subscriber/import" parameter="" type="be.latte.service.mailing.struts.action.subscriber.ImportSubscribers" name="ImportSubscriberWizard" validate="false"><forward name="page2" path="/tmpl_mail_subscriber_import_2.jsp" redirect="false" /><forward name="page1" path="/tmpl_mail_subscriber_import.jsp" redirect="false" /><forward name="page3" path="/tmpl_mail_subscriber_import_3.jsp" redirect="false" /></action> <action path="/mailing/subscriber/export" parameter="" type="be.latte.service.mailing.struts.action.subscriber.ExportSubscriber" scope="request"><forward name="success" path="/tmpl_mail_subscriber_export.jsp" redirect="false" /></action> <action path="/mailing/new" parameter="" type="be.latte.service.mailing.struts.action.mailing.NewMailing" name="newMailingWizard" validate="false" scope="session"><forward name="page1" path="/tmpl_mail_new.jsp" redirect="false" /><forward name="page2" path="/tmpl_mail_new_2.jsp" redirect="false" /><forward name="finish" path="/tmpl_mail_new_5.jsp" redirect="false" /><forward name="page3" path="/tmpl_mail_new_3.jsp" redirect="false" /><forward name="page4" path="/tmpl_mail_new_4.jsp" redirect="false" /></action> <action path="/team/member/picture/save" parameter="" type="be.latte.service.team.struts.action.member.SaveMemberPicture" name="memberPicture" validate="true" scope="session" input="/team_upload_picture.jsp"><forward name="success" path="/SessionImage" redirect="false" /></action> <action path="/mailing/category/list" parameter="" type="be.latte.service.mailing.struts.action.category.GetCategories"><forward name="success" path="/tmpl_mail_category.jsp" redirect="false" /></action> <action path="/mailing/category/add" parameter="" type="be.latte.service.mailing.struts.action.mailing.EditCategory" name="EditCategory"><forward name="success" path="/do/mailing/category/list" redirect="false" /></action> <action path="/mailing/report" parameter="" type="be.latte.service.mailing.struts.action.mailing.GetMailingReport"><forward name="success" path="/mailing/list.do" redirect="false" /></action> </action-mappings> <!-- Message resources --> <message-resources parameter="be.latte.Messages" /> <plug-in className="org.apache.struts.tiles.TilesPlugin"> <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" /> <set-property property="definitions-parser-validate" value="true" /> <set-property property="moduleAware" value="true" /> </plug-in> </struts-config>
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"> <struts-config> <form-beans type="org.apache.struts.action.ActionFormBean"> <form-bean name="teamForm" type="be.latte.service.team.struts.form.TeamForm" /> <form-bean name="teamMemberForm" type="be.latte.service.team.struts.form.TeamMemberForm" /> <form-bean name="memberPicture" type="be.latte.service.team.struts.form.MemberImageForm" /> </form-beans> <global-forwards type="org.apache.struts.action.ActionForward"> <forward name="index" path="/tmpl_my_latte_home.jsp" /> <forward name="logon" path="/tmpl_logon.jsp" /> <forward name="error" path="/tmpl_error.jsp" redirect="false" /> <forward name="/changeDomain" path="/tmpl_my_latte_home.jspç" redirect="false" /> <forward name="team_home" path="/tmpl_team_home.jsp" redirect="false" /> </global-forwards> <action-mappings> <action path="/list" parameter="" type="be.latte.service.team.struts.action.team.TeamListAction"><forward name="success" path="/view.do" redirect="false" /></action> <action path="/view" type="be.latte.service.team.struts.action.team.GetTeamAction" name="teamForm" validate="false" scope="session"><forward name="success" redirect="false" path="/tmpl_team_display.jsp" /><forward name="noTeams" path="/tmpl_team_noteam.jsp" redirect="false" /></action> <action path="/save" validate="true" type="be.latte.service.team.struts.action.team.SaveTeamAction" name="teamForm" input="/tmpl_team_display.jsp" scope="session"><forward name="success" redirect="true" path="/view.do" /><forward name="edit" redirect="false" path="/tmpl_team_display.jsp" /><forward name="noTeams" path="/tmpl_team_noteam.jsp" redirect="false" /></action> <action path="/delete" type="be.latte.service.team.struts.action.team.DeleteTeamAction" scope="session"><forward name="success" redirect="true" path="/list.do" /></action> <!-- TEAM MEMBER --> <action path="/member/edit" validate="false" scope="session" type="be.latte.service.team.struts.action.member.EditTeamMemberAction" name="teamMemberForm"><forward name="success" redirect="false" path="/tmpl_team_member_display.jsp" /></action> <action path="/member/save" validate="true" scope="session" type="be.latte.service.team.struts.action.member.SaveTeamMemberAction" name="teamMemberForm" input="/tmpl_team_member_display.jsp"><forward name="edit" redirect="true" path="/tmpl_team_member_display.jsp" /><forward name="success" redirect="true" path="/view.do" /></action> <action path="/member/delete" validate="false" scope="session" type="be.latte.service.team.struts.action.member.DeleteTeamMemberAction"><forward name="success" redirect="false" path="/list.do" /></action> </action-mappings> <plug-in className="org.apache.struts.tiles.TilesPlugin"> <set-property property="definitions-config" value="/team/tiles-defs-team.xml" /> <set-property property="definitions-parser-validate" value="true" /> <set-property property="moduleAware" value="true" /> </plug-in> </struts-config>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>