Re: url-pattern question

2004-11-15 Thread birendar . waldiya
Users List [EMAIL PROTECTED] cc Subject Re: url-pattern question Sorry, both of the urls are gttp://localhost:8080/. . . On Nov 11, 2004, at 2:38 PM, Peter Fogg wrote: Trying to learn how to develop applications in JSP and servlets. Using Tomcat 5.0.28 on Mac OS X v10.3.5. In web-apps

url-pattern question

2004-11-11 Thread Peter Fogg
Trying to learn how to develop applications in JSP and servlets. Using Tomcat 5.0.28 on Mac OS X v10.3.5. In web-apps directory created subdirectory LearningTree. Created and compiled a servlet HelloWorldServlet.class in the LearningTree directory. Moved the class to the

Re: url-pattern question

2004-11-11 Thread Peter Fogg
Sorry, both of the urls are gttp://localhost:8080/. . . On Nov 11, 2004, at 2:38 PM, Peter Fogg wrote: Trying to learn how to develop applications in JSP and servlets. Using Tomcat 5.0.28 on Mac OS X v10.3.5. In web-apps directory created subdirectory LearningTree. Created and compiled a servlet

Re: url-pattern question

2004-11-11 Thread Peter Johnson
Hi Peter, Your *application* is LearningTree so all class files go into LearningTree/WEB-INF/classes HWS is just a directory. If you want HelloWorldServlet to display there as well you'll need to configure a servlet-mapping in web.xml with url-pattern/HWS//url-pattern PJ Peter Fogg wrote:

RE: url-pattern question

2001-02-25 Thread Brett Knights
-Original Message- My work aroudn was to url-map jsps to a particular folder in this web application, for example a url-mapping of /templates/* so a call to localhost/content/templates/test.jsp will process the jsp at that location. It's not working. I'm forced to url-map my

url-pattern question

2001-02-24 Thread Karl Martino
In a web application I have a top level servlet url-mapped to the web application's root. For example, my web application, called content, has a url-mapping of /* . This is a controller servlet in a MVC type application. Any call to localhost/content/[anyPathInfo]/ calls my servlet. I have

Re: url-pattern question

2001-02-24 Thread Craig R. McClanahan
Karl Martino wrote: In a web application I have a top level servlet url-mapped to the web application's root. For example, my web application, called content, has a url-mapping of /* . This is a controller servlet in a MVC type application. In Struts, http://jakarta.apache.org/struts,

Re: url-pattern question

2001-02-24 Thread Karl Martino
Craig, Thanks man, it makes a ton of sense, but a major requirement was to get urls to look like plain old static html: take a gander: *http://inq.philly.com/content/inquirer/home/ *http://inq.philly.com/content/inquirer/2001/02/24/front_page/BLAIR24.htm What you're looking at, although it