I am using Apache web server and Apache Jserv1.1

I have directory structure as follows.

d:\jswdk-1.0.1  |
                |
                |----anything   |
                                |-----jsp-------|-----test
|----test.jsp
                                |
                                |-----servlets
                                |
                                |-----Web-inf---|----jsp
                                                |----servlets

|----mappings.properties
                                                |----mime.properties

|----servlets.properties
                                                |----webapp.properties

I have got following Questions regarding these structure and files in
it.


1.----------------------

What is the usr of .properties files ?
        I have tried to screw them up, but couldn't found effect of
this.




2.----------------------

There are two jsp directories and two servlets directory.
One which residing anything contains .jsp files which calls java beans
residing under \Web-inf\jsp directory. As far as I understand, .class
files (beans) should go under this folder

is this correct ?


3.-----------------------

what is the use of \anything\servlets folder ?
As far as I understand, \Web-inf\servlets contains all the compiles
class files which are servlets ?

so, what should go under \anything\servlets folder?


4.-----------------------

I am using Type 4 - Pure JDBC Driver. And I want to use this driver
both in Beans and also in Servlet.

So, ideally speaking where should I put this driver.
Because, when I load JDBC Driver - com.inet.tds.TdsDriver, the
TdsDriver.class file should be in the directory, com\inet\tds and it
should be in the same directory where the class is loaded.

so, clearly if I am loading ConTest servlet from \Web-inf\servlets
directory,
then under \Web-inf\servlets directory, com\inet\tds should be there.
If i put it, it works fine.

But what If I want to use this same driver, from the beans also.

What is the solution for this?


Thanks for your help guys.

Sanjay Mistry
__________________________________________
NetZero - Defenders of the Free World
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to