Mauricio Villa wrote:
>
>   public void doPost(HttpServletRequest req, HttpServletResponse res)
>                         throws ServletException,IOException{
>
>         protected String dbURL = "jdbc:odbc:orclx07";

Your biggest problem appears to be the first four lines in the doPost
method. The keyword 'protected' is not valid inside a method. It is only
for member variables. dbURL and the other variables are method (local)
variables.

Kevin Mukhar

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to