This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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: 4777
    
    8

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