my dog learned polymorphism
The moose likes JSP and the fly likes <%@page import = error here, class, interface or enum expected " title="" /> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "<%@page import = "java.sql.*" %> error here, class, interface or enum expected " Watch "<%@page import = "java.sql.*" %> error here, class, interface or enum expected " New topic
Author

<%@page import = "java.sql.*" %> error here, class, interface or enum expected

Matias Ramirez
Greenhorn

Joined: Apr 03, 2013
Posts: 1
http://pastebin.com/hyvtSGM9
here is my code, i dont know whats weong with the header.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 13000
    
    5
Does your code really have a space after import and before the equals?

Bill
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63208
    
  69

In the future please be sure to include the code in your post, and UseCodeTags.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: <%@page import = "java.sql.*" %> error here, class, interface or enum expected
 
It's not a secret anymore!