• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jsp testing situation

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I have a situation where in the application server(tomcat) is sitting in a remote location. We are a team of devolper and we are sitting at a different location.

I want to test my jsp pages. When we use System.out.println(), then the message is printed at the server side.

Do we have any procedure where in we, sitting at a different locations can view the error messages or print messages or how do troubleshoot our jsp pages sitting a remote location.

Regards,
Adrian
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have access to the logs directory on the remote machine?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try to make good use of custom errorpage output. You may be able to make custom exceptions that contain more information about the current state of your application and display that on a custom errorpage.

Bill
 
Adrian Perry
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

Thanks for the reply.

The method that I use is generally very crude, but it solves the purpose.
I use:

out.println("<script>alert('the variable = "+varible_in_jsp+"')</script>");

This I use everywhere, where ever I want a print statement. But surely, there must be better way.

Regards,
Adrian
 
Adrian Perry
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Adrian Perry:
Hello,

Thanks for the reply.

No I do not have any log file on the remote machine.

The method that I use is generally very crude, but it solves the purpose.
I use:

out.println("<script>alert('the variable = "+varible_in_jsp+"')</script>");

This I use everywhere, where ever I want a print statement. But surely, there must be better way.

Regards,
Adrian

reply
    Bookmark Topic Watch Topic
  • New Topic