> I have following JSP code/page:
>
> <%@ page import="java.util.*" %>
> <%@ page import="java.io.*" %>
>
> <%
>     try{
>       Properties p = new Properties();
>
>  p.load(new FileInputStream("connection.ini"));
>
>       System.out.println("DataBase = " + p.getProperty("Database"));
>       System.out.println("Jaguar IP = " + p.getProperty("JagServer"));
>       System.out.println("Jaguar Port = " + p.getProperty("JagPort"));
>       p.list(System.out);
>     }
>     catch (Exception e) {
>  System.out.println(e);
>     }
> %>
>
> Connection.ini looks like this:
> Database=HepekDB
> CacheName=HepekJag
> DBMS=ODBC
> ServerName=
> UserID=
> PassWord=
> JagServer=42.9.1.150
> JagPort=9000
> Application=none
>
> Page and connection.ini are in the same directory on Tomcat/NT.
> %TOMCAT_HOME%\webapps\root
>
> Page complies just fine and produces no output whatsoever.
> I tried to provide explicit path to connection.ini but same thing, no
> output.
> Anyone have any suggestions?
>
> Thanks
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to