HTTP Status 404.

2003-11-24 Thread Anunay Ashish
Hi, I have Apache Tomcat 4.0.3 on my system. I am trying to access a file index.htm in the folder D:\ApacheTomcat4\webapps\pg_mdp through the url http://p223.tis.co.in:8080/pg_mdp/index.htm but is showing HTTP Status 404. What is the problem? Thanks in advance. Regards, Anunay.

Please suggest.

2003-11-17 Thread Anunay Ashish
Can you suggest a mailing list for learning java? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Factory methods.

2003-10-28 Thread anunay ashish
Why are some methods called factory methods? e.g. prepareStatement() in java.sql.PreparedStatement - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

URL of calling JSP page calling a servlet.

2003-10-27 Thread anunay ashish
Hi, I want to trap the url of the JSP page calling a servlet. I want to use the url in the servlet to determine my course of action. Thanks in advance. Regards, Anunay Ashish. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: URL of calling JSP page calling a servlet.

2003-10-27 Thread anunay ashish
7:41 PM Subject: RE: URL of calling JSP page calling a servlet. Howdy, You mean like the Referer (misspelled) header? Yoav Shapira Millennium ChemInformatics -Original Message- From: anunay ashish [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 8:55 AM To: Tomcat Users List

Request, response and session.

2003-10-22 Thread anunay ashish
Hi, I have a good background of ASP but recently started programming in JSP. Where does Request and Response object comes in JSP? Can we define a session variable in JSP similar to ASP? Thanks in advance. Regards, Anunay Ashish

Probelm with the jsp:setProperty / tag.

2003-10-14 Thread anunay ashish
information on property 'bookId' in a bean of type 'com.scheduler.rangeUpdate' Where I am going wrong? Thanks in advance. Regards, Anunay Ashish. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Probelm with the jsp:setProperty / tag.

2003-10-14 Thread anunay ashish
-Original Message- From: anunay ashish [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 10:13 To: Tomcat Users List Subject: Probelm with the jsp:setProperty / tag. Hi, I am facing difficulty while using setProperty tag in JSP. My JSP page is: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0

Re: INVOKER fails after webapp recompile

2003-10-14 Thread anunay ashish
I faced the same problem. I think by starting the web application from Tomcat manager can bypass the need to restart the tomcat. - Original Message - From: Niklas Saers Mailinglistaccount [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 3:53 PM Subject: INVOKER fails

Unable to locate JSP page from Servlet.

2003-10-13 Thread anunay ashish
Hi, I am calling a JSP page from a servlet as follows: try { //set the attribute and forward to pageFormat.jsp request.setAttribute(servletName, addDataServlet); getServletConfig().getServletContext().getRequestDispatcher(/Tracking_syste m/pageFormat.jsp).forward(request, response); }

Re: Unable to locate JSP page from Servlet.

2003-10-13 Thread anunay ashish
maybe you have to restart tomcat, or reload the servlet in the tomcat manager. good luck Twan - Original Message - From: anunay ashish [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, October 13, 2003 10:32 AM Subject: Unable to locate JSP page from Servlet

Page context.

2003-10-13 Thread anunay ashish
Hi, What is meant by page context in JSP pages? Thanks in advance. Regards, Anunay Ashish. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Difficulty in compiling a servlet.

2003-10-12 Thread anunay ashish
- Original Message - From: anunay ashish [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, October 11, 2003 2:27 PM Subject: Difficulty in compiling a servlet. Hi, The code for my bean is: package com.scheduler; import java.sql.*; public class DBUpdate

Tomcat restart.

2003-10-11 Thread anunay ashish
Hi, I am using Tomcat to host an application. Sometimes it happens that the JSP page giving an error, becomes fine as soon as I restart the tomcat. The error generated is specifically at the place where I am initializing the bean. Why is it so? Thanks in advance. Regards, Anunay Ashish

Difficulty in compiling a servlet.

2003-10-11 Thread anunay ashish
Hi, The code for my bean is: package com.scheduler; import java.sql.*; public class DBUpdate { private Connection conn; private Statement stmt; private ResultSet rs; public DBUpdate() { conn = null; stmt = null; rs = null; } public void

Servlet and Beans.

2003-10-10 Thread anunay ashish
If my bean and servlet are as package com.scheduler, then can I use make an object of the bean class in the servlet? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Servlet and Beans.

2003-10-10 Thread anunay ashish
Users List [EMAIL PROTECTED] Sent: Friday, October 10, 2003 3:04 PM Subject: Re: Servlet and Beans. Yes, as long as you import the classes and make them available in your webapp. anunay ashish wrote: If my bean and servlet are as package com.scheduler, then can I use make an object of the bean

Setting variables.

2003-10-10 Thread anunay ashish
When we set CLASSPATH variable in windows XP, where should we set it - 1. In user variables for administrator or 2. System variables - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Unable to open the servlet.

2003-10-06 Thread anunay ashish
resource (/com/scheduler/addDataServlet) is not available. Apache Tomcat/4.1.27 Please suggest me the remedy for this. Regards, Anunay Ashish

Unable to open the servlet.

2003-10-06 Thread anunay ashish
Please suggest me the remedy for this. Regards, Anunay Ashish. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Unable to open the servlet.

2003-10-06 Thread anunay ashish
servlet-nameinvoker/servlet-name url-pattern/servlet/*/url-pattern /servlet-mapping and I have restarted my tomcat. But the same problem persists. The version of my tomcat is: jakarta-tomcat-4.1.27 Where can I be still going wrong? Regards, Anunay Ashish. - Original Message

Servlet and JSP.

2003-10-06 Thread anunay ashish
to doPost and make the corresponding change in form method to POST then the JSP throws an error of something related to my bean package. Is the problem related to GET/POST? or to the fact that both the packages are in the same folder? Regards, Anunay Ashish

Unable to access JSP page on local host

2003-10-04 Thread anunay ashish
not shown as a directory. Where am I doing wrong? What is the problem? Regards, Anunay Ashish. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]