I want to build a osgi-bundle with servlet features that holds its own webroot containing index.html some pictures and so on.
I found this code on the net that is what I would like to achive knopflerfish http-root-impl the thing about this code (linked at the end of the page) is that I can't get it to work properly.
Im using Eclipse and I'm compiling at java 1.4 complience. The servlet feature works but not accessing the webroot content. I created a folder named www under my src folder within the eclipse osgi-project.
When looking in the out folder of Eclipse I first saw that that contained the www folder but the folder in itself was empty so I assumed that, that was the problem, that the www content wasen't passed along from the src to the out folder. But i included **/*.html under the Java build path so that the index.html got passed from src to the out folder but I still can't access the webcontent through my servlet.
Anyone who could sheed some lights on my problem. Or could try to compile the code and if it works explain to me what has to be done inorder to get it to work.
My main problem is that I don't have much knowledge about Eclipse.
Thank you in advance and sorry about my poor english.