D
Dundonald
Is it possible to configure a java web app running under a context
root to automatically take data from a URL (entered after the context
root) and pass that data as a paramater to a specific servlet?
For example -
I have a domain called "test.com" and a java web app running under the
context root "myroot" and I want to pass data "hello_world" to servlet
PrintMessageServlet without the user ever having to worry about
entering the servlet in the URL. So user types in ...
www.test.com/myroot/hello_world
PrintMessageServlet would only ever expect one paramater to be passed
in, and the data for that paramater would be whatever is entered after
www.test.com/myroot/
Does this make sense?
If so please can you advise me how I can achieve this by configuring
my web. I run this web app under apache and tomcat on my web host.
Thanks
root to automatically take data from a URL (entered after the context
root) and pass that data as a paramater to a specific servlet?
For example -
I have a domain called "test.com" and a java web app running under the
context root "myroot" and I want to pass data "hello_world" to servlet
PrintMessageServlet without the user ever having to worry about
entering the servlet in the URL. So user types in ...
www.test.com/myroot/hello_world
PrintMessageServlet would only ever expect one paramater to be passed
in, and the data for that paramater would be whatever is entered after
www.test.com/myroot/
Does this make sense?
If so please can you advise me how I can achieve this by configuring
my web. I run this web app under apache and tomcat on my web host.
Thanks