Hallo!
I have a lot of images and i want create folder to open this images in ofbiz. But when i try to reach image by url, tomcat returns 404. Please, show me the way to solve this problem. |
Hi,
You will have to create a folder in webapp and add it to allowedPaths specified in web.xml of your component. At what location, have you stored the images now? Thanks and Regards, *Aditya Sharma* | Enterprise Software Engineer HotWax Systems <http://www.hotwaxsystems.com/> Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore, M.P 452010 Linkedin: *Aditya Sharma* <https://www.linkedin.com/in/aditya-p-sharma/> On Mon, May 13, 2019 at 2:00 PM Илья Михайлов <[hidden email]> wrote: > Hallo! > > I have a lot of images and i want create folder to open this images in > ofbiz. But when i try to reach image by url, tomcat returns 404. > Please, show me the way to solve this problem. > |
As I said you have to move it to webapp.
Refer framework/resources/templates/web.xml:55 themes/common/webapp/images Thanks and Regards, *Aditya Sharma* | Enterprise Software Engineer HotWax Systems <http://www.hotwaxsystems.com/> Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore, M.P 452010 Linkedin: *Aditya Sharma* <https://www.linkedin.com/in/aditya-p-sharma/> On Mon, May 13, 2019 at 2:50 PM Илья Михайлов <[hidden email]> wrote: > i create folder images in the root. > > > Понедельник, 13 мая 2019, 12:06 +03:00 от Aditya Sharma < > [hidden email]>: > > Hi, > > You will have to create a folder in webapp and add it to allowedPaths > specified in web.xml of your component. > > At what location, have you stored the images now? > > > > Thanks and Regards, > *Aditya Sharma* | Enterprise Software Engineer > HotWax Systems <http://www.hotwaxsystems.com/> > Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, > Indore, M.P 452010 > Linkedin: *Aditya Sharma* <https://www.linkedin.com/in/aditya-p-sharma/> > > > > On Mon, May 13, 2019 at 2:00 PM Илья Михайлов < > [hidden email]> wrote: > > Hallo! > > I have a lot of images and i want create folder to open this images in > ofbiz. But when i try to reach image by url, tomcat returns 404. > Please, show me the way to solve this problem. > > > > ______________________ > Разаработка и продвижение сайтов > https://www.facebook.com/sitebuypodolsk/ > |
Thanks a lot. I done it. You very helpful.
>Понедельник, 13 мая 2019, 12:35 +03:00 от Aditya Sharma <[hidden email]>: > >As I said you have to move it to webapp. > >Refer >framework/resources/templates/web.xml:55 >themes/common/webapp/images > >Thanks and Regards, >*Aditya Sharma* | Enterprise Software Engineer >HotWax Systems < http://www.hotwaxsystems.com/ > >Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore, >M.P 452010 >Linkedin: *Aditya Sharma* < https://www.linkedin.com/in/aditya-p-sharma/ > > > > >On Mon, May 13, 2019 at 2:50 PM Илья Михайлов < [hidden email] > >wrote: > >> i create folder images in the root. >> >> >> Понедельник, 13 мая 2019, 12:06 +03:00 от Aditya Sharma < >> [hidden email] >: >> >> Hi, >> >> You will have to create a folder in webapp and add it to allowedPaths >> specified in web.xml of your component. >> >> At what location, have you stored the images now? >> >> >> >> Thanks and Regards, >> *Aditya Sharma* | Enterprise Software Engineer >> HotWax Systems < http://www.hotwaxsystems.com/ > >> Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, >> Indore, M.P 452010 >> Linkedin: *Aditya Sharma* < https://www.linkedin.com/in/aditya-p-sharma/ > >> >> >> >> On Mon, May 13, 2019 at 2:00 PM Илья Михайлов < >> [hidden email] > wrote: >> >> Hallo! >> >> I have a lot of images and i want create folder to open this images in >> ofbiz. But when i try to reach image by url, tomcat returns 404. >> Please, show me the way to solve this problem. >> >> >> >> ______________________ >> Разаработка и продвижение сайтов >> https://www.facebook.com/sitebuypodolsk/ >> ______________________ Разаработка и продвижение сайтов https://www.facebook.com/sitebuypodolsk/ |
Best way to have your existing images folder accessible from within ofbiz
is by applying a symbolic link from within the webapp folder to the actual folder. Best regards, Pierre Smits *Apache Trafodion <https://trafodion.apache.org>, Vice President* *Apache Directory <https://directory.apache.org>, PMC Member* Apache Incubator <https://incubator.apache.org>, committer *Apache OFBiz <https://ofbiz.apache.org>, contributor (without privileges) since 2008* Apache Steve <https://steve.apache.org>, committer On Mon, May 13, 2019 at 12:13 PM Илья Михайлов <[hidden email]> wrote: > Thanks a lot. I done it. You very helpful. > > > >Понедельник, 13 мая 2019, 12:35 +03:00 от Aditya Sharma < > [hidden email]>: > > > >As I said you have to move it to webapp. > > > >Refer > >framework/resources/templates/web.xml:55 > >themes/common/webapp/images > > > >Thanks and Regards, > >*Aditya Sharma* | Enterprise Software Engineer > >HotWax Systems < http://www.hotwaxsystems.com/ > > >Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, > Indore, > >M.P 452010 > >Linkedin: *Aditya Sharma* < https://www.linkedin.com/in/aditya-p-sharma/ > > > > > > > > > >On Mon, May 13, 2019 at 2:50 PM Илья Михайлов < [hidden email] > > >wrote: > > > >> i create folder images in the root. > >> > >> > >> Понедельник, 13 мая 2019, 12:06 +03:00 от Aditya Sharma < > >> [hidden email] >: > >> > >> Hi, > >> > >> You will have to create a folder in webapp and add it to allowedPaths > >> specified in web.xml of your component. > >> > >> At what location, have you stored the images now? > >> > >> > >> > >> Thanks and Regards, > >> *Aditya Sharma* | Enterprise Software Engineer > >> HotWax Systems < http://www.hotwaxsystems.com/ > > >> Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, > >> Indore, M.P 452010 > >> Linkedin: *Aditya Sharma* < > https://www.linkedin.com/in/aditya-p-sharma/ > > >> > >> > >> > >> On Mon, May 13, 2019 at 2:00 PM Илья Михайлов < > >> [hidden email] > wrote: > >> > >> Hallo! > >> > >> I have a lot of images and i want create folder to open this images in > >> ofbiz. But when i try to reach image by url, tomcat returns 404. > >> Please, show me the way to solve this problem. > >> > >> > >> > >> ______________________ > >> Разаработка и продвижение сайтов > >> https://www.facebook.com/sitebuypodolsk/ > >> > > > ______________________ > Разаработка и продвижение сайтов > https://www.facebook.com/sitebuypodolsk/ > |
Free forum by Nabble | Edit this page |