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
Explain the various scope values for tag.
How can I implement a thread-safe jsp page? What are the advantages and disadvantages of using it?
What is the difference between "JTable" and "JTGrid"? can they be used interchangeably?
How to deactivate el usage on jsp?
When destroy method of jsp is called?
what is the difference between jsp and servlets ?
What is the need of jsp?
Define JSP Scriptlet.
What is el?
What is a scriptlet?
How can I set a cookie and delete a cookie from within a jsp page?
How to delete a cookie in a jsp?
Why is _jspservice() method starting with an '_' while other life cycle methods do not?
Explain the jsp:setProperty action.
What is difference between sendredirect and forward?