Hi, > Anyway, your info is very helpful. So you are saying that we can >definitely modify the CONTENT of a request in a Filter?
What you would do is: - Create a custom InputStream - Create an HttpServletRequestWrapper - Create a Filter Map the filter to the requests you want to intercept. Have the filter wrap these requests in your HttpServletRequestWrapper. Have the wrapper substitute your InputStream for the real one. Then your InputStream can return whatever content you want. It's tricky to do correctly. It's probably a bad idea from the start (why not just have a good request, or tailor the web service to correctly handle/reject bad requests?). But your question was if it's possible at all, so yeah it is. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
