wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:img" Watch "html:img" New topic


patrick schwarz

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

Joined: Feb 26, 2001
Posts: 4442

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
Similar Threads
getAllPackages in JDK
html:img usage
struts error console-defs.idx file not found ( In RAD7 on XP)
JSP page display without Form Bean
Enums Problem