JSP pages not coming in Tomcat

Hi All,
I need a help. I have installed Tomcat 5 in my new laptop. Before this, I have installed JDK-1_5_0_02 and JRE-1_5_0_02. I have added proper CLASSPATH and PATH in Env. Variables. Also, I have replaced replaced tools.jar of tomcat/common/lib by that of /jdk/lib.
But when I am trying to invoke a jsp file, it's giving a blank web-page though .java and .class files are getting created in /work directory.
Can you please help me to fix this problem?
Regards,
Ujjal

Yes I have checked the logs. There are four files in /logs folder - among which one is stderr.log which is a zero-bytes file and another one is stdout.log. I am attaching the content of the second file.
Mar 7, 2008 10:30:23 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Mar 7, 2008 10:30:24 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1904 ms
Mar 7, 2008 10:30:24 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 7, 2008 10:30:24 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.19
Mar 7, 2008 10:30:24 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 7, 2008 10:30:24 PM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Mar 7, 2008 10:30:24 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\admin.xml
Mar 7, 2008 10:30:25 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Mar 7, 2008 10:30:25 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Mar 7, 2008 10:30:26 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Mar 7, 2008 10:30:28 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\balancer.xml
Mar 7, 2008 10:30:29 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\manager.xml
Mar 7, 2008 10:30:29 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /jsp-examples from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\jsp-examples
Mar 7, 2008 10:30:29 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path  from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT
Mar 7, 2008 10:30:29 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /servlets-examples from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\servlets-examples
Mar 7, 2008 10:30:30 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /tomcat-docs from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\tomcat-docs
Mar 7, 2008 10:30:30 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /webdav from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\webdav
Mar 7, 2008 10:30:30 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Mar 7, 2008 10:30:30 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Mar 7, 2008 10:30:30 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=15/34  config=C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\jk2.properties
Mar 7, 2008 10:30:30 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 6745 ms
Mar 7, 2008 10:32:34 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Mar 7, 2008 10:32:34 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Mar 7, 2008 10:32:34 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnNull=true
Mar 7, 2008 10:32:34 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Mar 7, 2008 10:32:37 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Mar 7, 2008 10:32:37 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Mar 7, 2008 10:32:37 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Mar 7, 2008 10:32:37 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Mar 7, 2008 10:32:37 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Mar 7, 2008 10:33:01 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Mar 7, 2008 10:33:01 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnNull=true
Mar 7, 2008 10:33:02 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Mar 7, 2008 10:33:02 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true
Mar 7, 2008 10:33:02 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true
Mar 7, 2008 10:33:02 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnNull=true
Mar 7, 2008 10:33:02 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Mar 7, 2008 10:33:02 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true
Mar 7, 2008 10:33:52 PM org.apache.catalina.startup.ContextConfig applicationConfig
INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/myContext]
Debugging -- changes saved to conf/server.xml
Mar 7, 2008 10:34:01 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /jsp-examples
Mar 7, 2008 10:34:01 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\jsp-examples.xml
Mar 7, 2008 10:34:02 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path
Mar 7, 2008 10:34:02 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\ROOT.xml
Mar 7, 2008 10:34:02 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /servlets-examples
Mar 7, 2008 10:34:02 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\servlets-examples.xml
Mar 7, 2008 10:34:02 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /tomcat-docs
Mar 7, 2008 10:34:02 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\tomcat-docs.xml
Mar 7, 2008 10:34:03 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /webdav
Mar 7, 2008 10:34:03 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\webdav.xml
Mar 7, 2008 10:34:03 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /admin
Mar 7, 2008 10:34:03 PM org.apache.catalina.logger.LoggerBase stop
INFO: unregistering logger Catalina:type=Logger,path=/admin,host=localhost
Mar 7, 2008 10:34:03 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\admin.xml
Mar 7, 2008 10:34:04 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Mar 7, 2008 10:34:04 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Mar 7, 2008 10:34:04 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Mar 7, 2008 10:34:05 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /webdav
Mar 7, 2008 10:34:05 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\webdav.xml
Mar 7, 2008 10:34:05 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /servlets-examples
Mar 7, 2008 10:34:05 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\servlets-examples.xml
Mar 7, 2008 10:34:05 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /jsp-examples
Mar 7, 2008 10:34:05 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\jsp-examples.xml
Mar 7, 2008 10:34:06 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /balancer
Mar 7, 2008 10:34:06 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\balancer.xml
Mar 7, 2008 10:34:06 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /tomcat-docs
Mar 7, 2008 10:34:06 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\tomcat-docs.xml
Mar 7, 2008 10:34:06 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path
Mar 7, 2008 10:34:06 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\ROOT.xml
Mar 7, 2008 10:34:06 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /manager
Mar 7, 2008 10:34:06 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\manager.xml
Mar 7, 2008 10:34:29 PM org.apache.catalina.loader.WebappClassLoader findResourceInternal
INFO: Illegal access: this web application instance has been stopped already (the eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact)
Mar 7, 2008 10:34:29 PM org.apache.catalina.loader.WebappClassLoader findResourceInternal
INFO: Illegal access: this web application instance has been stopped already (the eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact)
Mar 7, 2008 10:34:29 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already (the eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact)
Mar 7, 2008 10:34:33 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already (the eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact)
Mar 7, 2008 10:34:33 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already (the eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact)
Mar 7, 2008 10:34:33 PM org.apache.coyote.tomcat5.CoyoteAdapter service
SEVERE: An exception or error occurred in the container during the request processing
java.lang.ThreadDeath
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1270)
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1230)
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1333)
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1230)
     at java.beans.Introspector.instantiate(Unknown Source)
     at java.beans.Introspector.findExplicitBeanInfo(Unknown Source)
     at java.beans.Introspector.<init>(Unknown Source)
     at java.beans.Introspector.getBeanInfo(Unknown Source)
     at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptors(PropertyUtils.java:949)
     at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptors(PropertyUtils.java:979)
     at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:887)
     at org.apache.commons.beanutils.PropertyUtils.getSimpleProperty(PropertyUtils.java:1172)
     at org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.java:772)
     at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:801)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:298)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
     at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
     at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
     at java.lang.Thread.run(Unknown Source)
