problem with running JSPs on IBM websphere


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: problem with running JSPs on IBM websphere

Hybrid View

  1. #1
    satish Guest

    problem with running JSPs on IBM websphere





    Hi,

    I wrote a simple HTML file in whcih the user enters the input such as name,address
    etc.after this page is submitted to a JSP(datahandler.jsp) file, which makes
    use of a bean.(the bean traps the entered values and stores them into it..using
    the set property"*".The smae datahandler.jsp file makes use of the bean using
    JSP useBean tag....calls the getPropety methods for all the paramters and
    display them onto the screen..using the JSP. expressions.I think it is clear
    now.When I am trying to run this code , form the IBM websphere server, the
    HTML file is running perfectly, but then it is not able to call the JSP file...and
    I am getting the following error.If anyone could undestand my problem and
    solve it i would be happy and thakns in advance.

    Regards
    satish

    onemore doubt is I also donot know exactly as to where to place(which folder)
    the jsp files on the IBM websphere server.please let me know about that as
    well if anyone knows the answer.

    -----------------------------------------------------------------

    Error 500
    An error has occured while processing request:http://pc27/datahandler.jsp
    Message:Server caught unhandled exception from servlet [jsp]
    Target Servlet: jsp
    StackTrace:
    --------------------------------------------------------------------------------
    Root Error-1: 4,14: Attribute page has no value.
    com.ibm.servlet.jsp.http.pagecompile.PageCompileException: 4,14: Attribute
    page has no value. at com.ibm.servlet.jsp.http.pagecompile.jsp.tsx.TsxPageProcessor.sourceToJava(TsxPageProcesso r.java:76)
    at com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.compileAndLoadServlet(PageCompileS ervlet.java:482)
    at com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.checkServletChangedAndCompile(Page CompileServlet.java:310)
    at com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.doService(Compiled
    Code) at com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.doGet(PageCompileServlet.java:721)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:534) at javax.servlet.http.HttpServlet.service(HttpServlet.java:639)
    at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:557)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java: 160)
    at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:1 05)
    at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:349)
    at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:705)
    at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:631)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebApp.java:112 9)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebApp.java:1001)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebApp.java:960)
    at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebGroup.java:681)
    at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java: 67)
    at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationCon text.java:106)
    at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.j ava:144)
    at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
    at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerI mp.java:230)
    at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.jav a:104)
    at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.jav a:202)
    at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyS ervice(SQWrapperEventSource.java:347)
    at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQW rapperEventSource.java:216)
    at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled
    Code) at java.lang.Thread.run(Thread.java:472)

    --------------------------------------------------------------------------------
    Wrapped Error-2: JSP:/datahandler.jsp: 4,14: Attribute page has no value.:
    4,14: Attribute page has no value.
    com.ibm.servlet.jsp.http.pagecompile.SEInvokerException: JSP:/datahandler.jsp:
    4,14: Attribute page has no value.: 4,14: Attribute page has no value. at
    com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.doService(Compiled
    Code) at com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.doGet(PageCompileServlet.java:721)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:534) at javax.servlet.http.HttpServlet.service(HttpServlet.java:639)
    at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:557)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java: 160)
    at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:1 05)
    at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:349)
    at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:705)
    at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:631)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebApp.java:112 9)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebApp.java:1001)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebApp.java:960)
    at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebGroup.java:681)
    at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java: 67)
    at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationCon text.java:106)
    at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.j ava:144)
    at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
    at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerI mp.java:230)
    at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.jav a:104)
    at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.jav a:202)
    at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyS ervice(SQWrapperEventSource.java:347)
    at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQW rapperEventSource.java:216)
    at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled
    Code) at java.lang.Thread.run(Thread.java:472)

    --------------------------------------------------------------------------------
    Wrapped Error-3: Server caught unhandled exception from servlet [jsp]
    com.ibm.servlet.engine.webapp.UncaughtServletException: Server caught unhandled
    exception from servlet [jsp] at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebApp.java:114 6)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebApp.java:1001)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebApp.java:960)
    at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebGroup.java:681)
    at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java: 67)
    at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationCon text.java:106)
    at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.j ava:144)
    at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
    at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerI mp.java:230)
    at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.jav a:104)
    at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.jav a:202)
    at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyS ervice(SQWrapperEventSource.java:347)
    at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQW rapperEventSource.java:216)
    at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled
    Code) at java.lang.Thread.run(Thread.java:472)





  2. #2
    Fernando Ribeiro Guest

    Re: problem with running JSPs on IBM websphere


    This question is answered by replies in other threads.

    Refer to "syntax error in JSP..".

    Fernando Ribeiro
    fribeiro

    "satish" <satish_141@yahoo.com> wrote:
    >
    >
    >
    >
    >Hi,
    >
    > I wrote a simple HTML file in whcih the user enters the input such as name,address
    >etc.after this page is submitted to a JSP(datahandler.jsp) file, which makes
    >use of a bean.(the bean traps the entered values and stores them into it..using
    >the set property"*".The smae datahandler.jsp file makes use of the bean

    using
    >JSP useBean tag....calls the getPropety methods for all the paramters and
    >display them onto the screen..using the JSP. expressions.I think it is clear
    >now.When I am trying to run this code , form the IBM websphere server, the
    >HTML file is running perfectly, but then it is not able to call the JSP

    file...and
    >I am getting the following error.If anyone could undestand my problem and
    >solve it i would be happy and thakns in advance.
    >
    >Regards
    >satish
    >
    >onemore doubt is I also donot know exactly as to where to place(which folder)
    >the jsp files on the IBM websphere server.please let me know about that

    as
    >well if anyone knows the answer.
    >
    >-----------------------------------------------------------------
    >
    >Error 500
    >An error has occured while processing request:http://pc27/datahandler.jsp
    >Message:Server caught unhandled exception from servlet [jsp]
    >Target Servlet: jsp
    >StackTrace:
    >--------------------------------------------------------------------------------
    >Root Error-1: 4,14: Attribute page has no value.
    >com.ibm.servlet.jsp.http.pagecompile.PageCompileException: 4,14: Attribute
    >page has no value. at com.ibm.servlet.jsp.http.pagecompile.jsp.tsx.TsxPageProcessor.sourceToJava(TsxPageProcesso r.java:76)
    >at com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.compileAndLoadServlet(PageCompileS ervlet.java:482)
    >at com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.checkServletChangedAndCompile(Page CompileServlet.java:310)
    >at com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.doService(Compiled
    >Code) at com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.doGet(PageCompileServlet.java:721)
    >at javax.servlet.http.HttpServlet.service(HttpServlet.java:534) at javax.servlet.http.HttpServlet.service(HttpServlet.java:639)
    >at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:557)
    >at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java: 160)
    >at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
    >at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:1 05)
    >at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:349)
    >at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:705)
    >at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:631)
    >at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebApp.java:112 9)
    >at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebApp.java:1001)
    >at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebApp.java:960)
    >at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebGroup.java:681)
    >at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java: 67)
    >at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationCon text.java:106)
    >at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.j ava:144)
    >at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
    >at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerI mp.java:230)
    >at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.jav a:104)
    >at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.jav a:202)
    >at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyS ervice(SQWrapperEventSource.java:347)
    >at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQW rapperEventSource.java:216)
    >at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled
    >Code) at java.lang.Thread.run(Thread.java:472)
    >
    >--------------------------------------------------------------------------------
    >Wrapped Error-2: JSP:/datahandler.jsp: 4,14: Attribute page has no value.:
    >4,14: Attribute page has no value.
    >com.ibm.servlet.jsp.http.pagecompile.SEInvokerException: JSP:/datahandler.jsp:
    >4,14: Attribute page has no value.: 4,14: Attribute page has no value. at
    >com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.doService(Compiled
    >Code) at com.ibm.servlet.jsp.http.pagecompile.PageCompileServlet.doGet(PageCompileServlet.java:721)
    >at javax.servlet.http.HttpServlet.service(HttpServlet.java:534) at javax.servlet.http.HttpServlet.service(HttpServlet.java:639)
    >at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:557)
    >at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java: 160)
    >at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
    >at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:1 05)
    >at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:349)
    >at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:705)
    >at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:631)
    >at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebApp.java:112 9)
    >at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebApp.java:1001)
    >at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebApp.java:960)
    >at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebGroup.java:681)
    >at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java: 67)
    >at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationCon text.java:106)
    >at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.j ava:144)
    >at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
    >at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerI mp.java:230)
    >at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.jav a:104)
    >at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.jav a:202)
    >at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyS ervice(SQWrapperEventSource.java:347)
    >at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQW rapperEventSource.java:216)
    >at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled
    >Code) at java.lang.Thread.run(Thread.java:472)
    >
    >--------------------------------------------------------------------------------
    >Wrapped Error-3: Server caught unhandled exception from servlet [jsp]
    >com.ibm.servlet.engine.webapp.UncaughtServletException: Server caught unhandled
    >exception from servlet [jsp] at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebApp.java:114 6)
    >at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebApp.java:1001)
    >at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebApp.java:960)
    >at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebGroup.java:681)
    >at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java: 67)
    >at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationCon text.java:106)
    >at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.j ava:144)
    >at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
    >at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerI mp.java:230)
    >at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.jav a:104)
    >at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.jav a:202)
    >at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyS ervice(SQWrapperEventSource.java:347)
    >at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQW rapperEventSource.java:216)
    >at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled
    >Code) at java.lang.Thread.run(Thread.java:472)
    >
    >
    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center