greptilian logo

IRC log for #friendlyjava, 2015-04-17

##friendlyjava on freenode

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
09:04 mr_lou joined ##friendlyjava
18:56 noreason joined ##friendlyjava
18:56 noreason how to display image  using jetty where image stored in external hard disk
18:56 noreason mr_lou aditsu pdurbin pulsar talvdav
18:57 noreason mr_lou is like mr_love :P
18:57 noreason coming back to question
18:59 * mr_lou don't know what jetty is
19:00 aditsu noreason: do you want to serve static files with jetty?
19:01 noreason its dynamic but static :/ , when user A uploads image i want to dump in a external hard disk
19:01 noreason than i want display the static image
19:02 aditsu so you have an application?
19:02 noreason yea
19:02 noreason testing jetty app
19:02 noreason :P "stupid name i give"
19:02 pdurbin I'd call that static. Once it's uploaded.
19:03 noreason yes
19:03 noreason how you display
19:04 noreason i have found for tomcat
19:04 noreason cant find for jetty
19:04 aditsu you can serve them from the app
19:05 noreason for example i store them on /home/usr/image
19:05 noreason so how will i make <img src='/home/usr/image '/> ???
19:06 aditsu oh, alternatively you can make a symlink from your application's dir
19:06 aditsu to the storage location
19:09 noreason example plzzzzz
19:11 aditsu for serving from the app, depends on the framework; for the symlink... ln -s /external/disk/images images
19:14 pulsar noreason: request dispatcher
19:15 noreason that doesnt help
19:15 aditsu I usually serve the static files from nginx
19:16 noreason asked in jetty :| no answer
19:26 * noreason wants to write compiler for JS
19:32 noreason k ill stick with tomcat

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

##friendlyjava on freenode