On Wed, Feb 16, 2011 at 11:34 AM, Dave Newton <davelnew...@gmail.com> wrote:
> 2011/2/16 Luis Eric López Fernández wrote: > > I am thinking to do something that will completely destroy the purpose of > > struts hehe.. I will add a servlet to handle all the requests different > than > > .action and there I will redirect to an error page. =S > > How will you request them from within the JSP? > > About the only way I see to accomplish this requirement is to check on HTTP_REFERER somehow ... but that's hardly reliable. Really, this seems a lot like a requirement that leads to ... mean people writing javascript to replace the context menu with "Copyright Crazy-People" alerts. -Brian