Salve a tutti
Sto iniziando ad utilizzare le portlet in java, ed ho fatto un semplice progetto dinamico per visualizzare una scritta
a questo punto ho creato il file .war del progetto è l'ho importato come liferay con plugin -> caricacodice:import java.io.IOException; import javax.portlet.GenericPortlet; import javax.portlet.PortletException; import javax.portlet.RenderRequest; import javax.portlet.RenderResponse; public class PortletSaluta extends GenericPortlet { protected void doView(RenderRequest request,RenderResponse response) throws PortletException,IOException { response.setContentType("text/html"); response.getWriter().println("PORTLET DI AGOSTINO"); } }
ma alla visualizzazione mi d'à l'errore come mai?

Rispondi quotando