Link in cached.jsp page to cached content is an absolute link
-------------------------------------------------------------

         Key: NUTCH-112
         URL: http://issues.apache.org/jira/browse/NUTCH-112
     Project: Nutch
        Type: Bug
  Components: web gui  
    Versions: 0.7.1, 0.7, 0.6, 0.7.2-dev, 0.8-dev    
 Environment: Windows XP Professional SP2, Intel Pentium M 2.0 Ghz, 512 MB RAM, 
although bug is independent of environment
    Reporter: Chris A. Mattmann
 Assigned to: Chris A. Mattmann 
    Priority: Trivial


The link in the cached.jsp page that points to the cached content uses an 
absolute link, of the form "/servlet/cached?idx=xxx&id=yyy". This causes an 
error when the user goes to click on the link and the Nutch war is not deployed 
at the root context of the application server. The link should be of the form 
"./servlet/cached?idx=xxx&id=yyy", i.e., a relative link to correct this 
problem.

I've attached a small patch that fixes the error. I've tested the patch in my 
local environment and it fixes the error.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to