%@ include file=xyz.jsp %
Hi all, what is the equivalent of jsp directive %@ include file=super_adminmenu.htm % in servlets? is it RequestDispatcher.include(request,response)? thanks bopanna - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Off Topic - RequestDispatcher
Hi all , i want to forward the control from a servlet to a jsp file using RequestDispatcher. the following code works:- RequestDispatcher rd=request.getRequestDispatcher(finyear.jsp); rd.forward(request,response); and this does not work:- RequestDispatcher rd=getServletConfig().getServletContext ().getRequestDispatcher(finyear.jsp); rd.forward(request,response); can any one please tell me why? Thanks in advance Bopanna - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat4.1.24 not compiling jsp page
hi all, when i put a new .js file in tomcat-4.1.24 and try to call it i get the following error. can any body throw some light on this problem? regds Bopanna 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: -1 in the jsp file: null Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] An exception has occurred in the compiler (1.4.0_01). Please file a bug at the Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you. [javac] java.lang.VerifyError: (class: com/sun/tools/javac/v8/comp/Resolve, method: resolveSelf signature: (ILcom/sun/tools/javac/v8/comp/Env;Lcom/sun/tools/javac/v8/code/Symbol$Ty peS ymbol;Lcom/sun/tools/javac/v8/util/Name;Z)Lcom/sun/tools/javac/v8/code/Sy mbo l;) Illegal local variable nC# [javac] at com.sun.tools.javac.v8.JavaCompiler.(JavaCompiler.java:97) [javac] at com.sun.tools.javac.v8.JavaCompiler.make(JavaCompiler.java:127) [javac] at com.sun.tools.javac.v8.JavaCompiler.make(JavaCompiler.java:141) [javac] at com.sun.tools.javac.v8.Main.compile(Main.java:523) [javac] at com.sun.tools.javac.Main.compile(Main.java:32) [javac] at com.sun.tools.javac.Main.main(Main.java:23) at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHan dle r.java:130) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.jav a:2 93) at org.apache.jasper.compiler.Compiler.generateClass (Compiler.java:353) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.jav a:4 73) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.jav a:1 90) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service (JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat ion FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte rCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve .ja va:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in vok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48 0) at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve .ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in vok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48 0) at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415 ) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java: 180 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in vok eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal ve. java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in vok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java: 172 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in vok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48 0) at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j ava :174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in vok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48 0) at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594 ) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processCo nne ction(Http11Protocol.java:392) at
Off Topic- Core java
Hi all, please help me with the following problem. I have a java file in my system (C:\Esculation.java) When I compile it from command prompt using javac command it compiles. but when i try to execute the file (java Esculation) from the prompt it gives the following exception. exception in thread main java.lang.noClassDefException . this file has a main method and it works on other systems. the classpath is set to C:\jdk1.4\lib and path is C:\jdk1.4\bin the file does not use any cutomized packages. Thanks Bopanna - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
how to change default SMTP port 25 in java mail?
hi all, i am using java mail in my webapp. my client does'nt want to use default SMTP port 25. i have to use port specified by client. the project is on tomcat-4.1.29. can some one give me sample code to do this? Thanks Bopanna - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to change SMTP port in tomcat4.1.29?
Hi All, Please tell me how to change the SMPT port from default value of 25 to some thing else on tomcat 4.1.29? Thanks Bopanna - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Communication failure during handshake
hi all, i am using tomcat4.1.29 with mysql with deafault conection pooling. i get this error. Communication failure during handshake. Is there a server running on localhost:3306? can any one please tell me what could be wroung? Bopanna - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Communication failure during handshake. Is there a server running on localhost:3306?
hi all, i configured tomcat 4.1.29 with mysql 4.1 . when i try to use the default connection pooling of tomcat i get the following error. can some one help me solve this? Thanks Bopanna javax.servlet.ServletException: Cannot create PoolableConnectionFactory, cause: Communication failure during handshake. Is there a server running on localhost:3306? at org.apache.jasper.runtime.PageContextImpl.handlePageException (PageContextImpl.java:536) at org.apache.jsp.test_jsp._jspService(test_jsp.java:67) at org.apache.jasper.runtime.HttpJspBase.service (HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service (JspServletWrapper.java:210) at org.apache.jasper.servlet.JspServlet.serviceJspFile (JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service (JspServlet.java:241) 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:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv okeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv okeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke (StandardContext.java:2417) at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv okeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke (ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv okeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv okeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.inv okeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service (CoyoteAdapter.java:193) at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:781) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processCon nection(Http11Protocol.java:549) at org.apache.tomcat.util.net.TcpWorkerThread.runIt (PoolTcpEndpoint.java:589) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:666) at java.lang.Thread.run(Thread.java:536) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Important- Tomcat 4.1.24 with mutiple database
Hi all, I am designing a product for my company which will be sold to multiple clients. The clients may have any database (MYSQL,MS SQL Server , oracle). Can i design in such a way that the product will work on any database? I would like to use type4 jdbc driver. Can connection pooling be implemented? In case the client wants to change the server from Tomcat to JRUN it should be easy to migrate. Thanks in Advance Bopanna - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JDBC type 4 Driver for MSSQL Server
hi all, Could anybody please tell me if i can get a JDBC type 4 Driver for MSSQL Server? If yes where can i get it. If any one has used it please comment. Bopanna RCS Technologies - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JDBC type 4 Driver for MSSQL Server
Hi Simon, I am not sure about it. Bopanna -Original Message- From: Simon Chou [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Fri, 14 Nov 2003 21:24:36 -0800 Subject: RE: JDBC type 4 Driver for MSSQL Server Bopanna, Does MySQL Connector-J not a type 4 driver? SC -Original Message- From: N.B.Bopanna [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2003 8:28 PM To: [EMAIL PROTECTED] Subject: JDBC type 4 Driver for MSSQL Server hi all, Could anybody please tell me if i can get a JDBC type 4 Driver for MSSQL Server? If yes where can i get it. If any one has used it please comment. Bopanna RCS Technologies - 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]
WAR file not found
Hi all, I have a webapplication running on tomcat-4.1.24. if i create a WAR file of the application and try to deploy it, tomcat cannot find the application. could some one help? Bopanna - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Count Number of Users Logged in
Hi All, I have a web application running. I want to find the number of users currently logged in. How do i do this? I have a session value(userid) for all the users. Is there a way to count them? Bopanna - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error Page Configuration
Hi all, Is there a way to configure an error page for the full application using the deployment descriptor? Thanks Bopanna - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat port on the web
Hi all, Is it nessasary to have default 80 port if tomcat is used as standalone server on the web or is it possible to put any port (say like 8080). How to configure tomcat 4.1.24 so that it can receive the http request when DNS name is typed in the browser? Any help is welcome. Thanks in advance, Bopanna, Sr. Software Engineer, RCS Technologies, Bangalore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Administrator Username and Password
Hi all, Could anybody tell me the default username and password for tomcat-4.1.24 Administrator? Thanks in advance. Bopanna Sr Software Engineer, RCS Technologies, Bangalore - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Coyote Connector for Http
Hi All, How to configure Coyote connector for my webaplication? My web application is in a folder called 'speed' in webapps directory. Can the server.xml can have 2 Host tags? Bopanna Sr. Software Engineer, RCS Technologies, Bangalore - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Admin Password
Hi All, I can't log as administrator in to Tomcat 4.1.24 using username : admin password : setup is this the default password? Bopanna - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Admin Password
Hi All, Thanks for ur response. My tomcat-user.xml.is as follows, ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=role1/ role rolename=tomcat/ user username=role1 password=tomcat roles=role1/ user username=tomcat password=tomcat roles=tomcat/ user username=both password=tomcat roles=tomcat,role1/ /tomcat-users I can't login as user=role1 , password=tomcat or any ther usernames,passwords in the above file Bopanna -Original Message- From: Nikola Milutinovic [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Thu, 25 Sep 2003 13:38:27 +0200 Subject: Re: Tomcat Admin Password Hi All, I can't log as administrator in to Tomcat 4.1.24 using username : admin password : setup is this the default password? There is no default password, you have to enter your own in tomcat-users.xml Nix. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Configuring IIS 5.0-Tomcat 4.1.24
Hi All, Can any one tell me how to configure tomcat with IIS web server? Any documentation would be useful. Thanks Bopanna Sr. Software Engineer, RCS Technologies, Bangalore - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem finding class files in tomcat-4.1.24
Hi All, I am not able to find unpackaged class files in my web application. Class files which are packaged are working fine. I have placed the file in catalina_home\shared\classes. The server is Tomcat-4.1.24. Thanks in advance, Bopanna Sr Software Engineer, RCS Technologies. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
off-topic, need help in scrolling
Hi All, I have to display rows of data after querying a table with arround 1000 records. Only 25 rows should be displayed at a time and page numbers should be provided as hyperlinks to go to the next page(as used in mail inbox). The server supports only JSP1.1 . If anyone has any idea of how to do , please help Bopanna, Software Engineer, RCS Technologies Power of Global Information Access... .. Browser based RCS products. - Visit us at http://www.rcssoft.com/ for an online DEMO of all our web based products. User ID and Password will be available on request. PAYMAN - Payroll Management System TRAXX - Asset Management and Tracking System eSHOP - Online Information and Ordering System SALES STREAM - Sales Force Automation CARE - Call Management System DATA MINER - Query Builder and Report Generator Please write to [EMAIL PROTECTED] or reply to this mail for further details. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem Generating ID
Hi All, I am generating a ID to use as primary key in my table with the follwing code. double regno = (double)System.currentTimeMillis() * Math.random(); I am getting the result in exponential form (5.797797409006919E11) . But I do not want the result in exponential form, but like for eg something like 57977974090069.3219 is there a way out? thanks Bopanna Power of Global Information Access... .. Browser based RCS products. - Visit us at http://www.rcssoft.com/ for an online DEMO of all our web based products. User ID and Password will be available on request. PAYMAN - Payroll Management System TRAXX - Asset Management and Tracking System eSHOP - Online Information and Ordering System SALES STREAM - Sales Force Automation CARE - Call Management System DATA MINER - Query Builder and Report Generator Please write to [EMAIL PROTECTED] or reply to this mail for further details. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: off-topic, need help in scrolling
Hey Gautham, It is not under my control. The mail server adds it to all mails. -Original Message- From: Aggarwal, Gautam (IE03) [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Thu, 7 Aug 2003 11:06:19 +0530 Subject: RE: off-topic, need help in scrolling This forum is meant for helping each other in Tomcat related problems, not for advertising your products. Please remove the advertisement footer from your mail, this will help in keeping the mail short as well. Bye, Gautam -Original Message- From: N.B.Bopanna [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 10:12 AM To: [EMAIL PROTECTED] Subject: off-topic, need help in scrolling Hi All, I have to display rows of data after querying a table with arround 1000 records. Only 25 rows should be displayed at a time and page numbers should be provided as hyperlinks to go to the next page(as used in mail inbox). The server supports only JSP1.1 . If anyone has any idea of how to do , please help Bopanna, Software Engineer, RCS Technologies Power of Global Information Access... ... Browser based RCS products. --- - - Visit us at http://www.rcssoft.com/ for an online DEMO of all our web based products. User ID and Password will be available on request. PAYMAN - Payroll Management System TRAXX- Asset Management and Tracking System eSHOP - Online Information and Ordering System SALES STREAM - Sales Force Automation CARE - Call Management System DATA MINER - Query Builder and Report Generator Please write to [EMAIL PROTECTED] or reply to this mail for further details. - 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] Power of Global Information Access... .. Browser based RCS products. - Visit us at http://www.rcssoft.com/ for an online DEMO of all our web based products. User ID and Password will be available on request. PAYMAN - Payroll Management System TRAXX - Asset Management and Tracking System eSHOP - Online Information and Ordering System SALES STREAM - Sales Force Automation CARE - Call Management System DATA MINER - Query Builder and Report Generator Please write to [EMAIL PROTECTED] or reply to this mail for further details. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem finding class files from Web-inf/classes
hi all, I am using Tomacat4.1.24. My application cannot find unpackaged class files placed in application's Web-inf/classes directory. Should i have to set some classpath explicitly or should it be found by default. Thanx Bopanna. Power of Global Information Access... .. Browser based RCS products. - Visit us at http://www.rcssoft.com/ for an online DEMO of all our web based products. User ID and Password will be available on request. PAYMAN - Payroll Management System TRAXX - Asset Management and Tracking System eSHOP - Online Information and Ordering System SALES STREAM - Sales Force Automation CARE - Call Management System DATA MINER - Query Builder and Report Generator Please write to [EMAIL PROTECTED] or reply to this mail for further details. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]