Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes Specyfying debug initialization param in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Specyfying debug initialization param in web.xml" Watch "Specyfying debug initialization param in web.xml" New topic
Author

Specyfying debug initialization param in web.xml

RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528

Hi ,

whats the use to mention
<init-param>
<param-name>debug</param-name>
<param-value>3</param-value>
</init-param>

and sometimes the Param value is also mentioned as true/false ??

Can anybody Please tell me whats the use of this ??


If you want something you never had do something which you had never done
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60743
    
  65

What's the context? If this is defined within a servlet declaration, then the servlet is probably written to do something with this. Without seeing the servlet code, impossible to say.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
If this is part the web.XML file
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60743
    
  65

That doesn't narrow it down any.
RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
hh
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
What Bear is suggesting is that you take a look at the servlet code. It's probably reading this value and comparing it to some value and then taking some action. However, without seeing the servlet code, it's not possible to say. Also, the servlet may not even read this value at all.

The knowledgable folks here are always willing to answer questions provided enough information is provided. And, you have NOT done that.

RaviNada Kiran wrote:Its Okay , , I think you are not in a mood to answer my query.


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528

The knowledgable folks here are always willing to answer questions provided enough information is provided. And, you have NOT done that.

Yes
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60743
    
  65

I have answered the question as much as it can be answered with the information you have given. If you are unwilling to respond with additional information as it is requested in order to answer the question, then there's not much more that can be done.
 
wood burning stoves
 
subject: Specyfying debug initialization param in web.xml
 
Similar Threads
struts.xml file
regarding the web.xml
Need related struts subapps in one struts app
Debug param for action servlet
web.xml