Re: JSP pages giving out source code

2002-11-19 Thread Uma Maheswar
ot; <[EMAIL PROTECTED]> Sent: Monday, November 18, 2002 8:53 PM Subject: RE: JSP pages giving out source code > > Apache doesn't understand that *.jsp requests need to be sent to Tomcat. > > You need a connector (WARP, JK, or JK2), and if you already have one, it's

JSP pages giving out source code

2002-11-18 Thread Uma Maheswar
Hello, Some of the links in my website to .jsp pages are giving out the source code and some or not. What is the reason? e.g http://www.javagalaxy.com/sss.jsp gives out source code (not true link) where as http://www.javagalaxy.com:8080/ss/s.jsp will work. How to correct this? Any one

Re: About WARP, HELP

2002-10-05 Thread Uma Maheswar
George, Then which server.xml file is this taking? I got this file from tomcat/conf/server.xml. Please advice. Uma -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: About WARP, HELP

2002-10-05 Thread Uma Maheswar
Hi, Its already same in the server.xml file. I am attaching the file for your review. Please check it Uma

About WARP, HELP

2002-10-05 Thread Uma Maheswar
Can any one tell me about WARP? Please help me. My problem is listed below. Thanks Uma > > C:\PROGRA~1\Apache Tomcat 4.0\bin>catalina run > Using CATALINA_BASE: .. > Using CATALINA_HOME: .. > Using CLASSPATH: > ..\bin\bootstrap.jar;c:/j2sdk1.4.0/bin;\lib\tools.jar > Using JAVA_HOME: c:/j2sdk

Re: Tomcat Problem

2002-10-05 Thread Uma Maheswar
Reynir, I never changed the server.xml file. I dont know that stuff. Can you tell me how to change WARP? Thanks -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Tomcat Problem

2002-10-05 Thread Uma Maheswar
Reynir, I tried this and it gave me some error messages. Can you suggest me now? Uma C:\PROGRA~1\Apache Tomcat 4.0\bin>catalina run Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CLASSPATH: ..\bin\bootstrap.jar;c:/j2sdk1.4.0/bin;\lib\tools.jar Using JAVA_HOME: c:/j2sdk1.4.0/bin;

Re: Tomcat Problem

2002-10-05 Thread Uma Maheswar
Hi Reynir, I tried it, I got this messages C:\PROGRA~1\Apache Tomcat 4.0\bin>catalina run Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CLASSPATH: ..\bin\bootstrap.jar;c:/j2sdk1.4.0/bin;\lib\tools.jar Using JAVA_HOME: c:/j2sdk1.4.0/bin; The system cannot find the path specified. C

Re: Tomcat Problem

2002-10-05 Thread Uma Maheswar
Hi Reynir, I do not have any error message. If I need to start the Tomcat in my PC running on Win XP, I need to go to Start - Control Panel - Admin Tools - Services and then start the Tomcat. There is no other option for me than this. Now the Tomcat gets started if I do so. But I wanted to view i

Re: Tomcat Problem

2002-10-05 Thread Uma Maheswar
Help ASAP w. Tomcat install!), > where he also explained, how to install or deinstall the service > from the command line. > > Andreas > > > On 5 Oct 2002 at 7:54, Uma Maheswar wrote: > > > Hello, > > I cannot view the Tomcat Console. I am using Tomcat 4.0 on Win XP

Tomcat Problem

2002-10-04 Thread Uma Maheswar
Hello, I cannot view the Tomcat Console. I am using Tomcat 4.0 on Win XP. Also, I cannot start the Tomcat from Start - Programmes - Apache Tomcat. I need to go to the Control Panel - Admin Tools - Services and then start the Tomcat over there. Can any one tell me what is wrong? I am also using JD

Cannot view the console

2002-10-04 Thread Uma Maheswar
Hello, I cannot view the Tomcat Console. I am using Tomcat 4.0 on Win XP. Also, I cannot start the Tomcat from Start - Programmes - Apache Tomcat. I need to go to the Control Panel - Admin Tools - Services and then start the Tomcat over there. Can any one tell me what is wrong? I am also using JD

Writing beans

2002-03-06 Thread Uma Maheswar
Hi, I need help writing a bean inside my JSP programme. I am also attaching my JSP programme, please check it and do the need ful changes. <%@ page import="java.sql.*,java.io.*,javax.servlet.*,javax.servlet.http.*,java.util.*" %> <%! String iam,seeking,lookingfor,firstname,lastname,address,

Re: Pls Help!! Uploading an image

2002-03-04 Thread Uma Maheswar
ng an image > You might try struts: http://jakarta.apache.org/struts > > It has an easy way to get multipart content from a form, including an easy > example, but there is a learning curve to setting up struts itself. > The code is not going to just appear before your eyes unfortunately :) > &

Re: Pls Help!! Uploading an image

2002-03-04 Thread Uma Maheswar
html for more info. > Hope this helps. > Satyakant Evani > - Original Message - > From: "Uma Maheswar" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Monday, March 04, 2002 10:49 AM > Subject: Pls Help!! Uploading an i

