Can we write java code in jsp?
Answer / Purnendu Kumar Shukla
Yes, Java code can be written in JSP using scriptlets (<% ... %>), expression language (<%= ... %>, <%# ... %>, or ${...}), and JavaScript functions (<script>). However, it's generally recommended to use managed beans with Java Code in a separate .java file.
| Is This Answer Correct ? | 0 Yes | 0 No |
Mention the advantages of jsp over pure servlets?
How can we create jsp custom tags?
Can we use jstl in html?
What is jsp? Explain
mention the three important tags used in the development of jsp bean.
What is the _jspservice() method?
What is an expression language?
how to extends one jsp page to another jsp page with realtime example?
What is the most needed for STRUTS ?
What is jsp tag?
How can automatic creation of session be prevented in a jsp page?
how to maintain sessions in jsp?can you tellme the methods.
16 Answers IBM, Scope International, TCS,