Can we use methods in JSP? If so where the methods are
stored in servlet class file?
Answer Posted / madhu
YES We can Write the our own methods or java methods inside
the "JSP Declarations"
Syntax:<%! .................%>
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How to get value from java to jsp page?
What are jsp el implicit objects and how it’s different from jsp implicit objects?
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.
Why should we not configure jsp standard tags in web.xml?
What is session setattribute?
Explain jsp technology?
How are cookies set in jsp?
Why session is used?
How do you pass control from one jsp page to another?
Why do we use expression language in jsp?
What is the jsp?
mention the three important tags used in the development of jsp bean.
Is jsp static or dynamic?
How many tags are provided in jstl?
What is jsp and its features?