-
-
JSP Comments
What are the ways to write comments in the JSP page? Give example.
-
-
How does a servlet communicate with a JSP page?
The following code snippet shows how a servlet instantiates a bean and initializes it with FORM data posted by a browser. The bean is then placed into the request, and the call is then forwarded to the JSP page, Bean1.jsp, by means of a request dispatcher for downstream processing.public void doPost (HttpServletRequest request, HttpServletResponse response){try {govi.FormBean f = new govi.FormBean();String...
-
-
-
Pass Control from one JSP page to another
Write Sample Code to pass control from one JSP page to another?
How to maintain values inside form field while uploading image using jsp?
The problem I am facing is that whenever I fill details in the form and then click on upload link then request go to upload.jsp and when after uploading the form the request comes back to registration page(1st page) then the values from all fields disappear
Java Server Pages specification includes (Multiple choice)
Skill/Topic: Programming ConstructsA) Script language declarations, scriplets and expressions. B) JSP standard actions. C) JSP standard directivesD) A portable tag extension mechanism.
Which codeline must be set before any of the lines that use the PrintWriter
Skill/Topic: Programming ConstructsA) setContentWriter() B) setWriter()C) setPrintType()D) setContentType()
State true or false -- We can implement an interface in JSP
Skill/Topic: Programming ConstructsA) TrueB) False
URL encoding is the method of replacing all the spaces and other extra characters into their corresponding _______ Characters
Skill/Topic: FundamentalsA) Hex B) Binary C) Octal D) Decimal
What tools can be used to generate the multiple views in jsp
Skill/Topic: FundamentalsA) xalan-J B) Saxon C) Jdk1.5 D) None of the above
Exception Handling in JSP
How will you handle the exception without sending to error page? How will you set a message detail to the exception object?
Transfer data in JSP
How to transfer data over multiple pages?
Ans