|
It's not the only way but probably the easiest way to configure the file serving servlet is to use the wizard. At v3.02x, use the Tasks tab Configuration to "Configure a servlet", and later on it will provide a Websphere supplied list of servlets to select from. One thing I'd like to pass along when configuring the file serving servlet to the default web app... Look close at the file serving servlet's servlet web path, it will include " defaulthost/ ". This will cause ANY incoming URL (that does not already match up to some other WebSphere configured servlet web path) to map to the file serving servlet, which will then try to serve it. You might want to think about limiting whatever it serves by replacing this web path with "/*.html" and "/*.gif and anything else you might have laying around in the default app's doc root. +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.