Fred Miller wrote:
>
> hey all...
>
> i'm runnning NES 4.1 SP4 with JRun, I have a database on
> the back end that stores navigational and content stuff. I'd like to
> set the server up so that all requests for html pages are automatically
> re-routed to a servlet that will wrap the content with the header, etc.
> Has anyone else used this approach? How would i set up NES to handle
> htm(l) files in this manner?
>
> I have experimented with sending these requests to a jsp page, with a url
> argument containing the content location, however, that strategy would involve
>changing
> all the hyperlinks in the content to the jsp content page...
>
You could write an NSAPI (NES plugin) that would internally
redirect all html file requests to something else. At this level
you can mess with the request all you like. For example, take
the original request and encode as a parameter to something
else, set information in phony HTTP headers for the servlet,
whatever . . .
This may not be what you're looking for, but could definitely
do the job.
ch
--
Christopher B. Hamlin
American Institute of Physics
Suite 1NO1, 2 Huntington Quadrangle, Melville, NY 11747-4502
Email: [EMAIL PROTECTED] Phone: 516/576-2335 FAX: 516/576-2615
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists