Can you test a JSP page using Junit? ,Java, C ,C++, ASP, ASP.net C# ,Struts ,Questions & Answer, Struts2, Ajax, Hibernate, Swing ,JSP , Servlet, J2EE ,Core Java ,Stping, VC++, HTML, DHTML, JAVASCRIPT, VB ,CSS, interview ,questions, and answers, for,experienced, and fresher
Can you test a JSP page using Junit?

More interview questions and answers

Which of following interface must be implemented by all message-driven beans? 1.javax.ejb.SessionBean; 2.javax.ejb.EntityBean; 3.javax.ejb.MessageDrivenBean; 4.All of the above 5.None

Which of following interface can be extended by javax.ejb.EnterpriseBean? 1 javax.ejb.SessionBean; 2. javax.ejb.EntityBean; 3. javax.ejb.MessageDrivenBean; 4. java.io.Serializable 5. None

Which of following interface may be extended by javax.ejb.EJBObject? 1 javax.ejb.SessionBean; 2. javax.ejb.EntityBean; 3. javax.ejb.MessageDrivenBean; 4. java.io.Serializable 5. java.rmi.Remote

Choose true 1.java.rmi.Remote interface is part of Remote Method Invocation over the Internet Inter-ORB Protocol (RMI-IIOP). 2.Any object that implements java.rmi.Remote is a remote object and is callable from a different Java Virtual Machine. 3. java.rmi.Remote interface is part of EJB over the Internet Inter-ORB Protocol (RMI-IIOP). 4.None of Above

Can Entity Beans have no create() methods? 1.Yes 2.No

Choose EJB-required methods for SessionBean 1.public void ejbCreate() 2.public void ejbRemove() 3.public void ejbActivate() 4.public void ejbPassivate() 5.public void setSessionContext(javax.ejb.SessionContext ctx) A.1,2,3,4,5 B.1,2,4,5 C.1,3 D. None

Choose correct option: 1.BMP bean refers as bean-managed persistence bean 2.BMP bean manages synchronizing its state with the database as directed by the container. 3.BMP bean uses a JDBC API to read and write its fields to the database. 4.All of the above. 5.None

In a Home interface may declare zero or more create() methods? 1.Yes 2.No

The ejbLoad()method and ejbStore() method in CMP entities are invoked when the state of entity bean is being synchronized with the database. 1. True 2. False

Hibernate lets you develop persistent classes following common Java idiom - including association, inheritance, polymorphism, composition and the Java collections framework. 1.True 2.False

What is ORM? 1.ORM stands for object/relational mapping. 2.ORM is the automated persistence of objects in a Java application to the tables in a relational database. 3.Both of Above 4.None

The Hibernate XML configuration file name is? 1.hibernate.cfg.xml 2.hibernate.config.xml 3.hibernate.cg.xml 4.None

The most common methods of Hibernate configuration 1. XML configuration in hibernate.cfg.xml 2. XML configuration in hibernate.config.xml 3. Programmatic configuration 4. None

Which of following are not Core interfaces of Hibernate framework 1.Session interface 2.SessionFactory interface 3.Configuration interface 4.Transaction interface 5.Query and Criteria interfaces A.1,2,3,4,5 B.1,3,5 c.1,5 D. None

Is SessionFactory a thread safe object ? 1.Yes 2.No

Choose correct Instance states of persistent classes? 1.transient 2.persistent 3.detached 4.All of Above 5.None

How you can enable the query cache? By setting Property name:- 1.hibernate.cache.use_query_cache true/false 2.hibernate.cache.use_query_cache 0/1 3.hibernate.cache.use _cache true/false 4.hibernate.cache.use_ _cache 0/1

Choose correct hibernate SQL Dialects (hibernate.dialect) combinations 1.For DB2 org.hibernate.dialect.DB2Dialect 2.For MySQL org.hibernate.dialect.MySQLDialect 3.For Oracle 9i/10g org.hibernate.dialect.Oracle9Dialect 4.All of the above 5. None

Which of the following integration points Hibernate have for J2EE infrastructure? 1.Container-managed datasources 2.Automatic JNDI binding 3.JTA Session binding 4.JMX deploymen

There are three standard (built-in) choices: 1.org.hibernate.transaction.JDBCTransactionFactory 2.org.hibernate.transaction.JTATransactionFactory 3.org.hibernate.transaction.CMTTransactionFactory Which is default Transaction strategy configuration? 1.1 2.2 3.3 4.None

