I have attached two files Source.txt and Error.txt. Have a look at the Error.txt file first, then look at the Source.txt file.
Now tell me, is the switch statement getting done or not? I would think it is getting done but the values are not being passed. Puzzeld and Amazed, Nicholas ********************************************************************** The information contained in this e-mail is confidential and is intended only for the use of the addressee(s). If you receive this e-mail in error, any use, distribution or copying of this e-mail is not permitted. You are requested to forward unwanted e-mail and address any problems to the MIM Holdings Limited Support Centre. For general enquires: ++61 7 3833 8000 Support Centre e-mail: [EMAIL PROTECTED] Support Centre phone: Australia 1800500646 International ++61 7 38338042 **********************************************************************
Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error -------------------------------------------------------------------------------- type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred at line: 47 in the jsp file: /Forms/LanIDForm.jsp Generated servlet error: C:\Program Files\Java\Jakarta\Tomcat-4.0\work\localhost\_\Forms\LanIDForm$jsp.java:102: Variable sSubTitle may not have been initialized. out.print( sSubTitle); ^ An error occurred at line: 60 in the jsp file: /Forms/LanIDForm.jsp Generated servlet error: C:\Program Files\Java\Jakarta\Tomcat-4.0\work\localhost\_\Forms\LanIDForm$jsp.java:116: Variable sFormName may not have been initialized. out.print( sFormName); ^ An error occurred at line: 91 in the jsp file: /Forms/LanIDForm.jsp Generated servlet error: C:\Program Files\Java\Jakarta\Tomcat-4.0\work\localhost\_\Forms\LanIDForm$jsp.java:167: Variable sPageName may not have been initialized. JspRuntimeLibrary.include(request, response, sPageName + _jspx_qStr, out, true); ^ 3 errors, 1 warning at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:371) at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:424) at java.lang.Thread.run(Thread.java:536)
<% int iBackPage, iNextPage, iPage; String sPage, sPageName, sSubTitle, sFormName, sQueryString; boolean bPageOneDone, bPageTwoDone, bPageThreeDone; sPage = request.getParameter("Page"); if (sPage != null && !"".equals(sPage)) { iPage = Integer.parseInt(sPage); iBackPage = iPage - 1; iNextPage = iPage + 1; } else { iPage = 2; iBackPage = iPage - 1; iNextPage = iPage + 1; } switch (iPage) { case 1: sPageName = "UserDetails.html"; sSubTitle = "User Details"; sFormName = "frmUserDetails"; break; case 2: bPageOneDone = true; sPageName = "LicensedProducts.html"; sSubTitle = "Licensed Products"; sFormName = "frmLicensedProducts"; break; case 3: bPageTwoDone = true; sPageName = "DirectoryAccess.html"; sSubTitle = "Directory Access"; sFormName = "frmDirectoryAccess"; break; } %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>LAN User ID Request - <%= sSubTitle%></title> <link href="style.css" rel="stylesheet" type="text/css"> <script language="Javascript"> <!-- function btnCancel_onClick() { if(confirm("Cancel User ID Creation?")) window.close(); } function btnBackState() { var iPage = <%= iPage%> var theform = document.<%= sFormName%>; if (iPage <= 1) theform.btnBack.disabled=true; btnNextState(); } function btnBack_onClick() { var theform = document.<%= sFormName%>; theform.Page.value = "<%= iBackPage%>"; theform.submit(); } function btnNextState() { var iPage = <%= iPage%> var theform = document.<%= sFormName%>; if (iPage >= 3) theform.btnNext.disabled=true; } function btnNext_onClick() { var theform = document.<%= sFormName%>; theform.Page.value = "<%= iNextPage%>"; theform.submit(); } --> </script> </head> <body> <jsp:include page="<%= sPageName%>" flush="true" /> <%= iPage%><br> <%= sPage%><br> </body> </html>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>