Hi, Ian Bicking wrote:
> As far as the fix, you can't really do this entirely in the > ServletFactory, because you don't know which kind of ServletFactory to > call until you've parsed the URL to find what name matches to what > resource (which may or may not be a file). Extensions in the URL, for > all their ugliness, do make the framework's job easier :) Sure I could handle this in a ServletFactory alone. Imagine an ActionServletFactory which is registered in the application for a certain extension (e.g. *.do oder *.yaa oder whatever you like). Now if you call something like http://..../blah/something_to.do or http://..../blash/blubbs/something_to.do the ActionServletFactory would get the job, could provide an instance of a ActionServlet - which would know how to map something_to to the matching action. If the extension is .py or .psp some other ServletFactory would have to do the work. If they need it, they could check the file system for an matching physical file. Sascha _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
