Share price download
Download GSK's share price history in Excel format. The share price information is displayed alongside trade volumes, and is available from 01 January 2001 to the present day.
<%
/* define the variables */
URL pageURL = null;
BufferedReader pageReader = null;
String inputLine = null ;
/*
Read in the URL and request string, and send everything through to the page - our XSL page will ignore any parameters its not expecting
Change this url to integrate different pages
*/
String requestString = request.getQueryString();
String url = "http://staging.hemscott.com/ir/gsk/download.jsp?"+requestString;
pageURL = new URL(url);
/* Output the selected feed page */
pageReader = new BufferedReader( new InputStreamReader(pageURL.openStream()));
while ((inputLine = pageReader.readLine()) != null)
out.println( inputLine );
/* Close the file */
pageReader.close();
%>