aspose file tools*
The moose likes Servlets and the fly likes toogle assertion mechanism Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "toogle assertion mechanism" Watch "toogle assertion mechanism" New topic
Author

toogle assertion mechanism

Pradeep Kumar
Ranch Hand

Joined: Sep 11, 2007
Posts: 77
Hi,
How to enable or disable asserions at run time when we are working on server side technologies like servlets, jsp.

Thanks and Regards,
Pradeep
[ October 15, 2008: Message edited by: Bear Bibeault ]

SCJP 1.6
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30512
    
150

Pradeep,
Enable assertions is a command line argument that needs to be configured in your server. Every server does this differently. A quick search found a thread showing this for Tomcat. What server are you using? You'll more likely get a relevant answer with that information.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: toogle assertion mechanism