Readme File
Welcome to <SQLTags:>
Please refer to the Developer's Guide (devguide.pdf) found in the "/doc"
directory of the standard <SQLTags:> distribution for detailed instructions
on installing and using <SQLTags:>.
Prerequisits
See the developers' Guide for more detailed Requirements.
- Java Development Kit (JDK) version 1.3 or later
- "java.exe" and "javac.exe" accessible via $PATH
- CLASSPATH must include the sqltags-0.x.x.jar file and the JDBC Driver for your database
Setup (for the impatient)
- Copy the "sqltags-0.x.x.jar" and your JDBC jar files into the WEB-INF/lib/ directory
- Add the Jar files (including JDBC) to your CLASSPATH
- Run the SQLTags Generator and build your custom tag library. Save the generated jar file into the WEB-INF/lib/ directory
Windows:
java -classpath sqltags-x-x-x.jar;anyJdbc.jar SQLTags
Unix:
java -classpath sqltags-x-x-x.jar:anyJdbc.jar SQLTags
- Be sure that both "jar" files (above) are in the web server's CLASSPATH
- create a "properties" file to describe the database connection and place it into
the WEB-INF/ directory
# Sample SQLTags.properties
connectionTimeToLiveSeconds=240
connectionUrl=jdbc:oracle:thin:@localhost:1521:ORCL
maxPoolSize=1
minPoolSize=1
userName=scott
password=tiger
poolSize=2
databaseDriver=oracle.jdbc.OracleDriver
asciiStreamTypes=LONG
binaryStreamTypes=BLOB
characterStreamTypes=CLOB