I want to write a web application that can access a mysql database on
localhost. I want to have a web page display 3 lines with radio
buttons to select which line, and each line has either one or two text
entry fields. Then I want to build a query based on the criteria
a) button 1 means I am looking for an exact match on the entry field
b) button 2 means I am looking for a "like" match
c) button 3 means I am looking for a range of matches
the problem is, I don't have a single idea where to start... all this
talk about frameworks and containers has my head swimming.
Should it be a jsp or is there something else? how about an applet?
where should I start? Web page to read, book to buy... I don't know...
hence this rather obscure little post.
Oliver Wong - 20 Jul 2006 23:35 GMT
>I want to write a web application that can access a mysql database on
> localhost. I want to have a web page display 3 lines with radio
[quoted text clipped - 10 lines]
> where should I start? Web page to read, book to buy... I don't know...
> hence this rather obscure little post.
What will you be searching or querying against?
- Oliver
Print Guy - 21 Jul 2006 00:14 GMT
> >I want to write a web application that can access a mysql database on
> > localhost. I want to have a web page display 3 lines with radio
[quoted text clipped - 14 lines]
>
> - Oliver
MySQL database on my home network....maybe later change it to access
Oracle over a VPN
Mark Space - 21 Jul 2006 06:27 GMT
> I want to write a web application that can access a mysql database on
> localhost. I want to have a web page display 3 lines with radio
[quoted text clipped - 10 lines]
> where should I start? Web page to read, book to buy... I don't know...
> hence this rather obscure little post.
To make a lot of assumptions, yes, probably you want JSP. Don't worry
about other frameworks live JavaServer Faces or Struts right now, just
work on JSP and then add part you think you need.
JSP is server side scripting, commonly run by Tomcat. Tomcat is done by
the same folks who do Apache: http://tomcat.apache.org
There is some pretty decent documentation on the website. If you need
more, I'd recommend Head First Servlets and JSP. It's a good intro and
has a lot of useful detail as well.
You have a LOT of work ahead of you just for three buttons. I assume
you will eventually be doing more than just this. If not, maybe a quick
and dirty Java app would actually be better.
Good luck.