In JavaServer Pages (JSP) technology, a scriptlet is a piece of Java-code embedded in the HTML-like JSP code.
The scriptlet is everything inside the <% %> tags. Between these the user can add any valid Scriplet i.e. any valid Java Code.
Scriptlets are executed at request time, when the JSP engine processes the client request. If the scriptlet produces output, the output is stored in the out object, from which you can display it.
Yes, you can.
No. Variables declared inside a scriptlet are like method local variables which are not accessible outside the scriptlet/method.
"script" is an HTML tag used to include JavaScript on a web page. Example: <HTML> <body> <script type="text/javascript"> document.write("hi there"); // javascript interpreted by the browser </script> </body> </HTML> "Scriptlet" is a JSP construct used to include Java in a JSP page. Example: <HTML> <body> <% // this is a scriptlet response.getWriter().write("hi there"); // Java executed on the server %> </body> </HTML> Here the result (an HTML document with the text "hi there") is the same in both cases, but the mechanisms are different - Javascript runs in the browser (any browser), while the JSP scriptlet is executed on the server and needs a server with JSP support. See related links.
Using either of the two below commands inside a JSP Scriptlet: application.getRealPath(request.getServletPath()); or getServletConfig().getServletContext().getRealPath(request.getServletPath());
"Explain this" is actually "You explain this" or some form of that phrase. As such, "You" is the [understood] subject and "explain" is action requested, i.e. the verb. Or another way of saying it is "explain" IS the verb, "explanation" is the noun, as in "You please explain the written explanation to me.' or simply "Explain it to me Lucy".
Explain RAM? Explain RAM?
explain
i think it depends on WHERE you explain it and WHO you explain it to.
What does "explain" mean? To "explain" something is to tell in detail what something means.
Explain is present tense. I/We/You/They explain He/She/It explains The present participle is explaining.
Topic Sentence * 1st Supporting detail/reason/fact * Explain * Explain * 2nd Supporting detail/reason/fact * Explain * Explain * 3rd Supporting detail/reason/fact * Explain * Explain Conclusion
No, the word "explain" is not present tense. "Explain" is the base form of the verb, and it can be used in various tenses like present ("I explain"), past ("I explained"), or future ("I will explain").