Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: JSP getting downloaded

  1. #1
    Junior Member
    Join Date
    Apr 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default JSP getting downloaded

    Hi All,

    I am not sure whether I pick up the right category to raise this ticket.

    My problem is some times JSP getting downloaded instead of loading. When i check the downloaded JSP it contains full of junk data(like ascii values). TO resolve this we are restarting the web server for couple of times.

    It's not happening every time but happening interpretively.

    Can someone guide me where I need to look into it.

    Sreenivas A


  2. #2
    Super Moderator Sean4u's Avatar
    Join Date
    Jul 2011
    Location
    Tavistock, UK
    Posts
    637
    Thanks
    5
    Thanked 103 Times in 93 Posts

    Default Re: JSP getting downloaded

    If it's happening intermittently and restarting your web server makes it go away for a while, I think you should check your web server's log files.

  3. #3
    Junior Member
    Join Date
    Apr 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: JSP getting downloaded

    Quote Originally Posted by Sean4u View Post
    If it's happening intermittently and restarting your web server makes it go away for a while, I think you should check your web server's log files.
    Hi

    we tried to capture Webserver logs and nothing was logged to web server.

  4. #4
    Member
    Join Date
    Apr 2012
    Location
    Superior, CO, USA
    Posts
    80
    Thanks
    0
    Thanked 14 Times in 14 Posts

    Default Re: JSP getting downloaded

    How is your server configured? Are you fronted with Apache httpd using something like mod_proxy or mod_jk? My guess is that a query parameter is confusing Apache on the front end and your JSP request is not forwarding the request to the Servlet container on the back end.
    Need Java help? Check out the HotJoe Java Help forums!

Similar Threads

  1. Initializing a downloaded class in another class
    By shrewbaca in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 7th, 2012, 04:50 AM
  2. Replies: 4
    Last Post: February 14th, 2012, 02:28 PM
  3. Not downloaded in internet explore
    By mrsreddy65@gmail.com in forum Java Theory & Questions
    Replies: 1
    Last Post: August 22nd, 2011, 07:22 AM
  4. [SOLVED] Problems setting up java files that I downloaded from a publisher's website
    By vendetta in forum Java Theory & Questions
    Replies: 1
    Last Post: February 10th, 2010, 02:43 PM