Import idea jstl tag library

1. Here and elsewhere the jstl-1.2.jar Download good (must use this !! there will be other issues QAQ No Solution)

https://mvnrepository.com/artifact/javax.servlet/jstl/1.2
 

2. Introducing jstl-1.2.jar packet to the web at lib folder

This folder is created when the project has been to add it to the module to go inside, so I'll go on to copy and paste it here inside the package is automatically imported into the library ~ here is not to talk about details of how to import the jar package QWQ

 

3. In reference to jsp file jstl, the following sentence is added to the basic format of the fixed

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

prefix = "c" indicates that it is referenced c label, c label is jstl friends.
uri = "http://java.sun.com/jsp/jstl/core" Well QWQ me that rote, is with have the same url slightly different stuff -
 

4. The top three steps is the normal installation procedure, you can check if the error is repeated QAQ can only continue if all of the Baidu or Google it. . I tried several times before because it failed with jstl-1.2.jar this package, also pressing to join the online approach c.jld the uri. . Touch for a long time or not, the last successful operation to put the uri deleted also still be able to function properly, because it comes down to a three-step ~~

Guess you like

Origin www.cnblogs.com/lightice/p/10991918.html