开发者

How do I Display jsp source code in a jsp page

I am writing documentation for a company widget i authored and would like to run it on our development site b开发者_Go百科ut i need to show some jsp source code in the page.

How do i stop code from being interpolated?


Replace < by &lt; and > by &gt;.

You can if necessary make it a bean property and use JSTL <c:out> to display it. It by defaut does that job.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