06-20-07 06:24 AM
I want to call a Servlet from my portlet.
1. I created the class com.flowserve.fpd.gid.portal.servlet.Downloader
2. I edited web.xml:
<servlet>
<servlet-name>downloader</servlet-name> <servlet-class>com.flowse
rve.fpd.gid.portal.servlet.Downloader</servlet-class>
</servlet>
..............
<servlet-mapping>
<servlet-name>downloader</servlet-name>
<url-pattern>/downloader</url-pattern>
</servlet-mapping>
3. I restarted Portal Server and hit the servlet with this url:
/.Portlet/downloader
(works fine.)
This works on my desktop, but not on the test server. The only difference I
see is thae test server uses a different context, like this:
/wps/PA_iizxnh2/downloader
I also tried:
/wps/downloader
Any ideas why this new Servlet is not working?
I appreciate your help.
[ Post a follow-up to this message ]
|