I know this isn't quite the right place for a rant but OMG how complicated can they make setting this thing up?
After much hair pulling - in order to just have a quick mess around with it - I find out that all you REALLY need is to:
1) create the directory you want to put your 'web application' in
2) stick a logically EMPTY web.xml file in WEB-INF:
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
</web-app>
That's what you need to start messing around with tomcat / JSP development. No ANT... No build process. No bazillion obscure entries in the web.xml file...
Nice to see that Apache / J2EE is still keeping the "harder to setup than to actually use" theme alive that Linux used to do so well (and still does to a lesser extent!)
ARGH!
(I feel better now)


LinkBack URL
About LinkBacks
Reply With Quote
