how can we create object to a class in a jsp file?

Answer Posted / sant kumar

class name = new class name();

Is This Answer Correct ?    9 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Should I override the service() method?

855


How to make sure a servlet is loaded at the application startup?

746


What is servlet container. how it works?

861


Explain how does JSP handle run-time exceptions?

769


What is the difference between servlet and filter?

710


Which protocol will be used by browser and servlet to communicate

756


why we should override only no-agrs init() method.

863


Is java servlet still used?

753


Explain request dispatcher and its methods.

763


What is difference between PrintWriter and ServletOutputStream?

983


What are the type of protocols used in httpservlet?

779


How to handle exceptions thrown by application with another servlet?

796


What is cookie in servlet?

769


How do servlets work?

753


request parameter how to find whether a parameter exists in the request object?

767