Anil, Taggart,
It confirmed.. I'm stupid :-(
Thanks a lot
Of course now it works...
Bonjour (Hello) Taggart Gorman, vous avez �crit le (you wrote on) 17:50
23/08/99 -0700 :
>The problem is that the <%! tag puts the code at the class level, so you're
>trying to write something like:
>
>class showpart_jsp_1
>{
> String strCATEGORIE = request.getParameter("CATEGORIE");
> Connection con = connMgr.getConnection("idb");
> if (con == null) { ======> PROBLEM
> ????????
> out.println("Can't get connection");
> return;
>...
>
>and, of course, the if statement doesn't make any sense outside of a method
>declaration.
+------------------------------------------------+
| Luc Saint-Elie |
| 75018 Paris France |
| Tel: 1(212)894 3713 ext: 0012 |
| email : [EMAIL PROTECTED] |
+------------------------------------------------+
| Java Server Side Open Source technologies |
| http://www.interpasnet.com/JSS |
+------------------------------------------------+
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html