File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes html:img Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:img" Watch "html:img" New topic
Author

html:img

patrick schwarz
Greenhorn

Joined: Dec 18, 2003
Posts: 3
According to http://jakarta.apache.org/struts/api/allclasses-noframe.html the Img Tag, the image link can have a name and property from a bean.
This is good, but does anyone know what datatype the image would be stored in......If it is FormFile, it has only properties to read.
I am trying to read and image from the database, and rather than write it to the servletcontext real path, I just want to hold it in an instance variable in a bean to be displayed.
Has anyone done this?
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4757
    
    7

Not too clear on what you want to do but I'd refer you to the docs for the html:img and see if the name and property attributes really mean what you think they mean. See http://jakarta.apache.org/struts/userGuide/struts-html.html#img


Junilu - [How to Ask Questions] [How to Answer Questions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html:img