Some more information! This is defined in a page called umsManager.jsp
For the firt time call to http://localhost:7001/umsManajer.jsp?action=viewOrg works fine but from the next time onwards when we make calls like from the current page like http://localhost:7001/umsManajer.jsp?action=viewOrg http://localhost:7001/umsManajer.jsp?action=addOrg It always comes up with a Page Not Found 404 Error . CAn someone shed some light on this matter ! Please Advice Lakshmi -----Original Message----- From: Lakshmi Anantharaman [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 24, 2002 1:55 PM To: Struts-User (E-mail) Subject: Tempates I am trying to do something like this . I want a standard template and many pages to be rendered by one Template insert by passing variable to the content . Will is work . Is architecture proven to work in production situations . I like the templates tags and would like to use them this way ! Your help will be appreciated Lakshmi //-------------------------------------------------------------------------- ---------------------------------- <%@ taglib uri='/WEB-INF/tlds/template.tld' prefix='template' %> <% String body =""; String title =""; String navBarTitle=""; String action = request.getParameter("action"); if(action != null ) { if(action.equals("addOrg")) { body = "/addOrg.jsp"; title = "Add Organistation"; navBarTitle = "AddOrg"; } else if(action.equals("viewOrg")) { body = "viewOrg.jsp"; title = "View Organistations / Users / Groups"; navBarTitle = "View"; } } else { body = "viewOrg.jsp"; title = "Add Organistation"; navBarTitle = "Add Org"; } String navbar= "/staticNavBar.jsp?xx="+navBarTitle; %> <template:insert template='/umsTemplate.jsp'> <template:put name='title' content='<%=title%>' direct='true'/> <template:put name='header' content='<%=navbar%>' /> <template:put name='content' content='<%=body%>'/> <template:put name='footer' content='/footer.html' /> </template:insert> -- 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]>

