We load JSP pages in Jersey 1.x using com.sun.jersey.api.view.Viewable, for example:
@GET
public Viewable get() {
return new Viewable("/myPage.jsp", "");
}
What is the equivalent code for the above in Jersey 2.0?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
According to http://java.net/projects/jersey/lists/dev/archive/2012-12/message/2 that feature is not yet ported to Jersey 2.0.