Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

deactivating "?debug=true"

 
jeff mutonho
Ranch Hand
Posts: 271
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic