I’m writing services which create and output HTML files for display in a browser. I need to add some gif files as well as a couple of javascript .js files but I don’t know where to store these resources on the filesystem. I created a \web directory directly under the packages but still my service cannot find the files.
I added the .js files to IntegrationServer\packages\OneTouchSubmitter\pub and I created another directory (…\pub\images) to hold the .gif files. I then reloaded the package and added a simple to the flow service to see if the image was found. No such luck. I only see the red X in the browesr.
I’ve tried numerous variations of the img tag shown above and have tried putting the image into the two different locations (the package pub directory and the web folder under IntegationServer) - still no luck. Interestingly, I can get the Google image to display by inserting <img src="http://www.google.com/intl/en_ALL/images/logo.gif.
You can also test your page by giving the absolute path of the image file (Get it from the Properties of the file including the image file name) and it also should work.