i have a MA controller. It has to forward the req to a servlet in another webapp (inside another ear) on same server (weblogic 8.1). Since I think forwarding with jstl view will not work since jstl view wont understand another web context, i get the servlet context of the other web app explicitly in code, get a req dispatcher from that context, and forward to that servlet. All fine. After that serlvet finishes its work, the control comes back to my controller. Now i want to update a custom header('filename') in the response set by the other servlet. The idea is that the other servlet streams out a file and sets the file name in this custom header. My controler will override this filename header with a diff file name. is this workable? i face some unusual & unclear problems.
Login or Sign Up
- Log in with