How to configure jstl in ideal

1. Download the jstl package, download address: Index of /dist/jakarta/taglibs/standard/binaries

      1.1 It is recommended to download the following

   2. After downloading, unzip it into a folder, copy and paste the 2 files in the lib file into the lib folder of WEB-INF (you can create one if there is none), and select the package just copied, right Click on add library to decompress these two packages

after decompression

 

3. Configure the package to the project

    3.1file--->project Structe--->moduels---->dependencies

Click the + sign----select liberay

 

 

Click new liarary---choose Java---find the lib folder under web-info under our project, click ok and click apply.

Note: When using jstl, add it to the jsp page

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

 

 

 

Guess you like

Origin blog.csdn.net/qq_46586512/article/details/121342206