This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to run hsqldb with tomcat..

 
Malith Yapa
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys,

I'm new to servlets and stuff.. I've got the hsqldb database jar and a tomcat server running on my machine.. So in order to test my web app i'd want hsqldb to run ton the tomcat server.. Can someone pleease give me in detail how to do it..

I couldn't understand much of the tomcat documentation!!
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There isn't much to do. Put the hsqldb jar files in the WEB-INF/lib directory of the web app you want to use it with, and you're ready to use it in standalone mode.

Or do you wan to run it in server mode? In that case, keep it out of the Tomcat installation.
 
Malith Yapa
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
THanks dude
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic