That *is* interesting behavior, Mark. Good catch.
Anyone can demonstrate it by running the demo SnoopServlet that comes with
JRun (which simply reflects all request data passed to the servlet). Of
course, as we've discussed recently, you have to move that
SnoopServlet.class file (and the JRunDemoServlet.class file which it
extends) to the servers\default\default-app\WEB-INF\classes directory.
As for the behavior Mark refers to, there's no attribute that tells
CFServlet to pass that info along. I suppose it might have been designed to
act like a forward in JSP/servlets, passing along all the request data
passed to the template doing the call to CFServlet.
One more curiosity (that argues against that previous assertion): if form
data is posted to the page doing the CFServlet call (there are CF Form
variables on the page), those are NOT passed along automatically in the same
way. So it's inconsistent, and this passing of the query string would seem a
bug.
Any thoughts from the fine Macromedia folks? (BTW, I just observed that more
than 10 different MACR people have contributed replies to this list in the
last month alone. Thanks very much for that support!)
/charlie
-----Original Message-----
From: Gaulin, Mark [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 08, 2001 12:59 PM
To: JRun-Talk
Subject: How to stop CFSERVLET from passing URL variables to servlet?
Hi Folks
Not sure if this is the best place for the CF/Jrun question, but someone out
there must have seen this one before...
It appears that cfservlet appends the CGI.QUERY_STRING parameters to any
cfservlet call, even when cfservletparam is used to override some of them
(and the QUERY_STRING version wins). Anybody know how to turn this off?
I'm still using CFX_JRUN to invoke servlets because of this issue.
Versions: NT, CF 4.5 (or 5.0, if that helps), Jrun 3.0 (or 3.1, if that
helps).
Thanks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists