Can we use methods in JSP? If so where the methods are
stored in servlet class file?
Answer Posted / manesh
Mandrita , There is a typo in ur answer.
Its should be <%! //the method%>. not
Regards,
Manesh A. K.
>Yes we can write java methods inside jsp files within
the "declarations" tag <!%//the method%>.
>
>This part of the code is compiled by the servlet engine
and
>inserted outside the _jspservice() method in the generated
servlet class
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
What are jsp elements?
What are the three tags used in jsp bean development?
What are the different scopes an object can have in a jsp page?
Can we use jstl in html?
What is jsp and why is it needed?
Can any one explain about the project Approximate shortest distance computing:A query dependent local landmark scheme
What is jstl?
What is jsp net?
What is the
What are the different scope values for the
What is contextpath?
How do you comment out in jsp?
What is server context?
Is jsp page extensible true false?
Can a constructor be used in place of init() method to initialize a servlet?