This content has been marked as final.
Show 4 replies
-
1. Re: How to Connect hsqldb from eclipse using Servlet or jsp
maxandersen Feb 23, 2009 3:10 AM (in response to nanda143kumar)Nanda, not exactly a tooling question plus accessing databases directly from .jsp is a very bad practice.
Anyhow can't really help you without knowing what your exception is.
My best bet is that you don't have the hsqldb.jar in your classpath.
And otherwise accessing databases in java is explained countless places in a step-by-step manner - try following one of those guides/tutorials. -
2. Re: How to Connect hsqldb from eclipse using Servlet or jsp
ochikvina Feb 24, 2009 5:47 AM (in response to nanda143kumar)It may be also helpful for you: http://download.jboss.org/jbosstools/nightly-docs/en/hibernatetools/html_single/index.html
-
3. Re: How to Connect hsqldb from eclipse using Servlet or jsp
nanda143kumar Feb 25, 2009 6:01 AM (in response to nanda143kumar)"max.andersen@jboss.com" wrote:
Nanda, not exactly a tooling question plus accessing databases directly from .jsp is a very bad practice.
Anyhow can't really help you without knowing what your exception is.
My best bet is that you don't have the hsqldb.jar in your classpath.
And otherwise accessing databases in java is explained countless places in a step-by-step manner - try following one of those guides/tutorials.
.............
Thanks for ur reply...
yes i can connect it now from java file.........
but on jboss portal i m not able to get the output ...
i need to write using portlet language...
So
my question is Can i connect to database using the same code in the portlet programing...
if not what changes i should do..
please reply
regards
Nanda Kumar -
4. Re: How to Connect hsqldb from eclipse using Servlet or jsp
peterj Feb 25, 2009 11:30 AM (in response to nanda143kumar)