I am creating a jsp page to allow user to delete and update.
So, as per jsp rule, I put the <%@ page language = "java" contentType = "text/html"; charset = ISO-8859-1" %>
at the top of my page. However, netbean IDE shows me error.
Heading is follows by :
Please advise if there's anything wrong with the way I put the heading?
Where do you see that you can create code like the following?
First, you really don't want to be doing any Java programming in the JSP page. The JSP page should be used just for display of information. The application processing should be done in a servlet.
Second, If you want to import, you can use the import attribute of the page directive, as in:
There are lots of great articles on Java Ranch which would help you. Start with the JSP FAQ http://faq.javaranch.com/java/JspFaq and go from there.
Also, take a look at the Core Servlets and JSP book's web site http://pdf.coreservlets.com/ where you can download all the chapters for the book for free. That site also has lots of great information, tutorials, etc. It will give you a lot of great help in getting started.