After a month off doing non-java things, I'm trying to get back to the javaranch assignments. My next one is Servlets-3b which is to do an
Ant file that will set up and deploy a war file, and I have some questions:
1: A month ago I typed in the build.xml file on the web page. Last night I compared the current build.xml file with the one I typed in a month ago. They are different in that they use different directory structures for the
java,
jsp, web.xml, etc. files. I have yet a different directory structure for my
servlet stuff. What are you looking for in the Ant file? My preference is to use my current directory structure.
2: The assignment instructions say to modify the Orion default application so that default application is the class assignment. I'm working with
Tomcat and I can temporarily modify the default application to be the class assignment but I'm wondering if it's okay to do the assignment so that the war file sets up another servlet application that can be accessed through the servlet container. Also, I'm pretty sure I can figure out how to do this with Tomcat. I'm guessing, but I'm not sure, that a war file set up for Tomcat should work with Orion? Do you know?
Thanks.
Susan