Re: How to get URLs for images with in a WebApp

2013-10-17 Thread Abigail
HI THERE I usually do the image issues using an image program.You can also take a look at this .NET Image SDK which includes several library controls to perform complete image processing tasks, especially for downloading image from url

How to get URLs for images with in a WebApp

2013-08-28 Thread Andun Sameera
Hi All, I have a use case like this which needs some help. There is folder in my web app called images. There are some images in that folder which are dynamically added. In my application, I want to list down URLs for all these images. Can any one give me some hints ? Thanks! -- Regards Andun

Re: How to get URLs for images with in a WebApp

2013-08-28 Thread Maxim Solodovnik
((WebApplication) WebApplication.get()).getServletContext() .getRealPath(images) On Wed, Aug 28, 2013 at 6:11 PM, Andun Sameera andun...@gmail.com wrote: Hi All, I have a use case like this which needs some help. There is folder in my web app called images. There are some images in that

Re: How to get URLs for images with in a WebApp

2013-08-28 Thread Andun Sameera
Hi Maxim, I tried that method. In my web app I can access a image using this url, http://localhost:8080/ClipArts/images.jpeg Then I tried, ((WebApplication) WebApplication.get()).getServletContext().getRealPath(ClipArts) ((WebApplication)

Re: How to get URLs for images with in a WebApp

2013-08-28 Thread Andun Sameera
Hi, It was a issue with my IDE integration. I am running the webapp via Tomcat in IntellijIDEA. It runs the wicket application in the bin folder of Tomcat. Thus some issue arises. Then I tried manually with Tomcat. Then it works. Thanks! On Wed, Aug 28, 2013 at 4:59 PM, Andun Sameera