html call servlet

2001-04-12 Thread Abraham Liu
Hi All, How can html call servlet under weblogic ? I hope it is not off topic. But I do need help. I have a html, called bonus.html, under myserver\public_html\test. If i want to invoke the servlet "BonusServlet" which will invoke the EJB. Besides , where I shall put "BonuServlet.class" to ? Can

Re: Newbie Question

2001-04-12 Thread Morgan Delagrange
I would think that would work, but you might want to try this in your web.xml instead: http://java.apache.org/taglibs/jdbc jdbc.tld Also, as a point of information, this line shouldn't be necessary if you only access the database via the tag library: > <%@ page language="java

Newbie Question

2001-04-12 Thread Dummy Amar
Hi, I downloaded the JDBC taglib directory and following the direction copied the jdbc.tld file under the /WEB-INF directory and jdbc.jar under /WEB-INF/lib directory. I also created an entry in the /WEB_INF/web.xml like http://java.apache.org/taglibs/jdbc /WEB-INF

Re: connection tag, please help!

2001-04-12 Thread Morgan Delagrange
I think what you mean to do here: > <% session.setAttribute("conn1",conn1); %> is actually: <% session.setAttribute("conn1", pageContext.getAttribute("conn1")); %> However, as Marius pointed out in a previous email, this is incredibly bad practice and no substitute for proper connecti

Re: connection tag, please help!

2001-04-12 Thread Marius Scurtescu
As far as I know the connection is stored in the page context and not in the session, that is why you get the null pointer. You should open and close the connection in every page you need one. Marius > mihai manuta wrote: > > Hello, > > I need to create a connection in one page and then pass

connection tag, please help!

2001-04-12 Thread mihai manuta
Title: Hello,I need to create a connection in one page and then pass the same connection to another page.The following is an example of what I've done:FIRST FILE:<%@ taglib uri="http://jakarta.apache.org/taglibs/jdbc" prefix="sql" %>    JSP Test<%            String driver