I tried to develop a backend jsp block in a composer project.
However, my jsp code can not be recognized as a java related code,
that means it will not be compiled automatically, it’s very hard to debug.
Is there anything I can do to make my composer project become a automatic compiled java related project?
If any custom backend logic pages use libraries, place the libraries in the Java Composer Project’s WEB-INF/lib directory. This directory typically contains JAR files that contain Java class files (and associated resources) required for the application. Note: The Tomcat application server should be restarted after changing any JAR files in this folder.
Thank you, René.
I haven’t got a chance to put it in to composer project/WEB-INF/lib directory, At least, it works in tomcat’s common lib directory, since I found json.jar there.
However, it must be better to put jar into directory only related to project.