Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Dynamic Web Project
Dynamic Web Project [message #209655] Wed, 05 March 2008 15:10
Eclipse UserFriend
Originally posted by: xxxxx.gmail.com

Hi
im developing a dynamic web project in eclipse. i have some java classes
that access a database and they get the database url,database driver and
server from an inf file. Ive written a simple class that tests this and it
works fine, it retrieves the data from the inf file, accesses the database
and returns the data. The problem come when i try and fit this in with
some servlets and run it on apachi through eclipse. I have a html login
page, when user presses submit it sends data to a servlet which then calls
the database access methods in the java classes and depending on if the
input matches the database forward user to a successful/unsuccessful login
page. Now this works fine when i manually enter the url,driver etc into
the code but when i try it using the inf file i get errors. Do i need to
place the inf file in a particular directory e.g. WEB-INF so that it can
be accessed when it is run on the server?
Thanks
David
Previous Topic:Errors when a Jsp page includes a Jsp that includes an other jsp
Next Topic:WSDL Generation
Goto Forum:
  


Current Time: Fri Apr 19 12:40:23 GMT 2024

Powered by FUDForum. Page generated in 0.22149 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top