Mar 7, 2008 11:21:32 PM org.apache.coyote.http11.Http11Protocol pause
INFO: http11protocol.pause
Mar 7, 2008 11:21:32 PM org.apache.tomcat.util.net.TcpWorkerThread runIt
SEVERE: Remote Host /127.0.0.1 SocketException: Connection reset by peer: setsockopt
Mar 7, 2008 11:21:32 PM org.apache.jk.common.ChannelSocket acceptConnections
WARNING: Exception executing accept
java.net.SocketException: Invalid argument: setsockopt
     at java.net.PlainSocketImpl.socketSetOption(Native Method)
     at java.net.PlainSocketImpl.setOption(Unknown Source)
     at java.net.Socket.setTcpNoDelay(Unknown Source)
     at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:321)
     at org.apache.jk.common.ChannelSocket.acceptConnections(ChannelSocket.java:613)
     at org.apache.jk.common.SocketAcceptor.runIt(ChannelSocket.java:810)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
     at java.lang.Thread.run(Unknown Source)
Mar 7, 2008 11:21:33 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Mar 7, 2008 11:21:33 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /admin
Mar 7, 2008 11:21:33 PM org.apache.catalina.logger.LoggerBase stop
INFO: unregistering logger Catalina:type=Logger,path=/admin,host=localhost
Mar 7, 2008 11:21:34 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /servlets-examples
Mar 7, 2008 11:21:34 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /webdav
Mar 7, 2008 11:21:34 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /balancer
Mar 7, 2008 11:21:34 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /jsp-examples
Mar 7, 2008 11:21:34 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /myContext
Mar 7, 2008 11:21:34 PM org.apache.catalina.core.StandardWrapper unload
INFO: Waiting for 1 instance(s) to be deallocated
Mar 7, 2008 11:21:35 PM org.apache.catalina.core.StandardWrapper unload
INFO: Waiting for 1 instance(s) to be deallocated
Mar 7, 2008 11:21:36 PM org.apache.catalina.core.StandardWrapper unload
INFO: Waiting for 1 instance(s) to be deallocated
Mar 7, 2008 11:21:36 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /tomcat-docs
Mar 7, 2008 11:21:36 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /manager
Mar 7, 2008 11:21:36 PM org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path
Mar 7, 2008 11:21:36 PM org.apache.catalina.logger.LoggerBase stop
INFO: unregistering logger Catalina:type=Logger,host=localhost
Mar 7, 2008 11:21:36 PM org.apache.catalina.logger.LoggerBase stop
INFO: unregistering logger Catalina:type=Logger
Mar 7, 2008 11:21:36 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stoping http11 protocol on 8080 Catalina:type=ThreadPool,name=http8080Kindly help me out...

