留言板

Problem importing JSTL in JSP

Dean Grobler,修改在12 年前。

Problem importing JSTL in JSP

thumbnail
Mayur Patel,修改在12 年前。

RE: Problem importing JSTL in JSP

Expert 帖子: 358 加入日期: 10-11-17 最近的帖子
Hi Dean,

you have to copy jstl.jar in your WEB-INF/lib folder and then deployed again your portlet
sure It will work emoticon

Thanks,
Mayur Patel
Zsolt Vilhelm,修改在12 年前。

RE: Problem importing JSTL in JSP

New Member 帖子: 16 加入日期: 11-8-30 最近的帖子
Hello,

You should add the JSTL library to your project's Library. It will solve the porblem.
Do you use Eclipse or Netbeans?
Dean Grobler,修改在12 年前。

RE: Problem importing JSTL in JSP

Zsolt Vilhelm,修改在12 年前。

RE: Problem importing JSTL in JSP

New Member 帖子: 16 加入日期: 11-8-30 最近的帖子
Ok. In Netbeans you should do this:
In your project, right click Librarires and click add Library. From the new window select JSTL 1.1
I attach a picture for you. You may need to download JSTL if you dont have it.
Dean Grobler,修改在12 年前。

RE: Problem importing JSTL in JSP

thumbnail
jelmer kuperus,修改在12 年前。

RE: Problem importing JSTL in JSP

Liferay Legend 帖子: 1191 加入日期: 10-3-10 最近的帖子
Actually it's better / easier to add the following entry to your liferay-plugin-package.properties file

portal-dependency-jars=\
    jstl-api.jar,\
    jstl-impl.jar


unless you want your portlet to be portable across portlet containers that is