Pls Help!! Uploading an image

2002-03-04 Thread Uma Maheswar
HI, I need help from any of you. I need a programme to upload an image to the database while submitting a form. If any one is having the source code pls help me. Regards Uma

integer value

2002-02-25 Thread Uma Maheswar
Hi, I have a doubt, I have a form that has name and his phone number, both the fields are optional. I declared name as VARCHAR and number as INTEGER in my SQL database. When the user leaves the fild empty, I get an error with the number field as NumberFormatException. So , What I need to do n

Writing a bean

2002-02-25 Thread Uma Maheswar
Hi, I wanted to write a java bean inside my JSP programme. My requirement is like this <% Connection con = (.); statement = con.createStatement(); request.getParameter(name); request.getParameter(phone); rs = st.executeQuery("select * from uma where name="+name); if(rs.next()) { out.p

Checking with DB

2002-02-22 Thread Uma Maheswar
Hi, Please help me with this. Please see the code below. It doesn't work, if I give the correct id and password.But it works if I say (!rs.next()). The same type of programme worked for me in case of other tables. Could any one pls help me solve this problem. String id = req.getParameter("us

Re: Java servlet and mailing

2002-02-22 Thread Uma Maheswar
Hi, There is a ready made programme out there in www.globalleafs.com . You can download it from our site. Uma - Original Message - From: "Simon" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, February 22, 2002 4:01 AM Subject: Java servlet and mailing >

Signup servlet

2002-02-19 Thread Uma Maheswar
Hi friends, I am doing a project now. I am trying to register a user into the database using Signup.java (Servlet). I did the code and it worked fine till some days but giving me problems now. It says that any user who wants to signup is already present in the database. I am attaching my jav

Re: Signup servlet

2002-02-19 Thread Uma Maheswar
Hi, There is no error in this. The servlet is working fine, but the query is giving me problem. When the user in the database is not present also, it says that the user is present in the database. Please check this. Uma - Original Message - From: "Vercesi Paolo" <[EMAIL PROTECTED]> To:

Re: Signup servlet

2002-02-19 Thread Uma Maheswar
file ? Can't see an attachment. > -----Ursprüngliche Nachricht- > Von: Uma Maheswar [mailto:[EMAIL PROTECTED]] > Gesendet: Dienstag, 19. Februar 2002 15:36 > An: Tomcat Users List > Betreff: Signup servlet > the database. I am attaching my java file here. Please check -- To unsubscrib

Signup servlet

2002-02-19 Thread Uma Maheswar
Hi friends, I am doing a project now. I am trying to register a user into the database using Signup.java (Servlet). I did the code and it worked fine till some days but giving me problems now. It says that any user who wants to signup is already present in the database. I am attaching my java f

Re: Inserting DATE into SQL server

2002-02-11 Thread Uma Maheswar
Hi, Thanks for your replies. I tested both of your methods and mine too. But in all the cases I found the date to be inserted Random as "1899" or "1905" or so on. cal = Calendar.getInstance(); cal.set(year,month,date); sqlDate = new java.sql.Date(cal.getTime().getTime()); or totdate = year+

Getting values from different tables

2002-02-11 Thread Uma Maheswar
Hi, I wanted to know if there is any possiblility of getting all the values from a Database in a single command. Example: I am using it in this way in a browser "select * from "and here is a drop down box which contains table names" as register,pc,signup" . I select the table I need from the

Re: Problem with IE

2002-02-07 Thread Uma Maheswar
Hi Brian, It is a sample one that I gave you, It is working for me too. Please try this http://www.globalleafs.com/Login.html User ID: kiran Password: kiran and then when you try clicking on any URL, you get HTTP 404 File not found. But the same works fine in Netscape. Please check it. Uma -

Re: Problem with IE

2002-02-07 Thread Uma Maheswar
to database inside Test Servlet.java uma uma ".what version of IE > you are using? > > Ahmed > - Original Message - > From: "Uma Maheswar" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Thursday, February 0

Problem with IE

2002-02-07 Thread Uma Maheswar
Hi, I am using Apache Tomcat4.0. I am doing a project in Servlets. I do not get my files working on IE with this kind of URL http://globalleafs.com:8080/globalleafs/servlet/TestServlet But the same URL works fine in Netscape. What could be the problem? Uma

How to configure tomcat?

2002-02-07 Thread Uma Maheswar
Hi, I have a web site www.globalleafs.com . I have downlaoded Tomcat4.0 . I have hosted my site with Indiaaccess,India. They are using Apache Tomcat 4.0. I wanted to configure my tomcat in such a way that, I can see the "System.out.println" statements? i.e to see the console of Apache Tomcat 4.

Tomcat not getting installed

2002-02-04 Thread Uma Maheswar
Hi, I am using JavaWebServer2.0(Trial Version) in WinXP. I have downloaded Tomcat (.exe) file. when I try to install it , it says JDK is not found. I have JDK installed with Visual Cafe in my PC. What should I do now? Help me. Uma