my dog learned polymorphism*
The moose likes Struts and the fly likes In webApps how to create a new image and present it through a html ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "In webApps how to create a new image and present it through a html ?" Watch "In webApps how to create a new image and present it through a html ?" New topic
Author

In webApps how to create a new image and present it through a html ?

Srinivasan thoyyeti
Ranch Hand

Joined: Feb 15, 2007
Posts: 557
Hi Ranchers,

I am finding it difficult to create and write an image into WAR file and get it through a jsp or html page.

How can I write a image into WAR deployment folder?


Please help me in this regard.


Thanks & Regards, T.Srinivasan
SCWCD 1.4(89%), SCJP 5.0(75%)
Chengwei Lee
Ranch Hand

Joined: Apr 02, 2004
Posts: 884
I'm not quite sure what you're trying to do. Are you trying to stream an image to the browser when the user clicks on a hyperlink to download it? How is this related to Struts?


SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
 
Consider Paul's rocket mass heater.
 
subject: In webApps how to create a new image and present it through a html ?
 
Similar Threads
problems in showing images in jsp with contentType= application /msword
image map's in java
Writing image into WAR?
Writing Image Bytes on Response Stream
re:How to use hyperlink in applet