No. JSPs are not thread safe by default
JSP actions are XML tags that direct the server to use existing components or control the behavior of the JSP engine. JSP Actions consist of a typical (XML-based) prefix of "jsp" followed by a colon, followed by the action name followed by one or more attribute parameters. There are six JSP Actions: < jsp : include / > < jsp : forward / > < jsp : plugin / > < jsp : usebean / > < jsp : setProperty / > < jsp : getProperty / >
jsp means Java Server Pages.
Declare That a JSP Page Is an Error PageThe isErrorPage attribute tells the container if the current page is available to be an error page for another JSP page (the current page is the URL in another page's errorPage attribute). Ex:If this attribute is set to "true" then the variable "exception" is available to you. Otherwise (default is "false"), if you try to reference the exception, you will get a fatal error.So, when a Servlet request being forwarded to a JSP Page faces an exception/error this error page would get called.
The implicit objects in a JSP page are:requestresponsepageContextsessionapplicationoutconfigpage
The 3 life cycle methods in a JSP page are:jspInit() - Called when the JSP page is initializedjspService() - Called everytime a request/response is received/submittedjspDestroy() - Called when the JSP is no longer required
No. The Servlet is not thread-safe by default. You can make it thread safe by implementing the SingleThreadedModel interface
Medium priority
thread is a light weight program . concurrent execution of code can be done by usin threads.thread is a part of the program.
JSP actions are XML tags that direct the server to use existing components or control the behavior of the JSP engine. JSP Actions consist of a typical (XML-based) prefix of "jsp" followed by a colon, followed by the action name followed by one or more attribute parameters. There are six JSP Actions: < jsp : include / > < jsp : forward / > < jsp : plugin / > < jsp : usebean / > < jsp : setProperty / > < jsp : getProperty / >
If it is large enough.
A thread safe object is one that would be safe even if multiple thread instances are accessing it. For example if a single object is being updated by a thread and the same object is being read by another thread - we will end up with an inconsistency where the reading object is reading incorrect data because by the time it finishes reading, another thread would've updated it. So we use the keyword synchronized with methods to ensure that such a situation does not happen. An object that wont let two threads access it simultaneously is called a thread safe object
JSP stands for Java Server Pages
JSP stands for Java Server Pages
JSP Records was created in 1978.
can i get update coding in jsp??
jsp means Java Server Pages.
JSP and HTML are similar in some way or other. JSP is one which has work on Java Programming as well.