Hello all,
I am developing a portlet (using the ZK framework). Part of it is a file explorer of a root directory. In this directory exists a picture that I am trying to let the user "open". I used BalusC's code to create an ImageServlet to serve the images and "registered" it in the web.xml file of my portlet and I placed the ImageServlet.java inside my package. When I test on my local machine (outside of Liferay) it works just fine, but when I hot deploy the .war file to Liferay, the ImageServlet seems like it isnt even working! I've placed some debug print statements in the ImageServlet but they never get printed on my remote liferay server, but they do get printed when testing on my own local machine!
I am running tomcat + liferay on a remote server, and doing local testing with tomcat + eclipse.
Link to code and tutorial I used:
http://balusc.blogspot.com/2007/04/imageservlet.html
Any help would be great!