Tag Archives: xml

How does debug level (0-99) in the Tomcat server.xml affect speed?

Questions: The server.xml which controls the startup of Apache Tomcat’s servlet container contains a debug attribute for nearly every major component. The debug attribute is more or less verbose depending upon the number you give it, zero being least and 99 being most verbose. How does the debug level affect Tomcat’s speed when servicing large… Read More »

java.lang.NoClassDefFoundError: Could not initialize class org.apache.poi.openxml4j.opc.internal.marshallers.ZipPackagePropertiesMarshaller

Questions: I am trying to generate Excel using Xssf API because its memory footprint is small. It is working fine in my local machine which is having jdk1.7. But when I try to run it on UNIX where java version is 1.6.0_75 it gives me the following error. java.lang.NoClassDefFoundError: Could not initialize class org.apache.poi.openxml4j.opc.internal.marshallers.ZipPackagePropertiesMarshaller I… Read More »

UIWebViewDelegate not monitoring XMLHttpRequest?

Questions: Is it true that the UIWebViewDelegate does not monitor requests made by using a XMLHttpRequest? If so, is there a way to monitor these kind of requests? e.g. UIWebViewDelegate does not catch this in -(BOOL) webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSMutableURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType; var xhr = new XMLHttpRequest(); xhr.open(“GET”, “http://www.google.com”, true); xhr.onreadystatechange=function() { if (xhr.readyState==4) { alert(xhr.responseText);… Read More »

Synchronous XMLHttpRequest warning and <script>

Questions: I’m getting a warning message: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check http://xhr.spec.whatwg.org/. when performing an asynchronous AJAX request that contains a script (that has local src), which is injected into HTML, using $.html() method. I’ve changed the given… Read More »

Using Android build.xml in eclipse?

Questions: I have an android project which has an Ant buildfile. It works great via the command-line: rascher@coltrane:~/git/$ ant Buildfile: build.xml [setup] Android SDK Tools Revision 8 [setup] Project Target: Android 2.1-update1 [setup] API level: 7 [setup] … etc etc etc … But when I try to use this in eclipse, build.xml has a red-X.… Read More »

How to tell Eclipse to ignore errors in an Ant build.xml?

Questions: I have an Eclipse project which is built using Maven, and I’m using the m2eclipse plugin inside Eclipse for it’s Maven support. However this project also contains a build.xml which is not used for actually building the project, but just for scripting capabilities as a utility for developers on the project – it is… Read More »

build.xml in Java project

Questions: I am new in Java and I need some information. What is the file build.xml? I have a university project which I have to extend. It contains also a build.xml. I was wondering if it is a possibility to import this project in Eclipse or Netbeans using this build.xml. I tried to import the… Read More »