简体   繁体   English

如何@link到javadoc中的JSP文件?

[英]How do I @link to a JSP file in javadoc?

I get the following warning from javadoc: 我从javadoc得到以下警告:

warning - Tag @link:illegal character: "47"

when I have something like 当我有类似的东西

/** 
 *  {@link /WebRoot/WEB-INF/tiles/templates/bob.jsp} for the template responsible
 */

in my code. 在我的代码中。

What is the best way to link to the jsp file in my javadoc comments? 在我的javadoc注释中链接到jsp文件的最佳方法是什么?

have you tried using html-links in your JavaDoc? 您是否尝试过在JavaDoc中使用html链接? They do not need a @-Tag annotation. 他们不需要@ -Tag注释。

/**
 *  <a href="./WebRoot/WEB-INF/tiles/templates/bob.jsp">click me</a>  
 */

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM