• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

JSP Dedugging

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am using iPlanet web server enterprise edition 6.0 to run my jsp application. I have some system.out.println statements in the java code that is embedded in jsp page for debugging purposes.I looked at the log files (errors and access) but not able to see my system.out.println statements.
Can anyone tell me where should I look for these output statements ?? Or do I need to configure the server to see these output statements ??
Thanks in advance.
-PatJana
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

"patjana"
your name doesn't agree with the javaranch policy on names.
please take a moment and re-register after reviewing the
guidelines at http://www.javaranch.com/name.jsp
Thanks for your cooperation.
regds.
- satya
 
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
AFAIK ( I am only a beginner in JSP....) , you should use out.println() instead of System.out.println().
------------------
Regards,
Shree
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Can anyone tell me where should I look for these output statements ??
If you are using System.out.println( ) stmts, you should be
looking at the console of the server or the window from
which you started your server. You should be able to find
documentation about this in your server docs.
If you use out.println( ) stmts, as suggested above,
then these would ofcourse be in your JSP. However, I would
prefer the System.out.println( ) stmts that way I can
do an search after the debug is complete and delete these
lines.
regds.
- satya
ps: I have never used iPlanet, so I can't pinpoint.
 
patjana
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply.
I am using out.println statements. But I want to know where can I see the system.out.println statements in the server. I started the server from the command prompt and that is just a batch process. It is starting the server and saying that "the server is started successfully" and returning to the command prompt.
Any idea on how to see these statements? I looked at the log files also but of no use.
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You will be able to the output in same window from where you have started the Server.
------------------
Sa
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic