1. Portlet Request to JSP liferay.com |
2. Redirecting request in the Code of my JSP liferay.comHallo, I need to redirect to another portlet-jsp from the code of a first portlet.jsp: I have a FirstPage.jsp with <% //Some code if(siteVal == true) { //Then it should redirect to SecondPage.jsp } else { //Change some values in FirstPage.jsp } %> |
3. javax.servlet.ServletException: non-HTTP request or response liferay.comHi Everyone, I am using the new Liferay 5.2.3 and I just wanted to deploy a servlet to my portlet which allows downloading files. But whenever I try to call the servlet (Example: http://localhost:8080/portletName/servletName) I get: javax.servlet.ServletException: non-HTTP request or response at javax.servlet.http.HttpServlet.service(HttpServlet.java:801) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) ... |