Craig St Jean wrote:
When using JSPs or PHP this would be accomplished by setting the
content-type and then outputting the contents of the picture. I could
then have something like img src="displayimage.jsp?image=whatever.png".
I'm not sure exactly how to do it in Tapestry but I would assume it
would be something like an inject page as long as you set the content type.
Good luck.
On Nov 8, 2006, at 3:21 PM, sunilmanu wrote:
Hi,
I am a newbie to Tapestry. I need help on how to display the Images
stored
outside the Web application.
Say my application HTML path -->
c:/jboss/deploy/webapps/TapestryApp/Home.html
But Images are stored outside--> : c:/appImages/test1.jpeg
How can I load the Image dynamically in the SRC attribute of Image tag ?
any suggestions or pointers will be of great help.
Thanks,
Sunil
--View this message in context:
http://www.nabble.com/help-%3A-displaying-Images-that-are-stored-outside-the-Web-application-tf2597572.html#a7246079
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/Image.html
If you want to serve your images outside of your web app, you can define
image as a external asset, instead of a context asset.
hth,
Dennis
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]