Is it possible to pass an object in a request from one app server to another? I want a user to be able to click a link in a portal page, the portal app stores user info inside a HttpServletRequest object, and forward the request to another application running on a separate application server. Is this possible? Thanks! Roger
A query string as Tony mentioned is probably the only way to accomplish this across multiple servers. Unfortunately if security is a concern (username, passwords etc) this is completely out of the question & is a VERY dangerous situation. Even a cookie (Yuck) would be refused due to server & browser security implementations. Also you mentioned sending an object which plain & simple will not work. Remember the response - request object only grab / write standarized data from the headers so in fact the response object re-writes the data from the object into a form that is standarized for internet transfer (basically Strings). The request then grabs this data, parses it & puts it into what we know as the request object. This is a tough proposal no matter how you shake it & I think unitl the "next generation" of internet protocols are created we are stuck with this.