How do you import the packages in the JSP?

Answer Posted / winston watson

<%@page import="mypackage.*, otherpackage.MyClass"%>

With packages under WEB-INF/classes for classes and the
source in packages under src

Is This Answer Correct ?    13 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an expression language?

514


What are the elements of jsp?

498


What is session tracking in jsp?

497


Is jsp platform dependent?

490


How is jsp include directive different from jsp include action. ?

540






When the destroy method of the jsp's are called?

491


What is iselignored in jsp?

509


What is jsp page?

534


Tell us about the jsp life cycle methods.

498


How to print java variable in jsp?

525


What is an expression in jsp?

531


What is difference between javascript and jsp?

500


Which two interfaces does the javax servlet jsp package have?

748


What is jsp scriptlet?

497


What is a session in web?

529