Hi, Please delete my first message if it arrived in other than plain text. I just realized I had not set the "Plain text" flag in Outlook Express. Should be fine now. Gordon ----- Original Message ----- From: Gordon Rose To: [EMAIL PROTECTED] Sent: Tuesday, March 06, 2001 2:45 PM Subject: Configuring Servlet for alternative URL access Hi, I'll bet, as a newbie, that this is an easy question. I just can't figure it out! I've installed Tomcat and Apache -- platform is Win32 --working great (I'm impressed with the speed, by the way. I'm a very seasoned ASP developer moving to servlet/JSP development platform in order to move up to Websphere/WebLogic/Oracle servers). Also created a new folder called GApp below Webapps, added appropriate directories, added web.xml file (nothing in it except required tags) in appropriate location, and then dropped a HelloWorld.class file containing my first servlet in the WEB-INF\classes folder. Restarted Tomcat, then Apache, and called the HelloWorld servlet up just fine using the http://localhost/GApp/servlet/HelloWorld URL. In other words, it's not as though I haven't been reading and working with the DOCs <g>. What I can't seem to figure out is how to configure (and in which file?) in order to be able to access the HelloWorld servlet using a URL of http://localhost/GApp/HelloWorld I know I can do this with JRun (first environment with which I worked). Is it even doable in Tomcat? I have to believe so, and that I've just missed it somehow. In a related question, how do I create a URL mapping for a servlet (again, via what conf file) that is located in a directory other than the WEB-INF\classes folder (but under the root of the particular web app)? Thanks much for your help. I'd be happy to post a brief summary of the questions I had to answer in order to get the understanding of Tomcat I have so far -- might help someone else down the road. Gordon Rose Gordon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
