You cannot set paramters on a request, the parameters are immutable.
So you'll have to synthesize your own request if you want do do it
that way.  However, a better approach would probably be to split the
search engine into it's own tier and access it that way.

cheers,
barneyb

On Thu, Jun 5, 2008 at 1:05 PM, Marcus Goedeker <[EMAIL PROTECTED]> wrote:
> I'm working with some java classes provided by a third party.  The class 
> requires an HTTP servlet request object be sent.  Within that request, the 
> class looks for url parameters via the HTTP Servlet Request.  The following 
> code is what I'm using currently...
>
> <cfscript>
>        SearchLogic = createobject("java","com.web.SearchLogic");
>        REQ = createObject("Java","javax.servlet.http.HttpServletRequest");
>        REQ = GetPageContext().getRequest();
>        SearchLogic.search(REQ);
> </cfscript>
>
> The problem is that I cannot have url variables on the page sending the 
> request and we would rather not have to do some sort of redirect or cfhttp to 
> get the url variables for load time reasons.  Does anybody know if the 
> request parameters can be set somehow?
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306931
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to