Foros de discusión
Strange problem with <portlet:resourceURL> tag
Halley Thomas, modificado hace 12 años.
Strange problem with <portlet:resourceURL> tag
New Member Mensajes: 13 Fecha de incorporación: 28/06/11 Mensajes recientes
Hi,
I'm facing some strange problem with my portlet.
The error I'm getting is
javax.portlet.PortletException: javax.portlet.PortletException: org.apache.jasper.JasperException: /MyFileName.jsp(50,44) No tag "resourceURL" defined in tag library imported with prefix "portlet"
Any ideas on why this is happening?
I'm facing some strange problem with my portlet.
The error I'm getting is
javax.portlet.PortletException: javax.portlet.PortletException: org.apache.jasper.JasperException: /MyFileName.jsp(50,44) No tag "resourceURL" defined in tag library imported with prefix "portlet"
Any ideas on why this is happening?
Pranay R Patadiya, modificado hace 12 años.
RE: Strange problem with <portlet:resourceURL> tag
Regular Member Mensajes: 177 Fecha de incorporación: 23/02/10 Mensajes recientes
Hi,
You have to declare the below in your jsp:
This will solve your problem.
As your error said that you are going to access resourceURL tag from taglib which is not defined yet in your app.
So, add this above code line in your jsp.
Let me know you want anything else.
Thanks,
Pranay
You have to declare the below in your jsp:
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
This will solve your problem.
As your error said that you are going to access resourceURL tag from taglib which is not defined yet in your app.
So, add this above code line in your jsp.
Let me know you want anything else.
Thanks,
Pranay
Halley Thomas, modificado hace 12 años.
RE: Strange problem with <portlet:resourceURL> tag
New Member Mensajes: 13 Fecha de incorporación: 28/06/11 Mensajes recientes
Nope.. Not working.
I have this taglib defenition
The code was working fine on another Liferay 5.2 server.
I copied the code and tried to deploy it on another server and it broke. Absolutely going mad here
I have this taglib defenition
<%@taglib prefix="portlet" uri="http://java.sun.com/portlet"%>
The code was working fine on another Liferay 5.2 server.
I copied the code and tried to deploy it on another server and it broke. Absolutely going mad here
Karen Castillo, modificado hace 12 años.
RE: Strange problem with <portlet:resourceURL> tag
New Member Mensajes: 3 Fecha de incorporación: 10/11/11 Mensajes recientes
I am having the same issue. Did anyone find a solution?
Halley Thomas, modificado hace 12 años.
RE: Strange problem with <portlet:resourceURL> tag
New Member Mensajes: 13 Fecha de incorporación: 28/06/11 Mensajes recientes
It started working fine without any help from me .
I created a new project and imported all the libraries again.
Didnt do anything specific. Or that's what I remember now. If I recollect anything specific, I will post it.
All the best.
I created a new project and imported all the libraries again.
Didnt do anything specific. Or that's what I remember now. If I recollect anything specific, I will post it.
All the best.
Gaurang Sheladia, modificado hace 12 años.
RE: Strange problem with <portlet:resourceURL> tag
Regular Member Mensajes: 159 Fecha de incorporación: 15/02/09 Mensajes recientes
As in earlier post said can you try creating a new project with importing all necessary library.
I think it will resolve your problem now.
I think it will resolve your problem now.