Print

Print


So, we're hiding the database name in the URL.  The method handling the RPC
has no access to URL information.  How is it supposed to know what database
the search is for?

Now, I thought I had the answer once.  I was going to define a separate
servlet for each database, but they would all use the same servlet class.
Then, each servlet would get initialized with its own parameters and things
would be great.  But, the tomcat server knows that they are the same servlet
and only creates one instance of it.  So, I'm back to not knowing what
database I'm supposed to be searching.

Now, I can do this myself, if I override the SOAP toolkit's doPost method
and save the calling URL so that the searchRequest() method has access to
it, but that seems like a hack.

Any thoughts on how to handle this?

Thanks!

Ralph