0

how can i use static resources with dynamic routes in jsp?

I am making a web page using tomcat as a server. And when working with static resources, I find it cumbersome to use almost absolute paths for all my files. Isn't there some function similar to how __dirname is used in Node.js?.

29th Nov 2022, 5:33 AM
Sam Vásquez
Sam Vásquez - avatar
2 Respuestas
+ 2
Tibor Santa Thanks, I'm going through some of those options, how difficult it is to work with java, I definitely prefer node
29th Nov 2022, 6:30 AM
Sam Vásquez
Sam Vásquez - avatar