Custom « Liferay « JSP-Servlet Q&A





1. [Liferay 6.0.5] Using custom Java Classes in JSP page    liferay.com

Hello everyone. I'm working on the create account portlet, and I have to include some custom java code into the create_account.jsp page. I've actually found no guide on how and where to put my custom classes in the ext plugin, to deploy them and how to link them in the jsp page. I've tried to just put the 3 java classes ...

2. Custom Servlet in web.xml    liferay.com

Hi, I want to write a custom servlet in Liferay. I have done the following: Created, compiled the code and create a jar, say, custom-servlet.jar Added the jar in WEB-INF/lib folder Registered the class in WEB-INF/web.xml file It's a very simple servlet - "doGet(...) { out.println("Hello, World!"); }" types. When I browse to the URL, I get the error "404 Page ...

3. Custom Servlet    liferay.com