ITPub博客

首页 > 应用开发 > Java > glassfish-v3-prelude jspc 使用帮助

glassfish-v3-prelude jspc 使用帮助

原创 Java 作者:davidyu720 时间:2019-05-10 20:42:07 0 删除 编辑
Usage: jspc [--]
where jsp files is
-webapp A directory containing a web-app, whose JSP pages
will be processed recursively
or any number of
A file to be parsed as a JSP page
where options include:
-help Print this help message
-v Verbose mode
-d Output Directory (default -Djava.io.tmpdir)
-l Outputs the name of the JSP page upon failure
-s Outputs the name of the JSP page upon success
-p Name of target package (default org.apache.jsp)
-c Name of target class name (only applies to first JSP page)
-mapped Generates separate write() calls for each HTML line in the JSP
-die[#] Generates an error return code (#) on fatal errors (default 1)
-uribase The uri directory compilations should be relative to
(default "/")
-uriroot Same as -webapp
-compile Compiles generated servlets
-genclass Same as -compile
-webinc Creates a partial servlet mappings in the file
-webxml Creates a complete web.xml in the file
-ieplugin Java Plugin classid for Internet Explorer
-classpath Appends path to java.class.path system property
-xpoweredBy Add X-Powered-By response header
-trimSpaces Trim spaces in template text between actions, directives
-smap Generate SMAP info for JSR45 debugging
-dumpsmap Dump SMAP info for JSR45 debugging into a file
-validate Validate .tld and web.xml files against their schemas and dtds
-compilerSourceVM Provides source compatibility with specified JDK release

-compilerTargetVM Generates class files for specified VM version

-ignoreJspFragmentErrors Ignore compilation errors of JSP fragments[@more@]

其中,-smap 选项的含义 Generate SMAP info for JSR45 debugging与调试相关

JSR-45(Debugging Support for Other Languages)为那些非 JAVA 语言写成,却需要编译成 JAVA 代码,运行在 JVM 中的程序,提供了一个进行调试的标准机制。

JSR-45 的样例就是一个 JSP。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9844649/viewspace-1019773/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2007-08-18

  • 博文量
    234
  • 访问量
    246418