-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: cannot import javax.servlet
PostPosted: Sun Aug 27, 2006 12:28 pm 
Newbie

Joined: Mon May 15, 2006 4:35 am
Posts: 1
Location: Italy
I am a novice with hibernate and I am trying to run the sample application (events), but I am unable to import javax.servlet in EventManagerServlet.java because there are no references to servlet under javax (i. e. there are javax.security and javax.sound but not javax.servlet).

What I have to do to solve the problem?

Thank you.

Domenico


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 27, 2006 2:09 pm 
Beginner
Beginner

Joined: Tue Aug 08, 2006 11:53 am
Posts: 37
you will get the javax.servlet.* packages from the application server vendor. if u r using tomcat then try searching for servlet.jar on ur machine. if websphere try to locate j2ee.jar and put it in classpath.

Pls rate if this anser helped you.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.