Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javax.xml.parsers with WebLogic5.1

Status
Not open for further replies.

Shilohcity

Technical User
Jul 12, 2000
136
GB
Hi there

I have what is probably a very straight forward question but I cn't seem to figure it out. I want to import the javax.xml.parsers package for use in a JSP page running on WebLogic5.1. WebLogic5.1 will only run with jdk 1.2.2 which doesn't have the package I need in it judging by the error messages I get. Which JDK has the javax package in it and is there any way to get WebLogic5.1 to use this jdk instead?

Maybe a little more complicated than I thought now I have typed it out.

Justin X-) "Creativity is the ability to introduce order into the randomness of nature." Eric Hoffer

Visit me at
 
this download has the javax.xml.parsers package in it :


Go for the Download button under "Java XML Pack - Summer 02 Update Release"

Its quite big (10MB), but does contain what you are after - don't forget to add the packages into your CLASSPATH environment variable !

Ben
 
Hi Ben

Thanks for the suggestion. I had already downloaded the pack and extracted it to C:\java_xml. I added this location to my CLASS_PATH but am still getting the error "Package javax.xml.parsers not found in import" from WebLogic. Is there a specific jar within the pack I need to point to in my CLASS_PATH? I have also tried compiling a basic .java file that imports the same package and also receive the package not found error so it is almost definitley my CLASS_PATH settings.

Thanks again

Justin. "Creativity is the ability to introduce order into the randomness of nature." Eric Hoffer

Visit me at
 
Hey I figured it all out.

I copied the jars from within the jaxp dir into my jdk dir and all works fine. I was getting very confused with crimson.jar, xalan.jar and jaxp.jar all of which seem to have had name changes in the Summer 02 pack.

Anyways thanks again.

Justin. "Creativity is the ability to introduce order into the randomness of nature." Eric Hoffer

Visit me at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top