Re: Need Help Programmatically Loading Servlets in StandardContext subclass

2005-08-23 Thread Philip Weaver
I give up. MVC baby! On Aug 21, 2005, at 7:24 PM, Philip Weaver wrote: How can I programmatically load servlets and servlet mappings in Tomcat? I'm using Tomcat 5.0.28. I'm trying to extend StandardContext to automatically map/assign a batch of servlets from a specified jar at startup

Need Help Programmatically Loading Servlets in StandardContext subclass

2005-08-21 Thread Philip Weaver
How can I programmatically load servlets and servlet mappings in Tomcat? I'm using Tomcat 5.0.28. I'm trying to extend StandardContext to automatically map/assign a batch of servlets from a specified jar at startup. I'm having trouble. As I try to add these servlets programmatically as the

Problem: Servlet Mappings RequestDispatcher

2001-07-11 Thread Philip Weaver
Hello - I'm trying to create servlet mappings for a servlet that I'd like to exist at the TOP LEVEL of my webapp in Tomcat. You'd think that this task wouldn't be a pain in the rear but I'm finding it to be so. If you know how to configure web.xml and a servlet to handle this, please help. I'm

TagLib Class Resolution Problem (TomCat 3.2.1)

2001-06-22 Thread Philip Weaver
Whenever I use my taglib from within the subdirectory pages, for example, jasper complains that Class pages.SpecialConnectionTag not found in type declaration. So, it appears to find the taglib but thinks that it's part of a package? (which it's not) I can work around this by keeping everything

JSP Tag XML Syntax Problem (jsp:include, etc.)

2001-06-22 Thread Philip Weaver
I'm using Tomcat 3.2.1 and am unable to use the XML syntax of certain JSP tags: jsp:include page=page.jsp/ [Error: Invalid jsp:include tag] jsp:scriptlet/jsp:scriptlet The same tags work in Resin. What could I be doing wrong? Thanks, Philip

Re: TagLib Class Resolution Problem (TomCat 3.2.1)

2001-06-22 Thread Philip Weaver
I figured this out. I could not access my taglib from different sub-directories because my taglib was not in a package. Philip on 6/22/01 3:30 AM, Philip Weaver at [EMAIL PROTECTED] wrote: Whenever I use my taglib from within the subdirectory pages, for example, jasper complains that Class