cvs diff FileServerPortlet.java (in directory H:\jetspeed\jakarta-jetspeed\src\java\org\apache\jetspeed\portal\portlets\) Index: FileServerPortlet.java =================================================================== RCS file: /home/cvspublic/jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/FileServerPortlet.java,v retrieving revision 1.26 diff -r1.26 FileServerPortlet.java 86,93c86 < try { < < this.setContent( new JetspeedClearElement( this.getURL( this.getPortletConfig().getURL() ) ) ); < < } catch (Exception e) { < throw new PortletException( e.getMessage() ); < } < --- > initContent( config ); 97a91,93 > * Gets the data from the URL > * > * @param url The url to resolve down to a disk file and retrieve. 99c95 < private String getURL(String url) throws IOException { --- > protected String getURL(String url) throws IOException { 121a118,132 > } > /** > * Sets the content for the portlet from the URL in portlet config. > * > * @param config The portlet config object for this portlet. > */ > protected void initContent ( PortletConfig config ) throws PortletException { > try { > > this.setContent( new JetspeedClearElement( this.getURL( config.getURL() ) ) ); > > } catch (Exception e) { > throw new PortletException( e.getMessage() ); > } >