Giovanni ha scritto:
>> I have used also the PortletConfig Portlet but if I try to add a
>> Portlet in dynamic way I obtain the following errors
>> ....
I have installed Xalan and now the PortletConfig Portlet allows the
added one of a portlet selecting it from those offering from the WSRP4J
producer, but if I carry out the deploying of this portlet I obtain a
message (not an error) of the type
The requested resource
(/wsrp4j-proxyportlet/PlutoInvoker/WSRP4JTestPortlet) is not available
some suggestion?
I have found a solution that seems to work:
it consists in modifying the file web.xml of the directory
\wsrp4j-proxyportlet\WEB-INF
adding the following nodes
<servlet>
<servlet-name>WSRP4JTestPortlet</servlet-name>
<servlet-class>org.apache.pluto.core.PortletServlet</servlet-class>
<init-param>
<param-name>portlet-name</param-name>
<param-value>WSRP4JTestPortlet</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>WSRP4JTestPortlet</servlet-name>
<url-pattern>/PlutoInvoker/WSRP4JTestPortlet</url-pattern>
</servlet-mapping>
the proxy-portlet therefore it works but it does not visualize the
contained image in the first page of the WSRP4J TestPortlet