File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes deactivating Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "deactivating "?debug=true"" Watch "deactivating "?debug=true"" New topic

deactivating "?debug=true"

jeff mutonho
Ranch Hand

Joined: Apr 30, 2003
Posts: 271
posted April 28, 2004 02:00 AM
I've got a web app that a user can access as (egt) http://localhost:8080/MyWebApp/
How do I stop
from revealing information such as
"RemoteException occured in server thread , nested exception blah blah blah..."

I'm assuming I have to set debug=false in some config file, right?
jeff mutonho
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

"debug" has no special meaning and will be handled in whatever manner the servlet was coded to handle it. Without the servlet code, no one can say.
And unless the servlet or your web app is configured to handle exceptions in whatever fashion you deem appropriate, they will be displayed.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: deactivating "?debug=true"
It's not a secret anymore!