1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Tomcat PAth Problem

Discussion in 'Plesk for Linux - 8.x and Older' started by buntyindia, Dec 11, 2005.

  1. buntyindia

    buntyindia Guest


    This is my first post.

    I am try to find out root Path/Path using the following JSP Program

    But i am getting Value NULL . at Tomcat runned by PLest 7.5

    Whereas at my local webserver it is working fine & giving me the path of my file...

    Why i am getting NULL on my Website?

    Why don't u upgrade TOMCAT & JAVA versions in your PLESK. Still it is version 4.1 but in market it is 5.5.12

    Please HELP

  2. buntyindia

    buntyindia Guest

  3. SecondPhase

    SecondPhase Guest

    you may need to add application permissions?

    possibly you need to add permissions for your application. you may try adding to the file: /usr/share/tomcat4/conf/catalina.policy

    Under the section commented WEB APPLICATION PERMISSIONS add an all permissions line inside the following
    grant {
    permission java.security.allPermission;

    // Required....

    you may want to research and be more specific on your permission granting if you have multiple users on the system.
  4. buntyindia

    buntyindia Guest

    thanks man.......

    Is there any other way to read file using JSP....?