Answer Posted / vikas
Between <% and %> tags,any valid Java code is called a
Scriptlet. This code can access any variable or bean declared.
For example,to print a variable.
<% String username = "visualbuilder" ;
out.println ( username ) ; %>
| Is This Answer Correct ? | 8 Yes | 7 No |
Post New Answer View All Answers
Why jsp is faster than servlet?
What is jsp usebean?
What does .com stand for?
How does a jsp work?
What is the scope of response object?
What do you know about jsp expression language (jsp expression language – el)?
How are jsp(java server pages) better than asp(active server pages)?
What are the different jsp element types?
Explain handling of runtime exceptions.
Which implicit object is not available in normal jsp pages?
What are different implicit objects of jsp?
How do we catch exception and process it using jstl?
Why don’t we need to configure jsp standard tags in web.xml?
How to include a jsp file in another jsp file?
How can I use the results of my method? ea: <%! method (int x) { stuff return y; } %> <% out.println(y); %> how can I make this work? "y" is a variable made during the method.