History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: APF-759
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Matt Raible
Reporter: Laurent Dejoux
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
AppFuse

When the url contains the project name, some action does not work

Created: 22/May/07 09:09 AM   Updated: 08/Oct/07 01:08 PM
Component/s: Web - Struts
Affects Version/s: 2.0-M4
Fix Version/s: None

Environment:
basic struts2
Tomcat 5.5


 Description  « Hide
on jetty, everything works fine because the url does not contains my project name but when I deployed the .war of my appfuse project on a tomcat server, some action does not work :

1/ Logout form footer.jsp
=> if i take off the slash before 'logout.html' it's work

2/ error pages (403, 404, ...) : for all error pages i get the browser pages instead of the jsp pages


 All   Comments   Change History   FishEye      Sort Order:
Matt Raible - 22/May/07 10:17 AM
Can you reproduce this at http://demo.appfuse.org/appfuse-struts? This is a demo instance of 2.0 M4 and it's not deployed in the root directory.

Laurent Dejoux - 24/May/07 08:36 AM
sorry this bug is depending my project and my way to manage role on struts menu
when i click a menu and i don't have rights i wanted to display the 403.jsp page using :

protected void handleNotAuthorized(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
response.sendError(HttpServletResponse.SC_FORBIDDEN);
}

It works when i use the jetty deployment, but when i deploy the .war on a Tomcat server I get the "You are not allowed" page of ie.


Matt Raible - 08/Oct/07 01:08 PM
Does this same behavior happen in Firefox or is it an IE issue?