No, that's really my question. I need to run a database query, but I
can only access the database from a servelt, or jsp page.
I'm building an application... so I cannot directly access the
database from the application. I want to run a query through a jsp/
servlet function or something...
> It's crazy.
>
[quoted text clipped - 18 lines]
>
> - Show quoted text -
> I need to run a database query, but I
> can only access the database from a servelt, or jsp page.
> I'm building an application... so I cannot directly access the
> database from the application. I want to run a query through a jsp/
> servlet function or something...
So just call a JSP page with some arguments and the page can return the
information.
d0ngd0ng - 25 Dec 2007 16:25 GMT
I think this is not a problem,you just call the jsp with http
reqeust,and then pasre the response in your application.
The response may be a XML document or a pure text,it's not too
diffcult. :)
> > I need to run a database query, but I
> > can only access the database from a servelt, or jsp page.
[quoted text clipped - 4 lines]
> So just call a JSP page with some arguments and the page can return the
> information.