aWlater,
You wcould use a Java servlet and can either code the statement in the servlet and
then push the HTML data stream out to the browser, or, the better way would be to
use a servlet, have it call a data bean that executes the SQL statment and then
have your servlet call a JSP to display the data.  The JSP will reference the data
stored in the data bean.

You could also use a cgi program to do the query and send the data, in table form,
back to the browser.

It's all according to what you know how to do, and what languages you know.

--
Jay H. Lang
Chief Technologist
Distributed Computing Professionals Inc.
IBM Certified Specialist - MQSeries
303 277-1873 - Office
303 807-9700 - Cell
Walter Priesnitz Filho wrote:

> Hi all,
> I need help with an apllication.
> I need make a query in an Oracle Table and put the result in a html table.
> How can I pass the resultset from Oracle to JSP?
> Does anybody help-me???
>
> Thanks
> -----------------------------------------
> Walter Priesnitz Filho
> Mestrando em Ciencia da Computacao
> [EMAIL PROTECTED] | [EMAIL PROTECTED]
> http://www.inf.ufsc.br/~walterp
> -----------------------------------------
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> 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
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> 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

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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