| Author |
Connection from web.xml file
|
Sam Tilley
Ranch Hand
Joined: Dec 05, 2001
Posts: 160
|
|
Hi, i am trying to open the connection to my database from a servlet but am having a couple problems. Initially i simply used to get access to my database but now we want to keep it in the xml file. As per the instructions in http://www.horstmann.com/sjsu/tomcat.html i set it up as after altering my xml file as required (i am running Tomcat) but i am having problems about finding out what "application" is and why forte will not resolve it. Tad worried that i am looking it in the face but any help would be appreciated Thanks Sam
|
Sam Tilley SCJP, SCWCD
|
 |
Rene Larsen
Ranch Hand
Joined: Oct 12, 2001
Posts: 1179
|
|
'application' is used in JSP and stand for 'ServletContext'. If you want to use it in a Servlet you should use this: /Rene [ July 10, 2002: Message edited by: Rene Larsen ]
|
Regards, Rene Larsen
Dropbox Invite
|
 |
 |
|
|
subject: Connection from web.xml file
|
|
|