[Dspace-tech] Java file customisation for JSPUI
Dear community, I have a Dspace version 1.6.2 with JSP User Interface. I made some customisation on the basic jsp file like home.jsp, community-home.jsp where I copied first the original file to the folder " C:\dspace-1.6.2-src-release\dspace\modules\jspui\src\main\webapp" before modifying those files. But now I want to go a bit dipper than those files. I'd like to change the display for full item display. What I want to do is not showing the 3rd column which the language. I don't want this. So for instance here I want to change the file "C:\dspace-1.6.2-src-release\dspace-jspui\dspace-jspui-api\src\main\java\org\dspace\app\webui\jsptag\ItemTag.java" and just take out the third column that is describe in this part of the code (about line 619-630): // Three column table - DC field, value, language out.println(""); out.println("" + LocaleSupport.getLocalizedMessage(pageContext, "org.dspace.app.webui.jsptag.ItemTag.dcfield") + "" + LocaleSupport.getLocalizedMessage(pageContext, "org.dspace.app.webui.jsptag.ItemTag.value") + "" + LocaleSupport.getLocalizedMessage(pageContext, "org.dspace.app.webui.jsptag.ItemTag.lang") + ""); My question is, is it possible to do like the jsp files and copy the file into another folder before doing the changes or is it not like how it should be done for the java file... Hope you understand my question and come back to me. Cheers, Philippe Philippe Thuaud Intern IT Technical & Development T +64 7 838 5223 E philippe.thu...@agresearch.co.nz === Attention: The information contained in this message and/or attachments from AgResearch Limited is intended only for the persons or entities to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited by AgResearch Limited. If you have received this message in error, please notify the sender immediately. === -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Issue about Google crawler
Dear all, A couple of weeks ago I have posted questions about Google crawler and sitemaps. There was a response from Vinit, but I still could not reach the solution to what I am experiencing. I am running 1.6.2 and have registered the site (kb.psu.ac.th) to Google's webmaster tools. I understand that I have submitted the sitemaps. After sometimes, I have repeatedly receiving Internal server error as a result of Google crawler trying to access some non-existence records. Some of the records were repeatedly accessed by crawler for more than a month now. Can anyone help me to pin point the root cause of the problem? I have attaced here with one of the error messages. Thanks. Panyarak Ngamsritragul Prince of Songkla University. Thailand. -- Forwarded message -- Date: Sun, 3 Oct 2010 18:50:06 +0700 (ICT) From: psukb-nore...@psu.ac.th To: psukb-h...@me.psu.ac.th Subject: PSUKB: Internal Server Error An internal server error occurred on http://kb.psu.ac.th/psukb: Date: 10/3/10 6:50 PM Session ID: D5E58233D9F2093B248C4CC5C65D96D1 User: Anonymous IP address: 66.249.69.1 -- URL Was: http://kb.psu.ac.th:8080/psukb/displaystats?handle=2553/929 -- Method: GET -- Parameters were: -- handle: "2553/929" Exception: java.lang.NullPointerException at org.dspace.app.webui.servlet.DisplayStatisticsServlet.displayStatistics(DisplayStatisticsServlet.java:182) at org.dspace.app.webui.servlet.DisplayStatisticsServlet.doDSGet(DisplayStatisticsServlet.java:123) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:465) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:619) -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech