Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @GET
- @Path("/test")
- public void requestToTelkom(@Context HttpServletRequest request,@Context HttpServletResponse response ) {
- try {
- // the request object is printed successfully
- System.out.println(request);
- // when i try to forward like this i get exceptions
- RequestDispatcher rd = request
- .getRequestDispatcher("BypassServlet");
- rd.forward(request, response);
- } catch (ServletException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- } catch (IOException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- UT010023: Request io.undertow.servlet.spec.HttpServletRequestImpl@53b21177 was not original or a wrapper
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement