활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
my page url in browser shows as
http://localhost:4502/content/mywebsite/mypage.html?query1=param1&query2=param2
In my viewhelper When i user
1- getRequest().getRequestURL() return http://localhost:4502/content/mywebsite/mypage.html
2- getRequest().getQueryString() return query1=param1&query2=param2
How i can get url with Query in viewhelper class
eg:-http://localhost:4502/content/mywebsite/mypage.html?query1=param1&query2=param2
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
Via getRequest() you access all properties from SlingHttpServletRequest.
조회 수
답글
좋아요 수
${request.requestParameterMap['query1'][0].toString}
Hi Feike,
How can i get full URL in component viewHelper?
like http://localhost:4502/
조회 수
답글
좋아요 수
Via getRequest() you access all properties from SlingHttpServletRequest.
조회 수
답글
좋아요 수
조회 수
답글
좋아요 수