[Mav-user] Enforcing users through maverick
I just finished converting an application to use maverick, but now when people go to the old .jsp version of the page, it errors because it's expecting it to go through maverick. Is there any way to catch this other than putting a check into each jsp page? Travis --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf [INVALID FOOTER]
RE: [Mav-user] Enforcing users through maverick
From: Travis Reeder [mailto:[EMAIL PROTECTED] I just finished converting an application to use maverick, but now when people go to the old .jsp version of the page, it errors because it's expecting it to go through maverick. Is there any way to catch this other than putting a check into each jsp page? What do you want to happen when a user directly links to a JSP page? The usual answer is to block access to the templates using the security constraints in web.xml. Either block *.jsp (if you can) or the directory in which you have put your templates. It sounds like you already have published links and you're trying to figure out how to maintain backwards compatibility. There are a lot of differing opinions on how to go about doing that, but in your case I recommend a servlet filter that issues a redirect if you're accessing a jsp without going through maverick. Jeff --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf [INVALID FOOTER]
Re: [Mav-user] PROPOSAL: Add Ted Husted as committer
On Wed, 2003-09-24 at 05:58, Ted Husted wrote: Mike Moulton wrote: Your FormProc enhancements, coupled with opt-formproc sound very promising. I look forward to using it. There's another twist in there that you might like as well =;) I'm going to make in an optional compile, but the package also includes a Maverick controller designed to work with both FormProc and the new Commons Chain package in the Commons. This lets you specify the form to validate and the business class to run all from the Maverick config. By default, the name of the business command (or chain of business commands) is the same as the form, but can also be different. Is form proc available from cvs yet? -k. -- If you don't test then your code is only a collection of bugs which apparently behave like a working program. Website: http://blogs.codehaus.org/people/kevin/ Pub Key: http://blogs.codehaus.org/people/kevin/public.asc signature.asc Description: This is a digitally signed message part