What will extension for SSI? 1 .shtml 2 .html 3 .htm 4 .jsp 5 .None

How we can include header and footer into our HTML page? 1. Using SSI include 2. Using JSP include 3. Using Asp include 4. All of the above 5. None

What is correct syntax for SSI to include server header.html? 1. 2. 3. 4.

What is correct syntax for SSI to include server header.html? 1. 2. 3. 4. 5.

The file attribute is used when we have to include the within same directory. When we have in different directory then we use attribute in server side include tag? 1. True 2. Flase

How you can Config and Echo the date using SSI include script 1. 2. 3.Both of 1,2 4.None

We have use CSS class into our html .But we have divide our page without break line. Which of following we have to use? 1.

2. 3.

4. None

Choose true option : 1.HTML allow images and objects to be embedded on web page to create interactive forms by using some script. 2.HTML allow images and objects to be embedded on web page to create interactive forms by using tags. 3.Both of the above 4.None

HTML defines several data types for element content, such as script data and style sheet data, and attribute. Theses all data types are specify as character data. 1. True 2. Fasle

What is extension of html file ? 1. html 2. htm 3. xml 4. xhtml

Choose correct syntax as per w3c standard: 1.

Welcome to r4r

2.

Welcome to r4r

3.

Welcome to r4r


4.

Welcome to r4r

5.

Welcome to r4r

We have following break line tag is used in all browser 1.
tag works in all browsers 2.
is recommended now. 3.
tag not supported for IE, Mazola etc. works in all browsers 4.
is more will outdated.

The
tag 1. Is used to break a line. 2. Is used to bachelor tag this has no body 3. Has no end tag 4. All of the above 5. None.

Choose correct syntax for making a submit button: 1.

2. 3.
4.

Choose correct syntax used for external CSS 1. 2. Here r4rcc.css is in to same directory . 3. Both 4. None

How do we config struts config file in spring configuration file?

How to display Id wise Datareports in Vb 6.0?

write a c program to accept a number between 3 & 10 & print a square of stars. if user enters 4 the output should be as shown **** * * * * ****

HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Cannot create redirect URL: java.net.MalformedURLException: Cannot retrieve ActionForward named welcome org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758) org.apache.jsp.index_jsp._jspService(index_jsp.java:63) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause javax.servlet.jsp.JspException: Cannot create redirect URL: java.net.MalformedURLException: Cannot retrieve ActionForward named welcome org.apache.struts.taglib.logic.RedirectTag.generateRedirectURL(RedirectTag.java:291) org.apache.struts.taglib.logic.RedirectTag.doEndTag(RedirectTag.java:265) org.apache.jsp.index_jsp._jspx_meth_logic_redirect_0(index_jsp.java:80) org.apache.jsp.index_jsp._jspService(index_jsp.java:53) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs. -------------------------------------------------------------------------------- Apache Tomcat/5.0.28

Apr 29, 2010 7:22:39 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Apr 29, 2010 7:22:39 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1587 ms Apr 29, 2010 7:22:39 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Apr 29, 2010 7:22:39 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.28 Apr 29, 2010 7:22:39 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Apr 29, 2010 7:22:40 PM org.apache.struts.action.ActionServlet initChain INFO: Loading chain catalog from jar:file:/C:/r4r/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/r4r-welcome-program-using-struts/WEB-INF/lib/struts-core-1.3.5.jar!/org/apache/struts/chain/chain-config.xml Apr 29, 2010 7:22:41 PM org.apache.catalina.core.StandardHost getDeployer INFO: Create Host deployer for direct deployment ( non-jmx ) Apr 29, 2010 7:22:41 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Apr 29, 2010 7:22:42 PM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Apr 29, 2010 7:22:42 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/96 config=null Apr 29, 2010 7:22:42 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 3101 ms Apr 29, 2010 7:24:17 PM org.apache.struts.chain.ComposableRequestProcessor init INFO: Initializing composable request processor for module prefix '' Apr 29, 2010 7:24:17 PM org.apache.struts.chain.commands.servlet.CreateAction getAction INFO: Initialize action of type: r4r.co.in.action.R4RFirstAction

HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Cannot retrieve definition for form bean: "loginForm" on action: "/login" org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758) org.apache.jsp.R4RFirstInputView_jsp._jspService(R4RFirstInputView_jsp.java:90) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause javax.servlet.jsp.JspException: Cannot retrieve definition for form bean: "loginForm" on action: "/login" org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:798) org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:417) org.apache.jsp.R4RFirstInputView_jsp._jspx_meth_html_form_0(R4RFirstInputView_jsp.java:106) org.apache.jsp.R4RFirstInputView_jsp._jspService(R4RFirstInputView_jsp.java:78) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.

HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Cannot retrieve mapping for action: "/login" org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758) org.apache.jsp.R4RFirstInputView_jsp._jspService(R4RFirstInputView_jsp.java:90) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause javax.servlet.jsp.JspException: Cannot retrieve mapping for action: "/login" org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:779) org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:417) org.apache.jsp.R4RFirstInputView_jsp._jspx_meth_html_form_0(R4RFirstInputView_jsp.java:106) org.apache.jsp.R4RFirstInputView_jsp._jspService(R4RFirstInputView_jsp.java:78) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.

What is the Struts 2.0 flow?

When we click on cancel button then following exception is thrown in struts based application. type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858) org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459) javax.servlet.http.HttpServlet.service(HttpServlet.java:709) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause org.apache.struts.action.InvalidCancelException org.apache.struts.chain.commands.AbstractValidateActionForm.isCancelled(AbstractValidateActionForm.java:53) org.apache.struts.chain.commands.AbstractValidateActionForm.execute(AbstractValidateActionForm.java:91) org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:48) org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190) org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304) org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190) org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:280) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858) org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459) javax.servlet.http.HttpServlet.service(HttpServlet.java:709) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.

WARNING: Unhandled exception org.apache.struts.action.InvalidCancelException at org.apache.struts.chain.commands.AbstractValidateActionForm.isCancelled(AbstractValidateActionForm.java:53) at org.apache.struts.chain.commands.AbstractValidateActionForm.execute(AbstractValidateActionForm.java:91) at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:48) at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190) at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304) at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190) at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:280) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:595) May 5, 2010 9:56:08 AM org.apache.struts.chain.commands.ExceptionCatcher postprocess WARNING: Exception from exceptionCommand 'servlet-exception' org.apache.struts.action.InvalidCancelException at org.apache.struts.chain.commands.AbstractValidateActionForm.isCancelled(AbstractValidateActionForm.java:53) at org.apache.struts.chain.commands.AbstractValidateActionForm.execute(AbstractValidateActionForm.java:91) at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:48) at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190) at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304) at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190) at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:280) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:459) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:595)

a program to print addition,subtraction,multiplication,division of any two number?

What is C?

what is the difference b/w JRE & JVM ?

Can you test a JSP page using Junit?

What\'re the types of controllers?

string constants should be enclosed with a.single quotes b.double quotes

What is ant? 1.Build Tool Only For Java. 2.Build Tools Only For .Net 3.A language 4.Build Tool

Give Introduction Of ASP.

What is difference between ASP ,JSP and PHP?

ASP stands for? 1 Active Server Pages 2 Advance Server Pages 3. Active Service Pages 4. None

HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106) org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs. -------------------------------------------------------------------------------- Apache Tomcat/5.0.28

