357959 - Include javadoc in distribution

+ Adjusting /javadoc/ proxy configuration in test-jetty-webapp to
  now be /javadoc-proxy/, along with providing a link to the
  distribution's /javadoc/ path as well.
This commit is contained in:
Joakim Erdfelt 2011-09-16 11:05:07 -07:00
parent d39ceb21a7
commit 298a623fe9
2 changed files with 10 additions and 5 deletions

View File

@ -235,7 +235,7 @@
<servlet-name>TransparentProxy</servlet-name>
<servlet-class>org.eclipse.jetty.servlets.ProxyServlet$Transparent</servlet-class>
<init-param>
<param-name>Prefix</param-name><param-value>/javadoc</param-value>
<param-name>Prefix</param-name><param-value>/javadoc-proxy</param-value>
</init-param>
<init-param>
<param-name>ProxyTo</param-name><param-value>http://download.eclipse.org/jetty/stable-7/apidocs</param-value>
@ -247,7 +247,7 @@
</servlet>
<servlet-mapping>
<servlet-name>TransparentProxy</servlet-name>
<url-pattern>/javadoc/*</url-pattern>
<url-pattern>/javadoc-proxy/*</url-pattern>
</servlet-mapping>
<error-page>

View File

@ -3,6 +3,11 @@
<TITLE>Powered By Jetty</TITLE>
<META http-equiv="Pragma" content="no-cache">
<META http-equiv="Cache-Control" content="no-cache,no-store">
<style type="text/css">
body {
font-family: sans-serif;
}
</style>
</HEAD>
<BODY>
<A HREF="http://jetty.eclipse.org"><IMG SRC="jetty_banner.gif"></A>
@ -11,8 +16,8 @@
This is the Test webapp for the Jetty 7 HTTP Server and Servlet Container.
For more information about Jetty, please visit our
<a href="http://www.eclipse.org/jetty">website</a>
or <a href="http://wiki.eclipse.org/Jetty">wiki</a>.
Commercial support for Jetty is available via <a href="http://www.webtide.com">webtide</a>.
or <a href="http://wiki.eclipse.org/Jetty">wiki</a> or see the bundled <a href="javadoc/">javadoc</a>.<br/>
Commercial support for Jetty is available via <a href="http://www.webtide.com">Webtide</a> and <a href="http://www.intalio.com">Intalio</a>.
</p>
<p>
This is a test context that serves:
@ -29,7 +34,7 @@ This is a test context that serves:
<li><a href="dispatch">Dispatcher Servlet</a></li>
<li><a href="rewrite/">Request Rewrite Servlet</a></li>
<li><a href="jsp/">JSP examples</a></li>
<li><a href="javadoc/">Transparent Proxy</a> (to javadoc @ eclipse.org)</li>
<li><a href="javadoc-proxy/">Transparent Proxy</a> (to javadoc @ eclipse.org)</li>
<li>Comet Chat: <a href="chat/">Long Polling</a>, <a href="ws">WebSocket</a></li>
<li><a href="auth.html">Authentication</a></li>
</ul>