Re: Problems with a simple JSP and mySQL connect

2001-07-18 Thread Simon Chan
OTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: 18 July 2001 15:14 > > Subject: Re: Problems with a simple JSP and mySQL connect > > > > > >> Simon, > >> > >> I miss read your question. The host machine is "larry" and the db

Re: Problems with a simple JSP and mySQL connect

2001-07-18 Thread Simon Chan
Your connection string should be jdbc:mysql://localhost/howlerdb?user=howler&password=winston2644 if howlerdb is your db name skc "Howler D. Wolfe" wrote: Currently, I have it all on 1 machine, Tomcat, Apache, and MySQL, larry, and I am logged in as "howler" Simon Cha

Re: Problems with a simple JSP and mySQL connect

2001-07-18 Thread Simon Chan
rry root (empty) All are set to 'Y' localhost (empty) (empty) All are set to 'N' larry (empty) (empty) All are set to 'N' localhost howler All are set to 'Y' Not sure whats going on with this or what exactly should be here. Any suggestions would be help

Re: Problems with a simple JSP and mySQL connect

2001-07-18 Thread Simon Chan
Please check your mysql.user table to make sure that your client machine is in the host field. skc "Howler D. Wolfe" wrote: > > > > Hello Everyone, > > I apologize if this has been answered in a previous post. I've been digging through >old posts and > and searching on the net for an answer t

Re: How to configure web.xml to setup init parameters for JSP

2001-07-17 Thread Simon Chan
riable%> ... ----- Original Message - From: "Simon Chan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 17, 2001 12:24 PM Subject: How to pass init parameter to a JSP > Hi, > > How to pass initial parameters to a JSP?  I know how to pass initial &

How to pass init parameter to a JSP

2001-07-17 Thread Simon Chan
Hi, How to pass initial parameters to a JSP? I know how to pass initial parameters to a servlet via web.xml file (). However, I don't know where to put for JSP. This is my JSP file ... <% String c = config.getInitParameter("cfg"); ... Thanks in advance skc