开发者

jstl invalid prefix error

开发者 https://www.devze.com 2023-04-07 11:39 出处:网络
I am using similar piece of code in a jspx file <html xmlns:jsp=\"http://java.sun.com/JSP/Page\" xmlns:uikit=\"http://www.abc.net/ld/uikit\">

I am using similar piece of code in a jspx file

<html
xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:uikit="http://www.abc.net/ld/uikit"           >

<head>
<link type="text/css" rel="stylesheet" href="${uikit:cpp('abc')}"/>

but its throws the error

jsp.error.attribute.invalidPrefix uikit

The cpp function is defined in the uikit.tld file. The above code works perfectly fine on tomcat, but gives error on Websphere 7.0.0开发者_StackOverflow.19.

Any idea what might be going wrong ?

0

精彩评论

暂无评论...
验证码 换一张
取 消