Hi
I rely on cfservlet to talk to jrun on a box other than the one that cf
server is installed on. I see that in CFMX this tag has been marked as
deprecated. Usually that is a warning not to use the tag in new code, and
usually if the new version has restrictions they would be spelled out. I
have not seen anything explicit other than "It may not work." Oh well...
My testing on cfmx shows that cfservlet does work a little in CFMX... as
long as jrunproxy is always pointing to the local machine.
If remote IPs are supposed to work, I'd sure like to hear about it!
MM: Can you comment on whether this is intended to work? "No." is a
reasonable answer... I just don't want to waste my time building a
work-around when I really just needed to tweak something.
The CFMX docs say to use the servlet RequestDispatch in the future, which is
ok if the target servlet is local. The servlet API does not seem to say that
it will allow including of remote servlets. (Actually,
RequestDispatch.include appears to not allow changing of the original
request's arguments, so this is actually pretty lame if you want to call an
arbitrary servlet with arbitrary arguments, but that's what the servlet spec
says, so what are you going to do, right?)
So, what's the right way to replace cfservlet if the target servlet is on
another server? Sure seems like a drag to have to use CFHTTP but, assuming
the servlet is not a web service, this appears to be the only option I can
come up with.
Anybody got other ideas??
Thanks
Mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com