10 Aug, 2010 12:53:22 PM org.apache.jasper.compiler.Compiler generateClass SEVERE: Javac exception Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106) at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Unknown Source) 10 Aug, 2010 12:53:22 PM org.apache.jasper.compiler.Compiler generateClass SEVERE: Env: Compile: javaFileName=/C:/greentree/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/work/Catalina/localhost/uvc//org/apache/jsp\uvaluecalculator_jsp.java classpath=/C:/greentree/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/uvc/WEB-INF/classes/;C:\greentree\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\uvc;/C:/greentree/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/uvc/WEB-INF/classes/;C:/Program Files/Apache Software Foundation/Tomcat 5.0/common/classes/;C:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/ant-launcher.jar;C:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/ant.jar;C:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/commons-collections-3.1.jar;C:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/commons-dbcp-1.2.1.jar;C:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/commons-el.jar;C:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/commons-pool-1.2.jar;C:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/jasper-compiler.jar;C:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/jasper-runtime.jar;C:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/jsp-api.jar;C:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/naming-common.jar;C:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/naming-factory.jar;C:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/naming-java.jar;C:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/naming-resources.jar;C:/Program Files/Apache Software Foundation/Tomcat 5.0/common/lib/servlet-api.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.0/bin/bootstrap.jar;/C:/Program%20Files/Java/jre1.6.0_05/lib/ext/dnsns.jar;/C:/Program%20Files/Java/jre1.6.0_05/lib/ext/localedata.jar;/C:/Program%20Files/Java/jre1.6.0_05/lib/ext/sunjce_provider.jar;/C:/Program%20Files/Java/jre1.6.0_05/lib/ext/sunmscapi.jar;/C:/Program%20Files/Java/jre1.6.0_05/lib/ext/sunpkcs11.jar cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar cp=C:\greentree\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\uvc\WEB-INF\classes cp=C:\greentree\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\uvc cp=C:\greentree\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\uvc\WEB-INF\classes cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\classes cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\ant-launcher.jar cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\ant.jar cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\commons-collections-3.1.jar cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\commons-dbcp-1.2.1.jar cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\commons-el.jar cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\commons-pool-1.2.jar cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\jasper-compiler.jar cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\jasper-runtime.jar cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\jsp-api.jar cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\naming-common.jar cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\naming-factory.jar cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\naming-java.jar cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\naming-resources.jar cp=C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\servlet-api.jar cp=C:\Program%20Files\Apache%20Software%20Foundation\Tomcat%205.0\bin\bootstrap.jar cp=C:\Program%20Files\Java\jre1.6.0_05\lib\ext\dnsns.jar cp=C:\Program%20Files\Java\jre1.6.0_05\lib\ext\localedata.jar cp=C:\Program%20Files\Java\jre1.6.0_05\lib\ext\sunjce_provider.jar cp=C:\Program%20Files\Java\jre1.6.0_05\lib\ext\sunmscapi.jar cp=C:\Program%20Files\Java\jre1.6.0_05\lib\ext\sunpkcs11.jar work dir=C:\greentree\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\uvc extension dir=C:\Program Files\Java\jre1.6.0_05\lib\ext;C:\Windows\Sun\Java\lib\ext srcDir=C:\greentree\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\uvc include=org/apache/jsp/uvaluecalculator_jsp.java 10 Aug, 2010 12:53:22 PM org.apache.jasper.compiler.Compiler generateClass SEVERE: Error compiling file: /C:/greentree/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/work/Catalina/localhost/uvc//org/apache/jsp\uvaluecalculator_jsp.java [javac] Compiling 1 source file

Why ADO.NET?

What is full name of ADO.NET?

Give Short History of ADO.Net.

Why ADO.NET Is a Better Data Access Layer than others?

Write a sample example of ADO.Net?

Explain ADO.NET Namespaces?

What is ADO.NET Data Structures?

What is ASP.Net?

What is AJAX ?

How to create an AJAX website using Visual Studio?

QUESTION:-What’s the advantage of using System.Text.StringBuilder over

What’s the advantage of using System.Text.StringBuilder over ?

What is the ASP.NET Ajax Framework?

What role does the ScriptManager play?

What are limitations of Ajax?

Question:-What’s the difference between the System.Array.CopyTo() and System.Array.Clone()?

Question:-How can you sort the elements of the array in descending order?

What is the role of a ScriptManagerProxy?

Question:-Can multiple catch blocks be executed?

What is an UpdatePanel Control?

Question:-What’s a delegate?

Question:-What’s a multicast delegate?

Question:-How’s the DLL Hell problem solved in .NET?

What’s a satellite assembly?

What namespaces are necessary to create a localized application?

What is the name of AJAX controls ?

What’s the difference between // comments, /* */ comments and /// comments

How do you generate documentation from the C# file commented properly with a command-line compiler?

What’s the difference between the Debug class and Trace class? Documentation looks the same

Why are there five tracing levels in System.Diagnostics.TraceSwitcher?

What is ASP.NET AJAX?

How does cookies work in ASP.Net?

Can multiple catch blocks be executed?

Is it possible to have different access modifiers on the get/set methods of a property?

What's C# ?

What do you know about .NET assemblies?

What’s the difference between private and shared assembly?

What’s a strong name?

Where are shared assemblies stored?

How can you create a strong name for a .NET assembly?

Where’s global assembly cache located on the system?

Can you have two files with the same file name in GAC?

How do I simulate optional parameters to COM calls?

R4R provides free online tutolrails ,examples for Freshers and experts .We cover core java, tutorials, spring, Hibernate, python, struts, struts 2,c language, spring boot,PHP,MYSQL,C#,ASP.NET,WPF,WCF,Photoshop , JSP, programming, example, Interview questions and answer