Compile JSP files in Netbeans

Is there a way to compile all of your jsp files in netbeans at once? I want to compile them so I can drop them in my tomcat working folder so Tomcat does not have to compile the first time each JSP file is loaded.Thank you,Al
[246 byte] By [alzoid] at [2007-11-26 10:24:51]
# 1

Searching for 'jsp compile' in online help has the following to say:

...Compile all JSP files in a project. In the Projects window, right-click the project node, choose Properties, click Compiling, and select the Test compile all JSP files during builds checkbox. Close the Project Properties dialog box, right-click the project node, and choose Build Project from the pop-up menu.

By default, the IDE does not compile JSP files while building a project. This is because JSP compilation can take a long time because JSP files have to be translated to servlets before they can be compiled....

Help text also available in:

http://www.netbeans.org/source/browse/*checkout*/j2ee/platform/javahelp/org/net beans/modules/j2ee/platform/docs/web/create/jsp/jsp_compile.html?content-type=te xt%2Fhtml&rev=1.5.24.2.2.2

Can u try and see if it meets your needs?

KarthikR at 2007-7-7 2:27:09 > top of Java-index,Development Tools,Java Tools...
# 2
If this is a web application, you could select all the Jsps and bring up the Context Menu and select "Compile File". All the compiled classes will be in {Project}/build/generated/classes directory.Hope this helps.
Kenneth_H at 2007-7-7 2:27:09 > top of Java-index,Development Tools,Java Tools...