What is the first statement in jsp page.

Answer Posted / srikanth tummala

in any or any type of program in java the first statement
should be "package".

Is This Answer Correct ?    1 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by a web application

543


What is pure servlet?

698


What are the different mode that servlets can be used?

557


What is the workflow of a servlet?

720


Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!

1838






What is life cycle of Servlet?

607


What are the different session tracking techniques?

684


What is webservlet?

539


What is Client-Server Computing?

1899


What is java servlet session?

533


What is the difference between forward () and sendredirect () functions in servlet? Explain

551


What is cookie in servlet?

598


What is the web server used for running the Servlets?

581


What is cgi?

600


How can you use a servlet to generate a plain text instead of html?

597