I have some problems inserting images with webMathematica. There are some examples of jsp code on the wolfram website, but i didn't get how the authors of the examples inserted the images in the code. In order to edit the jsp files i'm using eclipse. I tried to write the file name with the extension, but it didn't work. Here you can see an example: http://demonstrations.wolfram.com/sourcecode.html?demoname=SegmentingAMedicalImage&demodisplayname=Segmenting%20a%20Medical%20Image
Could anyone please help me?
Thank you very much in advance, Daniel
Hello Sir , I am Kashif, and saw your conversation that was helpfull, but i am facing the similar problem that how to insert an image in different coded grid like in my attached file. i am trying your suggested way but remained unsuccessful, Can you please help me to sort out this problem.
Thanks Sean, your comment was really useful. I found out there is another way to use an image in the code. You just have to do a click-holding on an image and put it directly in your code.
You can insert an image into a Mathematica notebook like shown in the picture, but you can't do that in eclipse.
The code you linked to is not JSP code. It is Wolfram Language code.
To use an image in your code, you generally first have to import it. In the Wolfram language that's just using the Import function: