• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:img

 
patrick schwarz
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 7300
44
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic