Nick, If my memory serves me correctly, you were able to add the custom tag library through the JRUN Admin Console's visual interface (i.e., Web Applications -> YourAppName -> Virtual Mappings). When you do this, you are in essence adding your custom tag library into JRUN's web.xml file. To my knowledge, all JSP servers have a web.xml file, it's just some servers hide the implementation from you using a GUI interface, as JRUN does. On my development system, JRUN's web.xml file is located on C:\Program Files\Allaire\JRun\servers\default\default-app\WEB-INF. Go to your applications corresponding subdirectory under Allaire/JRUN/servers and find your applications web.xml file. If you open your web.xml file, you will see your mappings for your tag library.
Tomcat does not have a visual interface for creating/modifying the web.xml file, so you will need to add your custom tag libraries into Tomcat's web.xml file manually using a text editor, or JRUN Studio if you have it. I have not worked with Tomcat in ages, so you need to go to the Tomcat forum and verify where the *.tld file goes, but I believe it goes in the same subdirectory that your web.xml file goes into. Hope this helps. Celeste -----Original Message----- From: Nick de Voil [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 22, 2001 1:48 PM To: JRun-Talk Subject: Taglibs, TLDs and web.xml on Tomcat versus JRun I have developed a JSP app which works great on my PC under JRun 3.0 and W2K. It makes extensive use of custom tags. To get them working I just followed the instructions in the manual - basically just created a TLD. There didn't seem to be any need to create a web.xml file. Or to put the classes in a JAR file. Now I am trying to install the app on a server with Tomcat 3.2.3 and Linux, in a hurry and I am having problems. It seems to want a web.xml file - OK, I have created that - but what exactly should it say? Do the classes have to be in a JAR? Does anything else have to be in it? Where should it be located? Where should the TLD be located? Can anyone clarify this for me or point me at a resource? Thanks a lot Nick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
