Java/TomCat How to Configure a Servlet contextPath



Hi --

I have Tomcat running locally on my PC. I have built a simple Java
application that runs as expected when I typ in the URL:

http://localhost/javaApp/TestClass

The app runs this way because I am planning to have multiple classes
within "javaApp." My question is, how would I configure my server so
that this URL:

http://localhost/javaApp/TestClass/Action1

would load TestClass? Currently I get a 404 with the above URL. I
believe, from what I have read, that this relates to configuring the
context.xml fill however, I have so far been unsuccessful in
understandin he docmentation well enough to make this work.

Any help would be appreciated!

Thanks

Rich
.



Relevant Pages

  • Re: Neue Attribute einem Objekt =?ISO-8859-1?Q?hinzuf=FCgen?=
    ... also sind checked Excpetion im Falle von Java doch ein Bestandteil des Typsystems. ... ja kein statischer Typ mehr. ... Jochen "blackdrag" Theodorou ...
    (de.comp.lang.java)
  • Re: [freebsd-stable] Re: Macromedia FLASH ...
    ... Mozilla (my preferred browser), Galeon, and Opera. ... recently built 4.9-STABLE and I use cvsup and portupgrade to keep all my ... ports closely syncronized. ... I have also a problem with java plug-in. ...
    (freebsd-stable)
  • Re: Neue Attribute einem Objekt =?ISO-8859-1?Q?hinzuf=FCgen?=
    ... Typ hat, und bei Typen (in Java: Klassen) klar ist, dass sie bestimmte Methoden implementieren und/oder bestimmte Felder haben. ... Und zum Lesen ist es besser, weil eben besagte Informationen direkt rüberkommen, die der geneigte Leser sich sonst erst anderweitig zusammensuchen muss. ... Also wenn ich ein Tutorial zu zum Beispiel Webservices lese, dann will ich nicht unbedingt noch TCP/IP erklärt bekommen und auch die Funktionsweise der Programmiersprache Java auf Anfängerlevel nicht. ...
    (de.comp.lang.java)
  • Re: Wieso noch C
    ... Beispielsweise für einen Typ T, ... kann man in Java so etwas mit Schnittstellen statisch ... als Beispiel mal die STL und glib, warum sollte ich mit der STL weiter ... Informationssystemen) für einen Anwendungsprogrammierer ...
    (de.comp.lang.misc)
  • Re: Sun Pours Out Java Cup
    ... On Monday 13 November 2006 19:45, Ric Moore wrote: ... Compiler for Java (gcj)? ... Will they be able to use Sun's own Java ... completely to the presently built Java Development Kit? ...
    (Fedora)