GeeCON Prague 2014*
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
Author

deactivating "?debug=true"

jeff mutonho
Ranch Hand

Joined: Apr 30, 2003
Posts: 271
posted April 28, 2004 02:00 AM
--------------------------------------------------------------------------------
Hi
I've got a web app that a user can access as (egt) http://localhost:8080/MyWebApp/signonInit.do
How do I stop
http://localhost:8080/MyWebApp/signonInit.do?debug=true
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?
Thanks
jeff mutonho
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61315
    
  66

"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] [Bear's FrontMan] [About Bear] [Books by Bear]
 
GeeCON Prague 2014
 
subject: deactivating "?debug=true"