| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| Hello, I have a simple controller servlet that verifies the query string, and dispatches different jsp files according to the specified queries. For instance site.com/ControllerServlet?page=report will forward the request to viewReport.jsp using the ServletContext: ServletContext sc = getServletContext(); RequestDispatcher dispatcher = sc.getRequestDispatcher(dispatchURL); dispatcher.forward(request, response); Since the ControllerServlet controls the login of the webapp, I do not want anyone to be able to type in site.com/viewReport.jsp and acccess this file. Is there a way that I can ensure that the viewReport.jsp file will return an error unless it is loaded through the ControllerServlet ? Very Best Regards, Joachim Haagen Bøe |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.