Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Servlets and the fly likes Specyfying debug initialization param in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply 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: 56528
    
  14

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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: 56528
    
  14

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: 1506
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: 56528
    
  14

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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Specyfying debug initialization param in web.xml
 
Similar Threads
Need related struts subapps in one struts app
struts.xml file
Debug param for action servlet
web.xml
regarding the web.xml