• Post Reply Bookmark Topic Watch Topic
  • New Topic

tomcat  RSS feed

 
sobha
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
We developed our application with jsp, servlets in javawebserver. Now we are hosting my application is in third party server which is in Apache and Tomcat. I copied my sample servlet in that server. I am able to compile and access my servlet is in http://temporaryhostname:8080/servlet/MyServlet
I have a DbConnection class which I want to take an instance in all my servlets. I am able to compile dbconnection class. If I compile my ABC servlet it is not identifing my dbconnection class. I have a dbconnection instance in my ABC servlet. What is the problem.
Thanks.
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"sobha",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!