Re: Hellp me Don't know whats the problem
Hi, Put your bean class in a package rather than putting it in the default package and access it like where pack1 is the new package HTH Vinu Kasim wrote: Yes -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 5:34 PM To: Tomcat Users List Subject: RE: Hellp me Don't know whats the problem Does your WEB-INF/classes folder have the class stationname.class i.e in the default package? And then is it imported with a page directive in the JSP? -Original Message- From: Kasim [mailto:[EMAIL PROTECTED] Sent: 23 March 2006 12:04 To: Tomcat Users List Subject: RE: Hellp me Don't know whats the problem This is the code generating the problem Southern Command function show(this_layer) { this_layer.style.visibility='visible'; } function hide(this_layer) { this_layer.style.visibility='hidden'; } function make_bold(x) { x.style.fontSize='11px'; } function make_normal(x) { x.style.fontSize='10px'; } function openwindow(stationcode) { window.close(); window.open('station_index.jsp?stationcode='+stationcode, 'Station', 'resizable=yes,scrollbars=no,toolbar=yes,status=yes,dependant=no') } div.for_layer1 { z-index:2; visibility:hidden; position:absolute; top:120px; left:155px; } table.for_layer1 { border:2px solid #99; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#ced6ff" } tr.for_layer1 { background-color:"#BB3D00"; } div.for_layer2 { z-index:2; visibility:hidden; position:absolute; top:150px; left:155px; } table.for_layer2 { border:2px solid #006600; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#ced6ff"; } tr.for_layer2 { background-color:"#006600"; } div.for_layer3 { z-index:2; visibility:hidden; position:absolute; top:90px; left:155px; } table.for_layer3 { border:2px solid #663399; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#ced6ff"; } tr.for_layer3 { background-color:"#99"; } div.for_layer4 { z-index:2; visibility:hidden; position:absolute; top:205px; left:155px; } table.for_layer4 { border:2px solid #FF0033; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#FF"; } tr.for_layer4 { background-color:"#990033"; } <% Vector chennailist=station.getData("chennai"); Vector jaipurlist=station.getData("jaipur"); Vector hyderabadlist=station.getData("hyderabad"); Vector punelist=station.getData("pune"); %> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- QAS Ltd. Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- Disclaimer: The information contained within this e-mail is confidential and may be privileged. This email is intended solely for the named recipient only; if you are not authorised you must not disclose, copy, distribute, or retain this message or any part of it. If you have received this message in error please contact the sender at once so that we may take the appropriate action and avoid troubling you further. Any views expressed in this message are those of the individual sender. QAS Limited has the right lawfully to record, monitor and inspect messages between its employees and any third party. Your messages shall be subject to such lawful supervision as QAS Limited deems to be necessary in order to protect its information, its interests and its reputation. Whilst all efforts are made to safeguard Inbound and Outbound emails, QAS Limited cannot guarantee that attachments are virus free or compatible with your systems and does not accept any liability in respect of viruses or computer problems experienced. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Vinu Varghese [EMAIL PROTECTED] www.x-minds.org
RE: Hellp me Don't know whats the problem
Show me your page directive import -Original Message- From: Kasim [mailto:[EMAIL PROTECTED] Sent: 23 March 2006 12:22 To: Tomcat Users List Subject: RE: Hellp me Don't know whats the problem Yes -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 5:34 PM To: Tomcat Users List Subject: RE: Hellp me Don't know whats the problem Does your WEB-INF/classes folder have the class stationname.class i.e in the default package? And then is it imported with a page directive in the JSP? -Original Message- From: Kasim [mailto:[EMAIL PROTECTED] Sent: 23 March 2006 12:04 To: Tomcat Users List Subject: RE: Hellp me Don't know whats the problem This is the code generating the problem Southern Command function show(this_layer) { this_layer.style.visibility='visible'; } function hide(this_layer) { this_layer.style.visibility='hidden'; } function make_bold(x) { x.style.fontSize='11px'; } function make_normal(x) { x.style.fontSize='10px'; } function openwindow(stationcode) { window.close(); window.open('station_index.jsp?stationcode='+stationcode, 'Station', 'resizable=yes,scrollbars=no,toolbar=yes,status=yes,dependant=no') } div.for_layer1 { z-index:2; visibility:hidden; position:absolute; top:120px; left:155px; } table.for_layer1 { border:2px solid #99; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#ced6ff" } tr.for_layer1 { background-color:"#BB3D00"; } div.for_layer2 { z-index:2; visibility:hidden; position:absolute; top:150px; left:155px; } table.for_layer2 { border:2px solid #006600; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#ced6ff"; } tr.for_layer2 { background-color:"#006600"; } div.for_layer3 { z-index:2; visibility:hidden; position:absolute; top:90px; left:155px; } table.for_layer3 { border:2px solid #663399; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#ced6ff"; } tr.for_layer3 { background-color:"#99"; } div.for_layer4 { z-index:2; visibility:hidden; position:absolute; top:205px; left:155px; } table.for_layer4 { border:2px solid #FF0033; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#FF"; } tr.for_layer4 { background-color:"#990033"; } <% Vector chennailist=station.getData("chennai"); Vector jaipurlist=station.getData("jaipur"); Vector hyderabadlist=station.getData("hyderabad"); Vector punelist=station.getData("pune"); %> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- QAS Ltd. Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- Disclaimer: The information contained within this e-mail is confidential and may be privileged. This email is intended solely for the named recipient only; if you are not authorised you must not disclose, copy, distribute, or retain this message or any part of it. If you have received this message in error please contact the sender at once so that we may take the appropriate action and avoid troubling you further. Any views expressed in this message are those of the individual sender. QAS Limited has the right lawfully to record, monitor and inspect messages between its employees and any third party. Your messages shall be subject to such lawful supervision as QAS Limited deems to be necessary in order to protect its information, its interests and its reputation. Whilst all efforts are made to safeguard Inbound and Outbound emails, QAS Limited cannot guarantee that attachments are virus free or compatible with your systems and does not accept any liability in respect of viruses or computer problems experienced. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Hellp me Don't know whats the problem
Yes -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 5:34 PM To: Tomcat Users List Subject: RE: Hellp me Don't know whats the problem Does your WEB-INF/classes folder have the class stationname.class i.e in the default package? And then is it imported with a page directive in the JSP? -Original Message- From: Kasim [mailto:[EMAIL PROTECTED] Sent: 23 March 2006 12:04 To: Tomcat Users List Subject: RE: Hellp me Don't know whats the problem This is the code generating the problem Southern Command function show(this_layer) { this_layer.style.visibility='visible'; } function hide(this_layer) { this_layer.style.visibility='hidden'; } function make_bold(x) { x.style.fontSize='11px'; } function make_normal(x) { x.style.fontSize='10px'; } function openwindow(stationcode) { window.close(); window.open('station_index.jsp?stationcode='+stationcode, 'Station', 'resizable=yes,scrollbars=no,toolbar=yes,status=yes,dependant=no') } div.for_layer1 { z-index:2; visibility:hidden; position:absolute; top:120px; left:155px; } table.for_layer1 { border:2px solid #99; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#ced6ff" } tr.for_layer1 { background-color:"#BB3D00"; } div.for_layer2 { z-index:2; visibility:hidden; position:absolute; top:150px; left:155px; } table.for_layer2 { border:2px solid #006600; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#ced6ff"; } tr.for_layer2 { background-color:"#006600"; } div.for_layer3 { z-index:2; visibility:hidden; position:absolute; top:90px; left:155px; } table.for_layer3 { border:2px solid #663399; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#ced6ff"; } tr.for_layer3 { background-color:"#99"; } div.for_layer4 { z-index:2; visibility:hidden; position:absolute; top:205px; left:155px; } table.for_layer4 { border:2px solid #FF0033; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#FF"; } tr.for_layer4 { background-color:"#990033"; } <% Vector chennailist=station.getData("chennai"); Vector jaipurlist=station.getData("jaipur"); Vector hyderabadlist=station.getData("hyderabad"); Vector punelist=station.getData("pune"); %> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- QAS Ltd. Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- Disclaimer: The information contained within this e-mail is confidential and may be privileged. This email is intended solely for the named recipient only; if you are not authorised you must not disclose, copy, distribute, or retain this message or any part of it. If you have received this message in error please contact the sender at once so that we may take the appropriate action and avoid troubling you further. Any views expressed in this message are those of the individual sender. QAS Limited has the right lawfully to record, monitor and inspect messages between its employees and any third party. Your messages shall be subject to such lawful supervision as QAS Limited deems to be necessary in order to protect its information, its interests and its reputation. Whilst all efforts are made to safeguard Inbound and Outbound emails, QAS Limited cannot guarantee that attachments are virus free or compatible with your systems and does not accept any liability in respect of viruses or computer problems experienced. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Hellp me Don't know whats the problem
Does your WEB-INF/classes folder have the class stationname.class i.e in the default package? And then is it imported with a page directive in the JSP? -Original Message- From: Kasim [mailto:[EMAIL PROTECTED] Sent: 23 March 2006 12:04 To: Tomcat Users List Subject: RE: Hellp me Don't know whats the problem This is the code generating the problem Southern Command function show(this_layer) { this_layer.style.visibility='visible'; } function hide(this_layer) { this_layer.style.visibility='hidden'; } function make_bold(x) { x.style.fontSize='11px'; } function make_normal(x) { x.style.fontSize='10px'; } function openwindow(stationcode) { window.close(); window.open('station_index.jsp?stationcode='+stationcode, 'Station', 'resizable=yes,scrollbars=no,toolbar=yes,status=yes,dependant=no') } div.for_layer1 { z-index:2; visibility:hidden; position:absolute; top:120px; left:155px; } table.for_layer1 { border:2px solid #99; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#ced6ff" } tr.for_layer1 { background-color:"#BB3D00"; } div.for_layer2 { z-index:2; visibility:hidden; position:absolute; top:150px; left:155px; } table.for_layer2 { border:2px solid #006600; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#ced6ff"; } tr.for_layer2 { background-color:"#006600"; } div.for_layer3 { z-index:2; visibility:hidden; position:absolute; top:90px; left:155px; } table.for_layer3 { border:2px solid #663399; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#ced6ff"; } tr.for_layer3 { background-color:"#99"; } div.for_layer4 { z-index:2; visibility:hidden; position:absolute; top:205px; left:155px; } table.for_layer4 { border:2px solid #FF0033; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#FF"; } tr.for_layer4 { background-color:"#990033"; } <% Vector chennailist=station.getData("chennai"); Vector jaipurlist=station.getData("jaipur"); Vector hyderabadlist=station.getData("hyderabad"); Vector punelist=station.getData("pune"); %> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- QAS Ltd. Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- Disclaimer: The information contained within this e-mail is confidential and may be privileged. This email is intended solely for the named recipient only; if you are not authorised you must not disclose, copy, distribute, or retain this message or any part of it. If you have received this message in error please contact the sender at once so that we may take the appropriate action and avoid troubling you further. Any views expressed in this message are those of the individual sender. QAS Limited has the right lawfully to record, monitor and inspect messages between its employees and any third party. Your messages shall be subject to such lawful supervision as QAS Limited deems to be necessary in order to protect its information, its interests and its reputation. Whilst all efforts are made to safeguard Inbound and Outbound emails, QAS Limited cannot guarantee that attachments are virus free or compatible with your systems and does not accept any liability in respect of viruses or computer problems experienced. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Hellp me Don't know whats the problem
This is the code generating the problem Southern Command function show(this_layer) { this_layer.style.visibility='visible'; } function hide(this_layer) { this_layer.style.visibility='hidden'; } function make_bold(x) { x.style.fontSize='11px'; } function make_normal(x) { x.style.fontSize='10px'; } function openwindow(stationcode) { window.close(); window.open('station_index.jsp?stationcode='+stationcode, 'Station', 'resizable=yes,scrollbars=no,toolbar=yes,status=yes,dependant=no') } div.for_layer1 { z-index:2; visibility:hidden; position:absolute; top:120px; left:155px; } table.for_layer1 { border:2px solid #99; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#ced6ff" } tr.for_layer1 { background-color:"#BB3D00"; } div.for_layer2 { z-index:2; visibility:hidden; position:absolute; top:150px; left:155px; } table.for_layer2 { border:2px solid #006600; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#ced6ff"; } tr.for_layer2 { background-color:"#006600"; } div.for_layer3 { z-index:2; visibility:hidden; position:absolute; top:90px; left:155px; } table.for_layer3 { border:2px solid #663399; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#ced6ff"; } tr.for_layer3 { background-color:"#99"; } div.for_layer4 { z-index:2; visibility:hidden; position:absolute; top:205px; left:155px; } table.for_layer4 { border:2px solid #FF0033; color:#FF; font-family:arial; font-size:10px; cursor:hand; background-color:"#FF"; } tr.for_layer4 { background-color:"#990033"; } <% Vector chennailist=station.getData("chennai"); Vector jaipurlist=station.getData("jaipur"); Vector hyderabadlist=station.getData("hyderabad"); Vector punelist=station.getData("pune"); %> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Hellp me Don't know whats the problem
Looks like you about probaably using the useBean tag incorrectly. Can you post how you use stationname? Allistair -Original Message- From: Kasim [mailto:[EMAIL PROTECTED] Sent: 23 March 2006 11:25 To: Tomcat Users List Subject: Hellp me Don't know whats the problem I am facing following problem while executing my project. Please suggest me the solution.I am using Tomcat 5.0 and Mysql in backend Here stationname is a bean type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 4 in the jsp file: /view_main.jsp Generated servlet error: stationname cannot be resolved to a type An error occurred at line: 4 in the jsp file: /view_main.jsp Generated servlet error: stationname cannot be resolved to a type An error occurred at line: 4 in the jsp file: /view_main.jsp Generated servlet error: stationname cannot be resolved to a type An error occurred at line: 142 in the jsp file: /view_main.jsp Generated servlet error: Vector cannot be resolved to a type An error occurred at line: 142 in the jsp file: /view_main.jsp Generated servlet error: Vector cannot be resolved to a type An error occurred at line: 142 in the jsp file: /view_main.jsp Generated servlet error: Vector cannot be resolved to a type An error occurred at line: 142 in the jsp file: /view_main.jsp Generated servlet error: Vector cannot be resolved to a type org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServle tWra pper.java:510) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:3 75) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 4 in the jsp file: /view_main.jsp Generated servlet error: stationname cannot be resolved to a type An error occurred at line: 4 in the jsp file: /view_main.jsp Generated servlet error: stationname cannot be resolved to a type An error occurred at line: 4 in the jsp file: /view_main.jsp Generated servlet error: stationname cannot be resolved to a type An error occurred at line: 142 in the jsp file: /view_main.jsp Generated servlet error: Vector cannot be resolved to a type An error occurred at line: 142 in the jsp file: /view_main.jsp Generated servlet error: Vector cannot be resolved to a type An error occurred at line: 142 in the jsp file: /view_main.jsp Generated servlet error: Vector cannot be resolved to a type An error occurred at line: 142 in the jsp file: /view_main.jsp Generated servlet error: Vector cannot be resolved to a type org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHa ndle r.java:84) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.ja va:3 28) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:40 9) org.apache.jasper.compiler.Compiler.compile(Compiler.java:297) org.apache.jasper.compiler.Compiler.compile(Compiler.java:276) org.apache.jasper.compiler.Compiler.compile(Compiler.java:264) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja va:5 63) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:3 03) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.15 logs. Apache Tomcat/5.5.15 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- QAS Ltd. Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- Disclaimer: The information contained within this e-mail is confidential and may be privileged. This email is intended solely for the named recipient only; if you are not authorised you must not disclose, copy, distribute, or retain this message or any part of it. If you have received this message in error please contact the sender at once so that we may take the appropriate action and avoid troubling you further. Any views expressed in this message are those of the individual sender. QAS Limited has the right lawfully to record, monitor and inspect messages between its employees and any third party. Your messages shall be subject to such lawful supervision as QAS Limited deems to be necessary in order to protec
Hellp me Don't know whats the problem
I am facing following problem while executing my project. Please suggest me the solution.I am using Tomcat 5.0 and Mysql in backend Here stationname is a bean type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 4 in the jsp file: /view_main.jsp Generated servlet error: stationname cannot be resolved to a type An error occurred at line: 4 in the jsp file: /view_main.jsp Generated servlet error: stationname cannot be resolved to a type An error occurred at line: 4 in the jsp file: /view_main.jsp Generated servlet error: stationname cannot be resolved to a type An error occurred at line: 142 in the jsp file: /view_main.jsp Generated servlet error: Vector cannot be resolved to a type An error occurred at line: 142 in the jsp file: /view_main.jsp Generated servlet error: Vector cannot be resolved to a type An error occurred at line: 142 in the jsp file: /view_main.jsp Generated servlet error: Vector cannot be resolved to a type An error occurred at line: 142 in the jsp file: /view_main.jsp Generated servlet error: Vector cannot be resolved to a type org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWra pper.java:510) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3 75) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 4 in the jsp file: /view_main.jsp Generated servlet error: stationname cannot be resolved to a type An error occurred at line: 4 in the jsp file: /view_main.jsp Generated servlet error: stationname cannot be resolved to a type An error occurred at line: 4 in the jsp file: /view_main.jsp Generated servlet error: stationname cannot be resolved to a type An error occurred at line: 142 in the jsp file: /view_main.jsp Generated servlet error: Vector cannot be resolved to a type An error occurred at line: 142 in the jsp file: /view_main.jsp Generated servlet error: Vector cannot be resolved to a type An error occurred at line: 142 in the jsp file: /view_main.jsp Generated servlet error: Vector cannot be resolved to a type An error occurred at line: 142 in the jsp file: /view_main.jsp Generated servlet error: Vector cannot be resolved to a type org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle r.java:84) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:3 28) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:409) org.apache.jasper.compiler.Compiler.compile(Compiler.java:297) org.apache.jasper.compiler.Compiler.compile(Compiler.java:276) org.apache.jasper.compiler.Compiler.compile(Compiler.java:264) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 63) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3 03) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.15 logs. Apache Tomcat/5.5.15 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]