Hi all,

I run Orion Server on both NT and Win98.  On Win98, I had a servlet init
parameter for a JDBC URL, with two forward slashes for the host name.
Win98 liked it, but NT complained.  I added two more forward slashes and NT
liked it.

For example, in web.xml under Win98:

<servlet>
  <servlet-name>myServlet</servlet-name>
  <servlet-class>myServlet</servlet-class>
  <init-param>
    <param-name>my_JDBC_URL</param-name>
    <param-value>jdbc:HypersonicSQL:hsql://localhost:1234</param-value>
  </init-param>
</servlet>

On NT, the following worked (notice the 4 slashes in front of localhost):
<servlet>
  <servlet-name>myServlet</servlet-name>
  <servlet-class>myServlet</servlet-class>
  <init-param>
    <param-name>my_JDBC_URL</param-name>
    <param-value>jdbc:HypersonicSQL:hsql:////localhost:1234</param-value>
  </init-param>
</servlet>

I think in the past, I've tried double-quoting around the parameter, but I
can't remember the outcome.  Anyone else have thoughts on this?

Bill Gates strikes again!

Have fun,

Jay Armstrong
[EMAIL PROTECTED]



Reply via email to