Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Problem duplicating SampleDashboard.jsp

  1. #1

    Default Problem duplicating SampleDashboard.jsp

    Hi all !

    Sorry if this question is a dummy one : i am not a java developer

    I need to create different dashboards in Pentaho and i duplicated the "sampleDashboard.jsp" as "autreDashboard.jsp". Then, I created a new .url file and the properties files.

    dashboard2.url :
    [InternetShortcut]
    URL=/pentaho/autreDashboard
    Modified=30E041B5D78BC5012E
    [navigation]
    Name=%url_name
    Description=%url_description
    Icon=dashboard.jpg

    I can see my new solution in the app but when I try to execute, I get an 404 error. Did I miss a step to link my new .url file and the new .jsp ? Is there any documentation about that ? I did not find anything in the "pentaho-dashboard-building.pdf".

    Thanx in advance,
    Attached Images Attached Images  

  2. #2
    Join Date
    Dec 2005
    Posts
    531

    Default New JSP must be mapped in web.xml

    Hi,

    you have to make the new JSP-page available to the web application. Therefore you need to edit the web.xml file in ...jboss\server\default\deploy\pentaho.war\WEB-INF. Search for tags containing sampleDashboard.jsp, copy them and change to the new name / jsp.

    All the best,
    Ingo

  3. #3

    Thumbs up it works !!

    I added the mappings in web.xml under the <!-- Pentaho JSP Mappings --> section
    and it works.

    Thanks a lot !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.