aspose file tools*
The moose likes Other Languages and the fly likes Assigning an image object to a html tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "Assigning an image object to a html tag" Watch "Assigning an image object to a html tag" New topic
Author

Assigning an image object to a html tag

raghav rao
Greenhorn

Joined: Nov 29, 2006
Posts: 7
Hi
i have an c# function which returns an image . I need to assign this image to html image tag , to display the image on a page.
Normally i would use < img src= " ...URL "> , but here i donot have a URL . i have to assign it to an .NET function , which returns an image.

Any help is greatly appreciated
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42951
    
  72
raghav rao wrote:but here i donot have a URL .

Then you need to create one! Write the .Net equivalent of a servlet that returns the image.
raghav rao
Greenhorn

Joined: Nov 29, 2006
Posts: 7
Hi Ulf , thanks for your reply

I cant think of an servlet equivalent in c# .
Can you be more specific please?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42951
    
  72
I can't, since I'm not familiar with ASP.Net. But I'm sure it can handle binary content. That question would be better suited for a .Net forum.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Assigning an image object to a html tag