Latest Answer: To develop acustom tag1)we need to write our own .tld2)for every tag in the tld we have to write tag handler classes (Generally .jar files contains the taghandler classes)using doStartTag(),doAfterBody(),doEndTag()3)specify taglib uri and tag lib location ...
the problem i am facing is that whenever i fill details in the form and then click on upload link then request go to upload.jsp and when after uploading the form the request comes back to registration
Latest Answer: I think we have to use session management to add attributes and pass on the response object back to the clien to simulate Auto-Fill Effect... ...
Latest Answer: From my knowledge, there is no JSP 3.0. The final version released of JavaServer Pages Specification is Ver.2.1, that leverages the Servlet 2.5 specification for its web semantics. The implicit objects available in a JSP page are:1.request,
2.response3.page, ...
Latest Answer: What do u mean by Timer ..?what is the functionality u want to achieve? ...
Latest Answer: By extension if you mean reusing the code ..JSP is but Servlet cannot be..Only we can include or pass the control to another Servlet back and forth but we cannot re use it like custon tags.... ...
To create a DSI (Dynamic Skeleton Interface) based server, the server must extendA: org.omg.CORBA.DynamicImplementation B: org.omg.CORBA.DynamicSkeleton C: org.omg.CORBA.SkeletonInterface D: org.omg.CORBA.DSIHow would you get the actual bound object of type MyObject using JNDI?A: namesList = context.listBindings(someContextName); Binding binding = namesList.next(); MyObject obj = (MyObject) binding.getObject(); B: namesList = context.listBindings(someContextName); Binding binding
Latest Answer: If there is any problem during compilation servlet(converted jsp to servlet) Generally this jasper exception will comejava.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--javax.servlet.ServletException ...
Implicit objects are the objects available tothe JSP page. These objects are created by Webcontainer and contain information related to aparticular request, page, or application. The JSPimplicit objects
Latest Answer: There are 9 implicit objects available in jsp1) Page2)pagecontext3) request4) response5) application6) session7) out8) config9) Exceptionthese are created by container..No need to declare thse objects in jsp page.. we can directly use it. ...
Write the following code for a JSP page:<%@ page language = "java" %> <%PrintWriter print = request.getWriter();print.println("Welcome");>%Suppose you access this JSP file, Find out your answer.a) A blank page will be displayed.b) A page with the text Welcome is displayedc) An exception will be thrown because the implicit out object is not usedd) An exception will be thrown because PrintWriter can be used in servlets only
A page with the text Welcome is displayed
Identify the advantages of JSP over Servlet.a) Embedding of Java code in HTML pagesb) Platform independencec) Creation of database-driven Web applicationsd) Server-side programming capabilities
Embedding of Java code in HTML pages
View page << Previous 1 2 [3] 4 5 6 7 8 9 10 Next >>

Go Top