Pragya Patnaik

Greenhorn
+ Follow
since Dec 03, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Pragya Patnaik

Even by changing the URL PATTERN it does not work...
As per my knowledge, whenever the welcome-file is called, it should redirect to login.jsp.
for e.g : my welcome file is index.jsp, and when called the base path, i get index.jsp without authentication...
12 years ago
There are some init params which are properly initialized in a method init().
and there is a static statement which should be called when ever the class is loaded.
I am not even getting the static statement which just prints a line.
13 years ago
Hi,
I am getting the below mentioned error while running the perticular servlet. When I am running other servlets I could get proper output.
But for this one getting below mentioned error. Can any one help me finding the exact solution for this.

Nov 22, 2010 1:19:57 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet MyServlet as unavailable

Nov 22, 2010 1:19:57 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Allocate exception for servlet MyServlet
javax.servlet.ServletException: Error instantiating servlet class MyServlet
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:809)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
13 years ago
Same with me even...
getting the same error. verified using external application, it is working fine but by using Schema factory getting error:Failed to read schema..

Any more suggestions for this??
Hi.. my actual problem was that... I have to use a SAX Parser. But i want a document, so need to convert the SAX result to a document...
I got a solution for that... by using SAXSource and DOMResult.
Hey every parser uses SAX in back end.
DOM also uses SAX Parser. But it creats a document so we can traverse back(i think)..
similarly can we do any thing like this??
Hi,

As we can traverse back and forth an xml using a DOM very easily, But since in SAX Parsers, the complete tree is not loaded in one go so normally we cannot traverse back.
Is there any way to do this?