<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"></HEAD><BODY><DIV>Hi!</DIV>
<DIV> </DIV>
<DIV>    I have my JSP file </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><cms:import page="simple_search.jsp"/></DIV>
<DIV><html><BR><head><BR><title>Search</title><BR></head><BR><body><BR><form 
action="simple_search.jsp"><BR><table border="0" cellpadding="5" 
cellspacing="0" bgcolor="#E0E0E0"><BR> <tr><BR>  
<td><BR>   Search:<input type="text" 
name="q"><BR>   <input type="submit" value="Go"/><BR>  
</td><BR> </tr><BR></table><BR></form><BR></body><BR></html><BR></DIV>
<DIV> </DIV>
<DIV>I also copied the simple_search.jsp in my directory where this HTML 
is.</DIV>
<DIV> </DIV>
<DIV>Everytime I try some search, I get exception like this: </DIV>
<DIV> </DIV>
<DIV><BR>javax.servlet.ServletException: Resource loader error in file 
'/system/workplace/rajesh/new/simple_search.jsp'</DIV>
<DIV>Root cause:<BR>org.apache.jasper.JasperException: 
com.opencms.core.CmsException: Error searching<BR> at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)<BR> at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)<BR> at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)<BR> at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<BR> at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)<BR> at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)<BR> at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498)<BR> at 
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:158)<BR> at 
com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:972)<BR> at 
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:256)<BR> at 
com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:577)<BR> at 
com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:239)<BR> at 
com.opencms.core.OpenCms.showResource(OpenCms.java:961)<BR> at 
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)<BR> at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)<BR> at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<BR> at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)<BR> at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)<BR> at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR> at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR> at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)<BR> at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR> at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)<BR> at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)<BR> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR> at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR> at 
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)<BR> at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)<BR> at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)<BR> at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)<BR> at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)<BR> at 
java.lang.Thread.run(Thread.java:534)</DIV>
<DIV>--------------- End of root cause.</DIV>
<DIV> at 
com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:979)<BR> at 
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:256)<BR> at 
com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:577)<BR> at 
com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:239)<BR> at 
com.opencms.core.OpenCms.showResource(OpenCms.java:961)<BR> at 
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)<BR> at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)<BR> at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<BR> at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)<BR> at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)<BR> at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR> at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR> at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)<BR> at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR> at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)<BR> at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)<BR> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR> at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)<BR> at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)<BR> at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)<BR> at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)<BR> at 
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)<BR> at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)<BR> at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)<BR> at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)<BR> at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)<BR> at 
java.lang.Thread.run(Thread.java:534)</DIV>
<DIV> </DIV>
<DIV>Kindly help me out with this...</DIV>
<DIV> </DIV>
<DIV>Could someone provide me an example how to do this...</DIV>
<DIV> </DIV>
<DIV>thanks</DIV>
<DIV>Rajesh </DIV>
<DIV> </DIV>
<DIV> </DIV></BODY></HTML><table><tr><td bgcolor=#ffffff><font color=#000000><br>
<br>
Confidentiality Notice <br>
<br>
The information contained in this electronic message and any attachments to this message are intended<br>
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If<br>
you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com immediately<br>
and destroy all copies of this message and any attachments.<br>
</font></td></tr></table>