D
Dundonald
I'm not sure how to best ask this question so I hope I make myself
clear
I'm wondering what the best way to implement dynamic handling of
customer defined functionality in a J2EE web app. For example ...
A customer hitting URL http://www.somesite.com/someservlet?param=some_value
is the obvious solution, the servlet can handle the logic on the
paramater passed and act accordingly. What I'm wondering is, is it
possible for a URL such as the following:
http://www.somesite.com/some_value
that would automatically trigger a default / specified servlet and
pass in "some_value" as a paramter to that servlet.
Know what I mean?
To put this in to context I will write code to allow the customer to
configure certain functionality of the site and give that
functionality a unique name. But rather than have that functionality
requested by explicity calling a servlet and passing a paramater I
would like it easier for the customer to remember by calling the site
domain followed by the unique name of their functionality.
clear
I'm wondering what the best way to implement dynamic handling of
customer defined functionality in a J2EE web app. For example ...
A customer hitting URL http://www.somesite.com/someservlet?param=some_value
is the obvious solution, the servlet can handle the logic on the
paramater passed and act accordingly. What I'm wondering is, is it
possible for a URL such as the following:
http://www.somesite.com/some_value
that would automatically trigger a default / specified servlet and
pass in "some_value" as a paramter to that servlet.
Know what I mean?
To put this in to context I will write code to allow the customer to
configure certain functionality of the site and give that
functionality a unique name. But rather than have that functionality
requested by explicity calling a servlet and passing a paramater I
would like it easier for the customer to remember by calling the site
domain followed by the unique name of their functionality.