Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to compile all JSP files in IntelliJ IDEA?

Is there a way to enable compilation/verification of all the JSP files in a project? I am doing a big refactoring and want to make sure I don't break any of the JSP files.

like image 206
Peter Moberg Avatar asked Oct 18 '12 18:10

Peter Moberg


People also ask

How are JSP files compiled?

Web Server provides the following ways of compiling JSP 2.1-compliant source files into servlets: JSP are automatically compiled at runtime. The jspc command-line tool, described in this section, enables you to precompile JSPs at the command line.

Can we debug JSP in IntelliJ?

In order to enable JSP debugging you must do two steps: set a web application configuration in your project and add a web application server configuration. Web application Configuration: in order to have JSP debugging, you must have a “web” facet in your project structure, pointing to the correct web. xml file.

Do JSP files need to be compiled?

jsp files in the browser when requested through an URL. This means, whenever a . jsp file is modified in the development environment, it must be compiled before being invoked in the client.

How do I compile files in IntelliJ?

Select a module or a project you want to compile and from the main menu, select Build | Build Project ( Ctrl+F9 ). IntelliJ IDEA displays the compilation results in the Review compilation and build output.


1 Answers

Yes, it's possible in IntelliJ IDEA:

validate

like image 134
CrazyCoder Avatar answered Sep 27 '22 22:09

CrazyCoder