Similar Messages

  • Problem launching a jsp page with eclipse and tomcat

    Hi,
    I have just started using eclipse and tomcat for creating dynamic web pages. I tried to launch a jsp page after starting the tomcat server with the URL: http://locahost:8080/HelloWorld/, an error page was displayed as below:
    HTTP Status 404 -/
    type Status report
    message /_
    description The requested resource (-) is not available
    Apache Tomcat/5.5.17
    I didn't get any error at the console and when i just typed http://localhost, a pop up menu saying that the connection was refused when attempting to contact localhost.
    I'm not sure what is the problem here. Could it be the permssion to the localhost is not granted by the system as the eclipse IDE is running using linux?
    Hope someone can help.
    Thanks.

    http://www-128.ibm.com/developerworks/library/os-ectom/

  • Login page not coming up - 11.5.10.2????

    HI,
    APPL- 11.5.10.2
    DB-10gR2
    OS-RHEL 4.6
    http://dbs5.dbs.com:8000/oa_servlets/AppsLogin--
    Login page not coming up .. blank screen..
    Recent change - nothing .....
    access log ----
    172.16.200.145 - - [31/Mar/2011:07:30:53 +0400] "GET /oa_servlets/AppsLogin HTTP/1.1" 200 5 0
    172.16.200.145 - - [31/Mar/2011:07:30:56 +0400] "GET /oa_servlets/AppsLogin HTTP/1.1" 200 5 0
    172.16.200.145 - - [31/Mar/2011:07:31:10 +0400] "GET / HTTP/1.1" 304 - 0
    172.16.200.145 - - [31/Mar/2011:07:31:10 +0400] "GET /apptitle.html HTTP/1.1" 304 - 0
    172.16.200.145 - - [31/Mar/2011:07:31:10 +0400] "GET /appdet.html HTTP/1.1" 304 - 0
    172.16.200.145 - - [31/Mar/2011:07:31:10 +0400] "GET /applist.html HTTP/1.1" 304 - 0
    172.16.200.145 - - [31/Mar/2011:07:31:10 +0400] "GET /appsmed3.gif HTTP/1.1" 304 - 0
    172.16.200.145 - - [31/Mar/2011:07:31:12 +0400] "GET /aplogon.html HTTP/1.1" 304 - 0
    172.16.200.145 - - [31/Mar/2011:07:31:13 +0400] "GET /oa_servlets/AppsLogin HTTP/1.1" 200 5 0
    172.16.110.92 - - [31/Mar/2011:07:35:55 +0400] "GET / HTTP/1.1" 200 2591 0
    172.16.110.92 - - [31/Mar/2011:07:35:56 +0400] "GET /apptitle.html HTTP/1.1" 200 1017 0
    172.16.110.92 - - [31/Mar/2011:07:35:56 +0400] "GET /applist.html HTTP/1.1" 200 1612 0
    172.16.110.92 - - [31/Mar/2011:07:35:56 +0400] "GET /appdet.html HTTP/1.1" 200 1011 0
    172.16.110.92 - - [31/Mar/2011:07:35:56 +0400] "GET /appsmed3.gif HTTP/1.1" 200 1981 0
    172.16.110.92 - - [31/Mar/2011:07:35:56 +0400] "GET /favicon.ico HTTP/1.1" 404 217 0
    172.16.110.92 - - [31/Mar/2011:07:35:57 +0400] "GET /aplogon.html HTTP/1.1" 200 1953 0
    172.16.110.92 - - [31/Mar/2011:07:35:59 +0400] "GET /oa_servlets/AppsLogin HTTP/1.1" 200 5 0
    172.16.110.92 - - [31/Mar/2011:07:35:59 +0400] "GET /favicon.ico HTTP/1.1" 404 217 0
    172.16.110.92 - - [31/Mar/2011:07:36:11 +0400] "GET /oa_servlets/AppsLogin HTTP/1.1" 200 5 0
    172.16.110.92 - - [31/Mar/2011:07:36:11 +0400] "GET /favicon.ico HTTP/1.1" 404 217 0
    172.16.110.92 - - [31/Mar/2011:07:36:15 +0400] "GET /oa_servlets/AppsLogin HTTP/1.1" 200 5 0
    172.16.110.92 - - [31/Mar/2011:07:36:17 +0400] "GET /oa_servlets/AppsLogin HTTP/1.1" 200 5 0
    172.16.110.92 - - [31/Mar/2011:07:36:18 +0400] "GET /oa_servlets/AppsLogin HTTP/1.1" 200 5 0
    172.16.110.92 - - [31/Mar/2011:07:36:20 +0400] "GET /oa_servlets/AppsLogin HTTP/1.1" 200 5 0
    172.16.110.92 - - [31/Mar/2011:07:36:22 +0400] "GET /oa_servlets/AppsLogin HTTP/1.1" 200 5 0
    dbs5.dbs.com - - [31/Mar/2011:07:39:38 +0400] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=XmlSvcsGrp&port=19000 HTTP/1.1" 200 15 0
    dbs5.dbs.com - - [31/Mar/2011:07:39:38 +0400] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=DiscoGroup&port=17000 HTTP/1.1" 200 15 0
    dbs5.dbs.com - - [31/Mar/2011:07:39:38 +0400] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=OACoreGroup&port=16000 HTTP/1.1" 200 15 0
    172.16.110.92 - - [31/Mar/2011:07:39:52 +0400] "GET /oa_servlets/AppsLogin HTTP/1.1" 200 5 0
    172.16.200.145 - - [31/Mar/2011:07:40:12 +0400] "GET / HTTP/1.1" 304 - 0
    172.16.200.145 - - [31/Mar/2011:07:40:12 +0400] "GET /apptitle.html HTTP/1.1" 304 - 0
    172.16.200.145 - - [31/Mar/2011:07:40:12 +0400] "GET /appdet.html HTTP/1.1" 304 - 0
    172.16.200.145 - - [31/Mar/2011:07:40:12 +0400] "GET /applist.html HTTP/1.1" 304 - 0
    172.16.200.145 - - [31/Mar/2011:07:40:12 +0400] "GET /appsmed3.gif HTTP/1.1" 304 - 0
    172.16.200.145 - - [31/Mar/2011:07:40:14 +0400] "GET /aplogon.html HTTP/1.1" 304 - 0
    172.16.200.145 - - [31/Mar/2011:07:40:15 +0400] "GET /oa_servlets/AppsLogin HTTP/1.1" 200 5 0
    172.16.200.145 - - [31/Mar/2011:07:47:01 +0400] "GET / HTTP/1.1" 304 - 0
    172.16.200.145 - - [31/Mar/2011:07:47:01 +0400] "GET /apptitle.html HTTP/1.1" 304 - 0
    172.16.200.145 - - [31/Mar/2011:07:47:01 +0400] "GET /appdet.html HTTP/1.1" 304 - 0
    172.16.200.145 - - [31/Mar/2011:07:47:01 +0400] "GET /applist.html HTTP/1.1" 304 - 0
    172.16.200.145 - - [31/Mar/2011:07:47:01 +0400] "GET /appsmed3.gif HTTP/1.1" 304 - 0
    172.16.200.145 - - [31/Mar/2011:07:47:02 +0400] "GET /aplogon.html HTTP/1.1" 304 - 0
    172.16.200.145 - - [31/Mar/2011:07:47:03 +0400] "GET /oa_servlets/AppsLogin HTTP/1.1" 200 5 0

    If the Autoconfig doesnt help, you might want to raise an SR, and you will also need to start debugging on Apache / JServ for more information. Steps to do this I once saved, and are pasted below:
    Enable Apache debug as follows
    a.cd $IAS_ORACLE_HOME/Apache/Apache/logs
    delete or backup all the log files
    b.cd $IAS_ORACLE_HOME/Apache/Jserv/logs
    delete or backup all log files
    c.cd $IAS_ORACLE_HOME/Jserv/logs/jvm/
    delete or backup the files
    e.vi $IAS_ORACLE_HOME/Apache/Apache/conf/httpd.conf
    Set LogLevel debug
    f.vi $IAS_ORACLE_HOME/Apache/Jserv/etc/jserv.conf
    Set ApJServLogLevel debug
    g.vi $IAS_ORACLE_HOME/Apache/Jserv/etc/jserv.properties
    Set following:
    log=true....
    log.file=//../<SID>_ora/iAS/Apache/Jserv/logs/jserv.log
    log.timestamp=true
    log.channel=true...
    log.channel.info=true....
    log.channel.jservException=true
    log.channel.warning=true
    log.channel.servletLog=true
    log.channel.critical=true
    log.channel.debug=true.....
    Restart the Apache Server
    cd $COMMON_TOP/admin/scripts/<SID>_<host_name>
    sh adapcctl.sh start
    -------------Apache Bounce & Enabling Debug End----------------------------------------
    Note:- Revert the changes after reproducing the issue, as Enabling Debug in Apache result in
    Performance overhead.
    Reproduce the issue
    Upload the FRESH Logs from following Directories in ZIP Format.
    1.From "$IAS_ORACLE_HOME/Apache/Apache/logs"
    2.From "$IAS_ORACLE_HOME/Apache/Jserv/logs"
    3.From "$IAS_ORACLE_HOME/Apache/Jserv/logs/jvm"
    Also, if you are just getting a blank screen then you might want to recompile JSPs via adadmin.
    DA
    Edited by: Dan A on Mar 31, 2011 5:28 AM

  • JSP pages not working

    I installed Apache 2.0.47, JSDK 2.0, and JServ 1.1.2 and copied all my JSP files in the htdocs directory in the Apacche installed folder. When I accessed one of my JSP page using IE 6.0, the file contents are loading, not the page! what is wrong with me? where I have to copy the .class files?
    On replying for this doubt, you are doing a great job. Thank you.

    You probably have to do something special to tell Apache to forward servlet/JSP requests to JServ.
    I've done such a thing with Tomcat. Look at the docs for JServ to see what they expect you to do.
    Why JServ? Why not Tomcat? It's free, and there's lots of on-line docs and books to help you get started.
    It's obvious that you're just starting with servlets and JSPs, Sunil. Go download Tomcat, get a couple of good books, and start reading and programming. You're not going to get your project off the ground by posting ill-posed questions to these forums every time you run into difficulty. Just some advice. - MOD

  • Jsp page not refereshing in IE 6.0

    can you give me any suggestion on following issue
    I have (first.jsp)jsp in following way
    +1234
    when i click on +
    it shows like this(the records are coming from second.jsp by using azax))
    -1234
    record1
    record2
    here second,third jsp conatins same thing except third.jsp contains some buttons
    and when you click on 1234 in next window(third.jsp) it will show
    record1
    record2
    button accept
    when i click on accept button i am loadng first.jsp
    at the time of loading I have to refresh second,third.jsp
    presently I am refreshing third.jsp it is working fine
    but i was unable to refresh second.jsp
    this application running fine in Mozila(both(second.third.jsp pages are refreshing)
    In Ie that first.jsp is not refreshing(oonly third.jsp is refreshing)
    I am using following function on body onload()
    if (window.opener && !window.opener.closed) {
    window.opener.location.reload();
    it is not working in second.jsp

    Hi,
    Which IDE are you using: NetBeans 6.0, or JSE 8.1?
    Regards,
    -Brad Mayer

  • JSP pages not working on app server but works locally

    Hello,
    My application uses java, struts and jsps. When I try to access JSP page like http://appServer:7778/app/login.jsp, it says page not found exception. But when I access http://appServer:7778/app/login.do, it displays login.jsp page (success url for login action is login.jsp). How come I am not able to access jsp pages directly? Am I missing any settings?
    And when I run the application using embedded OC4J of Jdeveloper, I could access jsp pages directly.
    Thanks.

    The method getTextContent() is DOM Level 3, and was introduced with Java1.5
    Tomcat 5.5 runs on Java1.5, but by default uses the JDT compiler for JSPs, which is only Java1.4 compliant - might possibly be that.
    See the [url http://tomcat.apache.org/tomcat-5.5-doc/RELEASE-NOTES.txt] release notes and
    [url http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html]how to fix (see the section on configuration)
    >
    The Java compiler from Eclipse JDT in included as the default compiler. It is an advanced Java compiler which will load all dependencies from the Tomcat class loader, which will help tremendously when compiling on large installations with tens of JARs. On fast servers, this will allow sub-second recompilation cycles for even large JSP pages. This new compiler will be updated to support the Java 5 syntax as soon as possible.
    Apache Ant, which was used in previous Tomcat releases, can be used instead instead of the new compiler by simply removing the common/lib/jasper-compiler-jdt.jar file, and placing the ant.jar file from the latest Ant distribution in the common/lib folder. If you do this, you also need to use the "javac" argument to catalina.sh.

  • JSP page not rendering correctly for remote system

    I have a jsp page that has an HtmlGraphicImage component that gets set by a method in a java bean using
    image2.setUrl( imageFilename );
    When I run the application on my local system (my development system running Studio Creator) the page comes up on my web browser with the proper image.
    However, when I try to access the page from a remote PC, the page comes up okay with all the static components, but the image is blank. When I look at the page source on that browser, the image url is set to blank (i.e. nothing inside quotes).
    Any ideas why this image is rendered correctly on my local system and not remotely?

    <title>Home</home>Find the mistake!

  • How can I make the jsp pages not displayed by using the navigation class?

    I'm right now implementing a function on my program GUI . It's like whenever I click "STOP THE SERVER" button on the main page, I need those jsp pages relates to the server running to be not displayed, even by directly type in the URL(that's just stay in the main page), How can I do that? I heard that a navigation class might do it, but I'm not sure how. It might be great if some experts could help me!! Thanx a million !!
    Shannon

    See:
    * [[Removing the Search Helper Extension and Bing Bar]]
    You can use one of these extensions to adjust the default font size and page zoom on web pages:
    * Default FullZoom Level - https://addons.mozilla.org/firefox/addon/6965
    * NoSquint - https://addons.mozilla.org/firefox/addon/2592

  • JSP page not rendering in IE

    Hi,
    Here is a JSP page I'm working on for school:
    http://lectura.cs.arizona.edu:23456/main.jsp?section=login
    It renders fine in Mozilla, but I get a white page in IE. If you "view source" in IE, the code is there, and I have no idea why.
    I tried creating another simple jsp page and a simple html page, which are in the same directory:
    http://lectura.cs.arizona.edu:23456/index.jsp
    http://lectura.cs.arizona.edu:23456/hello.html
    Both show up in Mozilla, but not in IE.
    Thanks in advance for any help!

    <title>Home</home>Find the mistake!

  • Changes in jsp page not reflecting

    Hi,
    I have a requirement where I have to customize the self registration page in OIM, i.e.
    when a user enters uid, it should be checked for its availablity, that is if the user id is already present in OIM then we may suggest him a set a user ids from which he can select.
    For this, I am planning to have a button "Check UID availability" next to uid text field and then on clicking that button we may proceed with our functionality.
    To achieve the very first step, i.e. creating the button, i edited /tiles/tjspSelfRegistrationTiles.jsp and then created and replaced the old webapp.war file with the new one and then run patch_jboss.cmd file which builds the file successfully.
    But, the problem I am facing is that any changes made to this jsp are not being reflected.
    Any pointers to reflect the changes made in jsp would be helpful.

    Well, thats a strange case with JBoss. I never find these JSP's on the deploy directory. The approach which I follow in such cases is as follows:
    1) Take a back-up copy of XellerateFull.ear file from <OIM_HOME>\xellerate directory.
    2) Extract the contents fo this file to any temporary directory. This will contain a war file xlWebApp.war
    3) Extract the content of this file as well.
    4) Now you will be able to see all the JSP folders and struts xml etc.
    5) Update the required JSP.
    6) Bundle the xlWebApp.war file again.
    7) Bundle the XellerateFull.ear file again.
    8) Now since you have a complete ear file. Directly copy this to JBoss deploy directory. Overwrite the existing file:
    <JBossHome>\server\default\deploy\
    9) Restart the server.
    Now all the files would be visible in the directory location as mentioned by you.
    Thanks
    Sunny

  • JSP pages not displaying images in Jdeveloper

    HI
    I am using lot of images in the JSP page.But the JSP pages are not displaying images in Jdeveloper in Design preview.
    Do I need to install Apache for that?I have not installed Apache yet.
    If so then what are the configuration or settings I have to do in Jdeveloper for Apache.
    Thanks in Advance.
    Apps user

    Which JDeveloper version? where are the images stored? can you share the code you are using to show such an image?
    Try this - create a JSP page and drag an image from your desktop onto the JSP page - this will add the image to your project - does this work?

  • Some jsps will not compile FC5+Tomcat

    Hello,
    I cannot compile SOME jsp pages for some reason.
    I have something like this:
    http://www.mydomain.net:8080/WEB/index.jsp - this comiles
    http://www.mydomain.net:8080/WEB/BLAH/BLAH/index.jsp - will not compile where BLAH is a bunch of different folders.
    I have it all working on Win XP. Now I am trying to make it work on FC5.
    I took the page that can compile and moved it to BLAH/BLAH folder and it does not compile now!
    OS: Fedora Core 5 (if it matters)
    What is going on? Any ideas?
    Thanks.

    sure, here it is
    Thanks for help.
    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:342)
         org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:248)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    Compile failed; see the compiler error output for details.
         org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:944)
         org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
         org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:216)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

  • Workcenter ID page not coming

    Hello Gurus,
    We have CTI integration with our SAP IC application. Bucher and Suter is the service provider. When we login to SAP IC, we have work center ID to be entered by the Agent which establishes connections to the communication management services. This is working fine till we refreshed our test environment. After the refresh, work center id page is not coming and it is directly taking us to the account identification page.
    We have checked all the connections as well and dont see any issue. Please help me if you encountered similar issue.
    Thanks a lot in Advance!
    Lakshman

    HI,
    Thanks for the response.
    Refresh i mean, we did a system refresh with our Production system recently. Our BASIS team did this activity and they performed all the post refresh activities as well but what we observed is the workcenter id page missing. When i select the role, it earlier takes me to workcenter id page but now getting directly to the account identification page without prompting to enter workcenter id.
    Thanks
    Lakshman

  • Login page not coming up after applying patch 12374730

    Hi ,
    Login page is not coming up after applying patch 12374730.
    OS : Solaris 10
    Application release 12.1.3
    Thanks,

    Did you apply the patch successfully with no errors?
    Yes
    Do you have any invalid objects in the database?
    NO
    Did AutoConfig complete successfully?
    Yes
    Please check Apache log files for details about the error.
    Thanks,
    Hussein

  • JSP page is coming back with old data even when DB updated

    Hello,
    I am updating an existing record on a database using an HTML form and the changes update the ACCESS database immediately, but the .jsp page is picking up
    old data.
    But but when i do a manual REFRESH, the correct data comes back fine!
    Thanks very much for any insights!
    Summary of the code:
    1. InputEmployeeInfo.html - enter change data, call update....jsp
    <HEAD> <meta content="no-cache" http-equiv="Cache-Control"/>
    <meta content="no-cache" http-equiv="Pragma"/> </HEAD>
    <FORM NAME="updateInfo"
    ACTION="./UpdateEmployeeInfo.jsp" >>>>>2.
    METHOD="POST">
    2. UpdateEmployeeInfo.jsp: - call bean, update database, forward to present..jsp
    <HEAD> <meta content="no-cache" http-equiv="Cache-Control"/>
    <meta content="no-cache" http-equiv="Pragma"/>
    </HEAD>
    <% response.setHeader("Cache-Control","no-cache");
    response.setHeader("Pragma","no-cache");
    response.setDateHeader ("Expires", 0); %>
    <jsp:useBean id="empInfo"
    class="com.ora.jsp.beans.employee23.EmployeeInfoBean" >>>>>3.
    scope="request"/>
    <jsp:setProperty name="empInfo" property="*" />
    <% empInfo.updateDatabase(); %> >>>>>3b.
    <jsp:forward page="PresentChangeOfEmployeeData.jsp" /> >>>>>4.
    </BODY>
    </HTML>
    3. com.ora.jsp.beans.employee23.EmployeeInfoBean - Bean-update DB with change data
    public class EmployeeInfoBean {
    public void updateDatabase(){                                            <----3b.
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
    Connection conn =
    DriverManager.getConnection("jdbc:odbc:example");
    String sql = "UPDATE EMPLOYEEINFO SET " +
    "NAME=?, ADDRESS=?, PHONE=? WHERE ID=?";
    PreparedStatement statement = conn.prepareStatement(sql);
    statement.setString(1, name);
    statement.setString(2, address);
    statement.setString(3, phone);
    statement.setInt(4, id);
    statement.executeQuery();
    statement.close();
    conn.close();
    4. PresentChangeOfEmployeeData.jsp - read database and display changes <----4.
    <HEAD> <meta content="no-cache" http-equiv="Cache-Control"/>
    <meta content="no-cache" http-equiv="Pragma"/>
    </HEAD>
    <% response.setHeader("Cache-Control","no-cache");
    response.setHeader("Pragma","no-cache");
    response.setDateHeader ("Expires", 0); %>
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
    Connection conn =
    DriverManager.getConnection("jdbc:odbc:example");
    Statement statement = conn.createStatement();
    String sql = "SELECT * FROM EMPLOYEEINFO WHERE ID = " + employeeID;
    ResultSet rs = statement.executeQuery(sql);
    while(rs.next()){
    %>
    <TR><TD ALIGN="right" WIDTH="50%">Name:</TD>
    <TD WIDTH="50%"><%= rs.getString("NAME") %></TD>
    ================================================================================
    Complete code listing:
    1, InputEmployeeInfo.html
    <HTML>
    <HEAD>
    <meta content="no-cache" http-equiv="Cache-Control"/>
    <meta content="no-cache" http-equiv="Pragma"/>
    <TITLE>Change of Information</TITLE>
    </HEAD>
    <BODY>
    <TABLE WIDTH="100%" BORDER="0" BGCOLOR="navy">
    <TR ALIGN="center">
    <TD><FONT SIZE="7" COLOR="yellow">Employee Information</FONT></TD>
    </TR>
    </TABLE>
    <CENTER>
    <FONT SIZE="5" COLOR="navy">
    Please Enter Your Information<BR>
    Fill in all fields
    </FONT>
    </CENTER>
    <TABLE WIDTH="100%">
    <FORM NAME="updateInfo"
    ACTION="./UpdateEmployeeInfo.jsp" >>>>>>>>>2.
    METHOD="POST">
    <TR><TD WIDTH="40%" ALIGN="right">Current ID: </TD>
    <TD WIDTH="60%"><INPUT TYPE="text" NAME="id"></TD>
    </TR>
    <TR><TD WIDTH="40%" ALIGN="right">New Name: </TD>
    <TD WIDTH="60%"><INPUT TYPE="text" NAME="name" VALUE="Mickey"></TD>
    </TR>
    <TR><TD WIDTH="40%" ALIGN="right">New Address: </TD>
    <TD WIDTH="60%">
    <INPUT TYPE="text" NAME="address" VALUE="St. Louis, MO">
    </TD>
    </TR>
    <TR><TD WIDTH="40%" ALIGN="right">New Phone: </TD>
    <TD WIDTH="60%">
    <INPUT TYPE="text" NAME="phone" VALUE="555-555-1234">
    </TD>
    </TR>
    <TR><TD COLSPAN="2" ALIGN="center">
    <INPUT TYPE="submit" NAME="btnSubmit" VALUE="Update Profile"></TD>
    </TR>
    </TABLE>
    </FORM>
    </BODY>
    </HTML
    2. UpdateEmployeeInfo.jsp:
    <HTML>
    <HEAD>
    <meta content="no-cache" http-equiv="Cache-Control"/>
    <meta content="no-cache" http-equiv="Pragma"/>
    <TITLE>Updating Employee Information</TITLE>
    </HEAD>
    <BODY>
    <% response.setHeader("Cache-Control","no-cache");
    response.setHeader("Pragma","no-cache");
    response.setDateHeader ("Expires", 0);
    %>
    <jsp:useBean id="empInfo"
    class="com.ora.jsp.beans.employee23.EmployeeInfoBean" >>>>>>>>>>>>>3.
    scope="request"/>
    <jsp:setProperty name="empInfo" property="*" />
    <% empInfo.updateDatabase(); %> >>>>>>>>>>>>>3b.
    <jsp:forward page="PresentChangeOfEmployeeData.jsp" /> >>>>>>>>>>>>>4.
    </BODY>
    </HTML>
    3. com.ora.jsp.beans.employee23.EmployeeInfoBean <-------------3.
    package com.ora.jsp.beans.employee23;
    import java.sql.*;
    public class EmployeeInfoBean {
    private String name, address, phone;
    private int id;
    public void setName(String input){
    name = input;
    public String getName(){
    return name;
    public void setAddress(String input){
    address = input;
    public String getAddress(){
    return address;
    public void setPhone(String input){
    phone = input;
    public String getPhone(){
    return phone;
    public void setId(int input){
    id = input;
    public int getId(){
    return id;
    public void updateDatabase(){                                       <-------3b.
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
    Connection conn =
    DriverManager.getConnection("jdbc:odbc:example");
    String sql = "UPDATE EMPLOYEEINFO SET " +
    "NAME=?, ADDRESS=?, PHONE=? WHERE ID=?";
    PreparedStatement statement = conn.prepareStatement(sql);
    statement.setString(1, name);
    statement.setString(2, address);
    statement.setString(3, phone);
    statement.setInt(4, id);
    statement.executeQuery();
    statement.close();
    conn.close();
    catch (Exception e) {}
    4. PresentChangeOfEmployeeData.jsp <---------4.
    <HTML>
    <HEAD>
    <meta content="no-cache" http-equiv="Cache-Control"/>
    <meta content="no-cache" http-equiv="Pragma"/>
    <TITLE></TITLE>
    </HEAD>
    <BODY>
    <% response.setHeader("Cache-Control","no-cache");
    response.setHeader("Pragma","no-cache");
    response.setDateHeader ("Expires", 0);
    %>
    <%@ include file="CompanyBanner.html"%>
    <%@ page import="java.sql.*" %>
    <jsp:useBean id="empInfo"
    class="com.ora.jsp.beans.employee23.EmployeeInfoBean"
    scope="request"/>
    <CENTER>
    <FONT SIZE="5" COLOR="navy">
    Your New Information
    </FONT>
    </CENTER>
    <TABLE WIDTH="100%" BORDER="1">
    <%
    int employeeID = empInfo.getId();
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance(); <--------4b,
    Connection conn =
    DriverManager.getConnection("jdbc:odbc:example");
    Statement statement = conn.createStatement();
    String sql = "SELECT * FROM EMPLOYEEINFO WHERE ID = " + employeeID;
    ResultSet rs = statement.executeQuery(sql);
    while(rs.next()){
    %>
    <TR><TD ALIGN="right" WIDTH="50%">Name:</TD>
    <TD WIDTH="50%"><%= rs.getString("NAME") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Address:</TD>
    <TD WIDTH="50%"><%= rs.getString("ADDRESS") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Phone Number:</TD>
    <TD WIDTH="50%"><%= rs.getString("PHONE") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Work Status:</TD>
    <TD WIDTH="50%"><%= rs.getString("WORKSTATUS") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Total Sick Days:</TD>
    <TD> <%= rs.getString("TOTALSICKDAYS") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Taken Sick Days: </TD>
    <TD><%= rs.getString("TAKENSICKDAYS") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Total Personal Time(in hours): </TD>
    <TD><%= rs.getString("TOTALPERSONALTIME") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Taken Personal Time(in hours): </TD>
    <TD><%= rs.getString("TAKENPERSONALTIME") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Health Care Plan:</TD>
    <TD WIDTH="50%"><%= rs.getString("HEALTHCAREPLAN") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Dental Plan:</TD>
    <TD WIDTH="50%"><%= rs.getString("DENTALPLAN") %></TD>
    </TR>
    <TR><TD ALIGN="right" WIDTH="50%">Vision Plan:</TD>
    <TD WIDTH="50%"><%= rs.getString("VISIONPLAN") %></TD>
    </TR>
    <% }//end while loop
    } // end try block
    catch (Exception e) {};
    %>
    </TABLE>
    <%@ include file="ch24_SiteNavigator.html" %>
    </BODY>
    </HTML>

    <%
    String dept_name=request.getParameter("D1");
    String itmp,itmcd,sn;
    %>
    <%
    Connection con;
    PreparedStatement ps;
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con=DriverManager.getConnection("jdbc:odbc:acc");
    Statement stmt=con.createStatement();
    ResultSet rs=stmt.executeQuery("select * from item_details where Item_Name='"+dept_name+"'
    %>
    <td> Product name</td>
    <td>Product description</td>
    <td><Product code</td>
    <td>Product price</td></tr>
    <form method=post action="mycreate.jsp">
    <%
    while(rs.next())
    %><tr>
    <%=rs.getString(1)%></td>
    <%=rs.getString(4)%></td>
    <td><font color="#ffffff" size="3" face="arial unicode
    ms">    <%=rs.getString(3)%></td>
    <% String temp=rs.getString(3);%>
    <%=temp%>
    <td>
    <%=rs.getString(5)%></td>
    <td><input type=submit value="Add to cart"></td></tr>
    <form method=post action="mycreate.jsp">
    <%
    con.close();
    %>
    </tr>
    </table></tr></table></tr></table>
    </form>
    </form>
    I want the value of rs.getString(3) in a variable

Maybe you are looking for