the editor is showing an error “cannot find symbol: class hotelSearch” for <jsp:useBean id=”hot” scope=”page” class=”hotelSearch”/>..
This line implies that you have actually created a Java file named “hotelSearch.java” and it lives in the default package… if this is infact the case, god will strike you down with lightning and fire for doing it.
The class should be named “HotelSearch” and live IN a package, like “com.mycompany.search” or something like that, in which case the line would look like:
<jsp:useBean id="hot" scope="page" class="com.mycompany.search.HotelSearch"/>