Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Loading images from server best practices

    Hi there,

    maybe I'm making a stupid question, but I'm a little bit confused. After searching on the forum what is the common workaround to upload and retrieve images from server to load it in TileGrids or ListGrids I see that the best practice it's to implement a Servlet to serve those images to client.

    As the default images directory for the app is "images/" as deffined in Page.setAppImgDir(), It's that best practice servlet mapped over images/? If yes, what happens with static images (company logo, top banner, etc.) loaded via Canvas.imgHTML()? They're retrieved via servlet too automagically?

    EDIT: I just realized I posted in the wrong forum because I'm using 4.1 SmartGWT LGPL
    Last edited by hespresati; 4 Aug 2015, 05:39. Reason: Wrong forum
Working...
X