Jhtml not working! Please help

          Simple jtml is not working in weblogic5.1
          1. Jhtml code which I kept in public_html folder
          <html>
          <head><title>Hello World Test</title></head>
          <body>
          <h1> <font color=#DB1260> Hello World Test </font></h1>
          <java>
          out.print("Java-generated Hello World");
          </java>
          <p> This is not Java!
          <p><i>Middle stuff on page</i>
          <p>
          <java>
          for (int i = 1; i<=5; i++) {
          out.print("This is a Java loop! " + i + "<p>");
          </java>
          </body>
          </html>
          2. my properties file
          # WEBLOGIC JHTML PROPERTIES
          # Sets up automatic page compilation for JHTML. Adjust init args
          for
          # directory locations and uncomment to use.
          weblogic.httpd.register.*.jhtml=\
          weblogic.servlet.jhtmlc.PageCompileServlet
          weblogic.httpd.initArgs.*.jhtml=\
          pageCheckSeconds=1,\
          packagePrefix=examples.jhtml,\
          compileCommand=c:/jdk1.3/bin/javac.exe,\
          workingDir=C:/weblogic/myserver/classfiles,\
          verbose=true
          3. my command line error
          Fri Aug 04 11:40:55 GMT+05:30 2000:<I> <ServletContext-General>
          *.jhtml: init
          Fri Aug 04 11:40:55 GMT+05:30 2000:<I> <ServletContext-General>
          *.jhtml: param verbose initialized to: true
          Fri Aug 04 11:40:55 GMT+05:30 2000:<I> <ServletContext-General>
          *.jhtml: param packagePrefix initialized to: examples.jhtml
          Fri Aug 04 11:40:55 GMT+05:30 2000:<I> <ServletContext-General>
          *.jhtml: param compileCommand initialized to: c:/jdk1.3/bin/javac.exe
          Fri Aug 04 11:40:55 GMT+05:30 2000:<I> <ServletContext-General>
          *.jhtml: param srcCompiler initialized to weblogic.jhtmlc
          Fri Aug 04 11:40:55 GMT+05:30 2000:<I> <ServletContext-General>
          *.jhtml: param superclass initialized to null
          Fri Aug 04 11:40:55 GMT+05:30 2000:<I> <ServletContext-General>
          *.jhtml: param workingDir initialized to: C:\weblogic\myserver\classfiles
          Fri Aug 04 11:40:55 GMT+05:30 2000:<I> <ServletContext-General>
          *.jhtml: param pageCheckSeconds initialized to: 1
          Fri Aug 04 11:40:55 GMT+05:30 2000:<I> <ServletContext-General>
          *.jhtml: initialization complete
          Fri Aug 04 11:40:55 GMT+05:30 2000:<I> <ServletContext-General>
          *.jhtml: Serving request for PATH_INFO: null
          Fri Aug 04 11:40:55 GMT+05:30 2000:<I> <ServletContext-General>
          *.jhtml: Couldn't find file: C:\weblogic\myserver\public_html\index.jhtml
          Fri Aug 04 11:40:55 GMT+05:30 2000:<I> <ServletContext-General>
          servletimages: init
          Fri Aug 04 11:41:11 GMT+05:30 2000:<I> <ServletContext-General>
          *.jhtml: Serving request for PATH_INFO: null
          Fri Aug 04 11:41:11 GMT+05:30 2000:<I> <ServletContext-General>
          *.jhtml: Couldn't find file: C:\weblogic\myserver\public_html\index.jhtml
          Fri Aug 04 11:41:13 GMT+05:30 2000:<I> <ServletContext-General>
          *.jhtml: Serving request for PATH_INFO: null
          Fri Aug 04 11:41:13 GMT+05:30 2000:<I> <ServletContext-General>
          *.jhtml: Couldn't find file: C:\weblogic\myserver\public_html\index.jhtml
          

Try resetting it:
Press and hold the On/Off Sleep/Wake button and the Home
button at the same time for at least ten seconds, until the Apple logo appears.
Next try restoring via itunes.

Similar Messages

Maybe you are looking for