RE: blocking bookmarked actions

2004-03-24 Thread Paul McCulloch
You code code your app to always use http POST, but block GETs. This may not be suitable if you've already written the app though! Paul > -Original Message- > From: Mark Shifman [mailto:[EMAIL PROTECTED] > Sent: 24 March 2004 18:17 > To: Struts Users Mailing List > Subject: blocking bookm

Re: blocking bookmarked actions

2004-03-24 Thread Mark Shifman
where do I do the blocking? The action I am having problems with is a LookupDispatchAction and I get this kind of error message javax.servlet.ServletException: Request[/RechartFiles] does not contain handler parameter named method org.apache.struts.actions.LookupDispatchAction.execute(

RE: blocking bookmarked actions

2004-03-24 Thread Pady Srinivasan
Use only HTTP POST and send a hidden parameter which identifies the request origin. So if this is not set, redirect to some default page. Thanks -- pady [EMAIL PROTECTED] -Original Message- From: Mark Shifman [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 1:17 PM To: Stru

RE: blocking bookmarked actions

2004-03-24 Thread Paul McCulloch
ction class. Paul > -Original Message- > From: Mark Shifman [mailto:[EMAIL PROTECTED] > Sent: 24 March 2004 18:32 > To: Struts Users Mailing List > Subject: Re: blocking bookmarked actions > > > where do I do the blocking? The action I am having problems > w

RE: blocking bookmarked actions

2004-03-24 Thread Paul McCulloch
rch 2004 18:49 > To: 'Struts Users Mailing List' > Subject: RE: blocking bookmarked actions > > > The way I achieved this was to extend ActionServlet so that a > GET or POST > parameter was added to the request, and extended > RequestProcessor to deal > with th

RE: blocking bookmarked actions

2004-03-24 Thread Wendy Smoak
> From: Mark Shifman [mailto:[EMAIL PROTECTED] > where do I do the blocking? The action I am having problems > with is a LookupDispatchAction and I get this kind of error message > javax.servlet.ServletException: Request[/RechartFiles] does > not contain handler parameter named method > org.apa

Re: blocking bookmarked actions

2004-03-24 Thread Mark Shifman
Thanks. Unfortunately LookupDispatchAction checks for the parameter an throws an error before it gets a chance to use unspecified(), but it should be easy enough to modify it and then override dispatchActions unspecified(). mas Wendy Smoak wrote: From: Mark Shifman [mailto:[EMAIL PROTECTED] wh

RE: blocking bookmarked actions

2004-03-24 Thread Wendy Smoak
> From: Mark Shifman [mailto:[EMAIL PROTECTED] > Unfortunately LookupDispatchAction checks for the parameter > an throws an > error before it gets a chance to use unspecified(), but it should > be easy enough to modify it and then override dispatchActions > unspecified(). What version? I thin

Re: blocking bookmarked actions

2004-03-25 Thread Mark Shifman
Thanks , I was using jakarta-struts-1.1-rc1 which did the nul parameter trapping. mas Wendy Smoak wrote: From: Mark Shifman [mailto:[EMAIL PROTECTED] Unfortunately LookupDispatchAction checks for the parameter an throws an error before it gets a chance to use unspecified(), but it should be e

RE: blocking bookmarked actions

2004-03-26 Thread Colm Garvey
Or wrap the whole app up in frames. That'll do the trick. Colm -Original Message- From: Mark Shifman [mailto:[EMAIL PROTECTED] Sent: 24 March 2004 18:32 To: Struts Users Mailing List Subject: Re: blocking bookmarked actions where do I do the blocking? The action I am having pro