Rob,

Took you advice and changed method to mthd. No luck. I am using spring mvc
and I have used parameter "method" before w/o an issues. 

I think my problem is with acegi stripping my request parameters. Something
described in this post
http://forum.springframework.org/showthread.php?t=37138
w/o a good solution.

I am changing the issue subject to attract some acegi interest.

Thanks
Ram R  




Rob Hills wrote:
> 
> Hi,
> 
> rdr wrote:
>> <jsp:include page="/publishers.html?method=viewActivitySummary"/>
>>
>> or
>>
>> <jsp:include page="/publishers.html">
>>      <jsp:param name="method" value="viewActivitySummary"/>
>> </jsp:include>
>>
>> Where publishers.html is mapped to a multiaction controller and
>> viewActivitySummary is not the default method.
>>
>> For some reason, the default method gets invoked instead of the one
>> specified (viewActivitySummary) when the page is rendered for the first
>> time. The parameter "method" does not even exist in the request. Any
>> other
>> action (refresh) corrects the problem.
>>   
> Isn't "method" reserved for things like "post" and "get"?  In the 
> boilerplate code generated for xxAction classes by the AppFuse Struts 2 
> variant, the "prepare" method starts with:
> 
> if (getRequest().getMethod().equalsIgnoreCase("post")) ..
> 
> Now, I realise that request.getMethod() isn't necessarily checking for a 
> URL- or post-parameter named "method", but I wonder if using that 
> parameter name is part of your problem.  I note that in struts.xml the 
> action tags include an attribute named "method" but maybe this is 
> actually used in some way other than as a URL-parameter or post-parameter.
> 
> HTH,
> Rob Hills
> Waikiki, Western Australia
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Request-parameters-in-include-uri-tf4868995s2369.html#a13936533
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to