Re: Java/TomCat How to Configure a Servlet contextPath



On Oct 31, 2:23 pm, Rich Morey <richard.mo...@xxxxxxxxx> wrote:
Hi --

Thank you both for your quick replies.

In your example URL (aside: the words "Java" and "Class" in the URL
are bad practice), "javaApp" is the application context and

I am aware of this. I just did that for my own learning curve.

This is correct.  However, if your web.xml file isn't set correctly,
this won't load.  Want did you do to configure the web.xml? Can you show us?

I should say that I am just learning Java & Tomcat at this point. My
web development experience prior to this was with Delphi. When
building a Delphi web app a URL would look something like this:

http://host/library.dll/action?

In this case, the "library.dll" file could/would contain multiple
"actions" that could be invoked like this:

http://host/library.dll/action1?http://host/library.dll/action2?

etc. This would allow me to develop related functionality within a
single library. For example, I recently completed a payment processing
DLL for a client. In this case the URLs were something like this:

http://host/payment.dll/Cash?http://host/payment.dll/Check?http://host/payment.dll/CreditCard?

Each action, in this case "Cash", "Check", "CreditCard" was invoked
from within the single library, "payment.dll". I would like to
replicate this kind of configuration within Java, mostly because this
has been the methodology I have used in the past and so I "think"
along these lines.

Tomcat doesn't have DLLs. It has web pages.

Read
<http://tomcat.apache.org/tomcat-6.0-doc/appdev/deployment.html>

--
Lew
.



Relevant Pages

  • Re: huge array
    ... VB6 due to lack of support. ... immensely since it was first released, and the learning curve now is far ... See above - the converter box is the .NET DLL which is exposing a COM ...
    (microsoft.public.vb.general.discussion)
  • Re: Linking DLLs across different compilers and languages
    ... caller calls you with HTHINGs, but the caller can never "open up" an HTHING to ... private DLL interface will make it very hard for people using these languages. ... then DLL A unloads, DLL B remains in memory until the process terminates. ... While it is true that you can avoid the COM learning curve, ...
    (microsoft.public.vc.mfc)
  • Re: Linking DLLs across different compilers and languages
    ... caller calls you with HTHINGs, but the caller can never "open up" an HTHING ... a DLL could not remain in memory if the only process using it is ... then DLL A unloads, DLL B remains in memory until the process terminates. ... While it is true that you can avoid the COM learning curve, ...
    (microsoft.public.vc.mfc)
  • Re: Linking DLLs across different compilers and languages
    ... caller calls you with HTHINGs, but the caller can never "open up" an HTHING to ... private DLL interface will make it very hard for people using these languages. ... then DLL A unloads, DLL B remains in memory until the process terminates. ... While it is true that you can avoid the COM learning curve, ...
    (microsoft.public.vc.mfc)
  • Re: Apache 2 and Tomcat 4, SSL servlets
    ... I want to use Apache ... as a front end and have it pass off the request to tomcat. ... This is my first Tomcat install, and the learning curve is ...
    (comp.os.linux.networking)