You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by cu...@apache.org on 2005/05/05 23:30:59 UTC
svn commit: r168420 - /incubator/nutch/trunk/src/web/jsp/more.jsp
Author: cutting
Date: Thu May 5 14:30:56 2005
New Revision: 168420
URL: http://svn.apache.org/viewcvs?rev=168420&view=rev
Log:
Fix a null pointer exception and a broken link.
Modified:
incubator/nutch/trunk/src/web/jsp/more.jsp
Modified: incubator/nutch/trunk/src/web/jsp/more.jsp
URL: http://svn.apache.org/viewcvs/incubator/nutch/trunk/src/web/jsp/more.jsp?rev=168420&r1=168419&r2=168420&view=diff
==============================================================================
--- incubator/nutch/trunk/src/web/jsp/more.jsp (original)
+++ incubator/nutch/trunk/src/web/jsp/more.jsp Thu May 5 14:30:56 2005
@@ -44,9 +44,9 @@
%>
<% if (showMore) {
- if (primaryType.equalsIgnoreCase("text")) { %>
+ if ("text".equalsIgnoreCase(primaryType)) { %>
<br><font size=-1><nobr><%=contentType%> <%=contentLength%> <%=lastModified%></nobr></font>
<% } else { %>
- <br><font size=-1><nobr><%=contentType%> <%=contentLength%> <%=lastModified%> - <a href="text.jsp?<%=id%>"><i18n:message key="viewAsText"/></a></nobr></font>
+ <br><font size=-1><nobr><%=contentType%> <%=contentLength%> <%=lastModified%> - <a href="../text.jsp?<%=id%>"><i18n:message key="viewAsText"/></a></nobr></font>
<% }
} %>