Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class LoginAction extends Action {
- public void run(HttpServletRequest req, HttpServletResponse res) {
- HttpServletRequest originalRequest = PortalUtil.getOriginalServletRequest(req);
- String origUrl = HttpUtil.getCompleteURL(originalRequest);
- String foo = HttpUtil.getParameter(origUrl, "foo");
- System.out.println("## origUrl: " + origUrl);
- System.out.println("## foo: " + foo);
- }
- }
- ------------------------------------------------
- OUTPUT
- ## origUrl: http: //localhost:8080/c
- ## foo:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement