• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP+XML

 
shailendra vasale
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I had written a JSP program in which i'm parsing the .xml file.But the JWS throws exceptions on import statement for "javax.xml.parsers.*","org.xml.sax","org.w3c.dom".
I set the classpath for these packages but still it the exceptions that these packages not found in import.
I'm using "jaxp-1_1-ea2" API.
Can anyone plz help me out.
Thankx in advance.
shailendra
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13073
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think we need to see the actual code and the actual exception thrown.
Bill
 
corneilguy
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JWS throws exceptions on import statement for "javax.xml.parsers.*","org.xml.sax","org.w3c.dom".
Did you forget the ".*" following org.xml.sax and org.w3c.dom?
 
shailendra vasale
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I solved the problem.It was due to classpath setting.
Anyway,thankx.
Shailendra
 
shailendra vasale
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I solved the problem.It was due to classpath setting.
Anyway,thankx.
Shailendra
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic