"resources" directory in Servoy 8

Forum to discuss the Web client version of Servoy.

"resources" directory in Servoy 8

Postby juan.cristobo » Fri May 26, 2017 12:29 pm

Hi all,

In Servoy 7, I put external libraries in application_server\server\webapps\ROOT\resources directory in order to include them using WebClientUtils plugins, but in Servoy 8 I receive a 404 error. Is there any restriction with that directory?

Regards,
Juan
Madrid (Spain)

Servoy 7.4.x - MySQL / SQL Server 2008-2016
Windows 10 Pro
juan.cristobo
 
Posts: 178
Joined: Thu Apr 19, 2012 9:12 am

Re: "resources" directory in Servoy 8

Postby jcompagner » Mon May 29, 2017 12:00 pm

that should work fine as far as i know
Can you access any other file that is just placed in the ROOT?

a 404 is really just not found, so it seems that it is not there, are we testing here in developer? or application server or an war deployment?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7974
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: "resources" directory in Servoy 8

Postby juan.cristobo » Mon May 29, 2017 12:14 pm

Is in developer (i haven't tested it in application server environment).

I can access every file in ROOT directory (or in a subdirectory) but "resources" directory. If I change its name (i.e., "other_resources") I can access without any problem
Juan
Madrid (Spain)

Servoy 7.4.x - MySQL / SQL Server 2008-2016
Windows 10 Pro
juan.cristobo
 
Posts: 178
Joined: Thu Apr 19, 2012 9:12 am

Re: "resources" directory in Servoy 8

Postby jcompagner » Mon May 29, 2017 1:39 pm

ah yes... servoy ngclient has now a servlet that is mapped on "resources" to serve out the media of a solution
Thats why the directory "resources" is overwritten by it now.

You could make a case that we improve this a bit (so if the path that is given is not a solution we look it up under the actual dir on the filesystem...)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7974
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: "resources" directory in Servoy 8

Postby juan.cristobo » Mon May 29, 2017 1:48 pm

Ok... But it may be easiert to change the name of the directory :wink: :wink:

Thanks!
Juan
Madrid (Spain)

Servoy 7.4.x - MySQL / SQL Server 2008-2016
Windows 10 Pro
juan.cristobo
 
Posts: 178
Joined: Thu Apr 19, 2012 9:12 am


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 3 guests

cron