why don't have a class that will handle retrieve information from database, any servlet need that information will call that class like a bean. I don't think that you can really nest servlet. You can do servlet chaining, but my experience are that was not very good.
what is your code in the servlet. Does this tryTransform is a bean class, and get called in a servlet? If you treat tryTransform as a servlet, then that is a problem. All servlet need to extends HttpServlet, and have init(), doGet(), and doPost().
I need to redirect the user to a specific portion of another web server based on that user's username. And the username information is stored on the other web server as NT authentication. Is there a way to pull out this information? I heard about JAAS and PAM, but not sure that is what I looking for. Or does anyone has better idea to implementing this? Thanks
so based on your saying: P peru S slovenia Q qatar R romania crown: P | S | ~Q queen: Q | R | ~S king ~R | ~P minister: P xor R only P xor R are a most condition, so you can only invite one of them. You can invite R or S or both. did I understand it right?
cookies are just set of name and string value pair. You definitely can put more than one cookie, but you have to set it one by one in jsp. Here is some notes from netscape about cookie specs. Multiple Set-Cookie headers can be issued in a single server response. Instances of the same path and name will overwrite each other, with the latest instance taking precedence. Instances of the same path but different names will add additional mappings. However there are limitations: 4 kilobytes per cookie, 20 cookies per server or domain. Hope this answers your question