Re: Easy Servlet Question

2005-10-04 Thread Partheeban Boopathy
What is u r declaration in web.xml file. If you give any alias name then you have to use that in u r URL. http://localhost:8080/app/anyaliasname. Parthi On 10/3/05, Andrew Pierce [EMAIL PROTECTED] wrote: Hello. I realize this is about the stupidest question I could ask but, I've scoured the

Re: Easy Servlet Question

2005-10-04 Thread Ben Souther
I have some demo apps on http://simple.souther.us that you can run. They're all war files so all you have to do is download to your webapps directory. SimpleServlet.war is your basic Hello, World app in a servlet. On Mon, 2005-10-03 at 21:49, Andrew Pierce wrote: Hello. I realize this is

Easy Servlet Question

2005-10-03 Thread Andrew Pierce
Hello. I realize this is about the stupidest question I could ask but, I've scoured the web, etc. and cannot get an easy example of making servlets actually work with Tomcat. I have written a few Hello World servlets and gotten them to work with Resin but I cannot get even the most simple

Re: Easy Servlet Question

2005-10-03 Thread Andrew Pierce
OK. This was a bit of a simple one. Found my answer with the help of a couple of folks on IRC. Please disregard. Andrew Pierce wrote: Hello. I realize this is about the stupidest question I could ask but, I've scoured the web, etc. and cannot get an easy example of making servlets actually

Re: Directory Creation in Servlet Question

2005-05-09 Thread Anto Paul
On 5/6/05, Joe Hertz [EMAIL PROTECTED] wrote: In Windows that's what it means too, but this isn't Windows or Linux...it's a JVM. Since it wasn't obvious from the code (MessageResources used in pathnames), let me put it another way. The code tries to create a directory /images/userid.

RE: Directory Creation in Servlet Question

2005-05-09 Thread Joe Hertz
If you want to get the absolute path of the application directory use ServletContext.getRealPath(/); and pass this to the file creating code. Yes, I could, but this again didn't explain the behavior which turned out to be: Try to create \images in a servlet running under Windows

RE: Directory Creation in Servlet Question

2005-05-09 Thread Joe Hertz
If you want to get the absolute path of the application directory use ServletContext.getRealPath(/); and pass this to the file creating code. Yes, I could, but this again didn't explain the behavior which turned out to be: Try to create \images in a servlet running under Windows

Re: Directory Creation in Servlet Question

2005-05-06 Thread Anto Paul
On 5/6/05, Joe Hertz [EMAIL PROTECTED] wrote: I have a Struts Servlet that executes the code snippet below to create a directory. Under Windows, this works great, the directory showing up under C:\TOMCAT4\WEBAPPS\ Under Suze Linux, it doesn't get created, and it's not a permission

RE: Directory Creation in Servlet Question

2005-05-06 Thread Joe Hertz
In Windows that's what it means too, but this isn't Windows or Linux...it's a JVM. Since it wasn't obvious from the code (MessageResources used in pathnames), let me put it another way. The code tries to create a directory /images/userid. The Servlet is apparently limited in the filepath it

Directory Creation in Servlet Question

2005-05-05 Thread Joe Hertz
I have a Struts Servlet that executes the code snippet below to create a directory. Under Windows, this works great, the directory showing up under C:\TOMCAT4\WEBAPPS\ Under Suze Linux, it doesn't get created, and it's not a permission problem. At least not under the webapps directory. The

Re: servlet question

2004-08-15 Thread Bill Barker
: servlet question Attached is the servlet, can you see any problems here? It compiles fine. David Short wrote: Are you running this through apache redirected to tomcat or straight from tomcat? Try loading the servlet at tomcat startup to see if the servlet is recognized. i.e

re: servlet question

2004-08-14 Thread Schalk Neethling
Hey all! I have a servlet called login. I have it mapped in my web.xml as follows: servlet servlet-namelogin/servlet-name servlet-classorg.volume4.authentication.login/servlet-class /servlet servlet-mapping servlet-namelogin/servlet-name url-pattern*.login/url-pattern /servlet-mapping

RE: servlet question

2004-08-14 Thread David Short
in apache wasn't right. However, if you're not using apache, I don't know what to say. The syntax looks correct. -Original Message- From: Schalk Neethling [mailto:[EMAIL PROTECTED] Sent: Saturday, August 14, 2004 1:05 PM To: Tomcat Users List Subject: re: servlet question Hey all! I have

Re: servlet question

2004-08-14 Thread Schalk Neethling
: servlet question Hey all! I have a servlet called login. I have it mapped in my web.xml as follows: servlet servlet-namelogin/servlet-name servlet-classorg.volume4.authentication.login/servlet-class /servlet servlet-mapping servlet-namelogin/servlet-name url-pattern*.login/url-pattern

Re: servlet question

2004-08-14 Thread Schalk Neethling
and discovered that my pattern in apache wasn't right. However, if you're not using apache, I don't know what to say. The syntax looks correct. -Original Message- From: Schalk Neethling [mailto:[EMAIL PROTECTED] Sent: Saturday, August 14, 2004 1:05 PM To: Tomcat Users List Subject: re: servlet

Re: servlet question

2004-08-14 Thread Schalk Neethling
14, 2004 1:05 PM To: Tomcat Users List Subject: re: servlet question Hey all! I have a servlet called login. I have it mapped in my web.xml as follows: servlet servlet-namelogin/servlet-name servlet-classorg.volume4.authentication.login/servlet-class /servlet servlet-mapping servlet

RE: servlet question

2004-08-14 Thread David Short
Does the servlet load at startup? -Original Message- From: Schalk Neethling [mailto:[EMAIL PROTECTED] Sent: Saturday, August 14, 2004 1:19 PM To: Tomcat Users List Subject: Re: servlet question Directly on Tomcat David Short wrote: Are you running this through apache redirected

RE: servlet question

2004-08-14 Thread David Short
Neethling [mailto:[EMAIL PROTECTED] Sent: Saturday, August 14, 2004 1:22 PM To: Tomcat Users List Subject: Re: servlet question Attached is the servlet, can you see any problems here? It compiles fine. David Short wrote: Are you running this through apache redirected to tomcat or straight from

Re: servlet question

2004-08-14 Thread Schalk Neethling
\localhost\context.xml file (tomcat 5). Which version of tomcat are you running and on what os? -Original Message- From: Schalk Neethling [mailto:[EMAIL PROTECTED] Sent: Saturday, August 14, 2004 1:22 PM To: Tomcat Users List Subject: Re: servlet question Attached is the servlet, can you see any

Re: servlet question

2004-08-14 Thread Schalk Neethling
running and on what os? -Original Message- From: Schalk Neethling [mailto:[EMAIL PROTECTED] Sent: Saturday, August 14, 2004 1:22 PM To: Tomcat Users List Subject: Re: servlet question Attached is the servlet, can you see any problems here? It compiles fine. David Short wrote: Are you running

RE: servlet question

2004-08-14 Thread David Short
Is your context path set up correctly in your servlet.xml or tomcat\conf\catalina\localhost\context.xml file for this webapp? -Original Message- From: Schalk Neethling [mailto:[EMAIL PROTECTED] Sent: Saturday, August 14, 2004 1:30 PM To: Tomcat Users List Subject: Re: servlet question I

Re: servlet question

2004-08-14 Thread Schalk Neethling
\localhost\context.xml file (tomcat 5). Which version of tomcat are you running and on what os? -Original Message- From: Schalk Neethling [mailto:[EMAIL PROTECTED] Sent: Saturday, August 14, 2004 1:22 PM To: Tomcat Users List Subject: Re: servlet question Attached is the servlet, can you see

RE: servlet question

2004-08-14 Thread David Short
Neethling [mailto:[EMAIL PROTECTED] Sent: Saturday, August 14, 2004 1:45 PM To: Tomcat Users List Subject: Re: servlet question In 'tomcat\conf\catalina\localhost\' there is no context.xml file but there is a manageit.xml file, which is the webapp in question. server.xml does not contain any

Re: servlet question

2004-08-14 Thread Ernesto Echeverría
? Regards. José Ernesto Echeverría -Original Message- From: Schalk Neethling [mailto:[EMAIL PROTECTED] Sent: Sábado, 14 de Agosto de 2004 02:22 p.m. To: Tomcat Users List Subject: [tomcat] Re: servlet question Attached is the servlet, can you see any problems here? It compiles fine. David

Easy /servlet question

2004-06-23 Thread e-Denton Subscriber
I have a very simple question, to which neither I nor my wife can find the answer. My servlet is in the WEB-INF/classes directory of my application directory. For some reason, I can't get this simple construction--it's in all the JSP books--to work:

RE: Easy /servlet question

2004-06-23 Thread Jérôme Duval
us what you wanted to know and detailed your situation enough. -Original Message- From: e-Denton Subscriber [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 4:29 PM To: [EMAIL PROTECTED] Subject: Easy /servlet question I have a very simple question, to which neither I nor my wife

RE: Easy /servlet question

2004-06-23 Thread Lee, Paul NYC
as of 2.3. Mapping it is recommended. Regards, Paul -Original Message- From: e-Denton Subscriber [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 4:29 PM To: [EMAIL PROTECTED] Subject: Easy /servlet question I have a very simple question, to which neither I nor my wife can find

Re: Easy /servlet question

2004-06-23 Thread e-Denton Subscriber
Thanks, Paul. Problem (mystery) solved. - Original Message - From: Lee, Paul NYC [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 4:51 PM Subject: RE: Easy /servlet question Tomcat 3.x allowed access to servlets under a common mapping

Re: A Servlet question

2004-06-14 Thread Emerson Cargnin
) is not available. if frame2.jsp makes the frame1.jsp submit to http://localhost:8008/testJSP;, it works. Look for further instruction. Thanks. -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 3:49 PM To: Tomcat Users List Subject: Re: A Servlet question

A Servlet question

2004-06-11 Thread Daxin Zuo
I use Apache 2.4.9, Tomcat 4.1.9. In a JSP, there there are three frames in a frameset. the script of each frame is JSP. Can a JSP in one frame submit to a Servlet? I did a test and failed. Please confirm or teach me how to do. Thanks

Re: A Servlet question

2004-06-11 Thread Emerson Cargnin
AFAIK, submiting from a frame is the same as a single page. What was the error msg you've got? Probably, it has some problem in the servlet mapping... did you try to load the jsp alone in the browser and submit it? if it doens't work, it doens't has to do with the frames at all. Emerson Daxin

RE: A Servlet question

2004-06-11 Thread Daxin Zuo
mapping? Thanks. -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 3:19 PM To: Tomcat Users List Subject: Re: A Servlet question AFAIK, submiting from a frame is the same as a single page. What was the error msg you've got? Probably, it has

Re: A Servlet question

2004-06-11 Thread Emerson Cargnin
the servlet name. Could you please give the example for the servlet name mapping? Thanks. -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 3:19 PM To: Tomcat Users List Subject: Re: A Servlet question AFAIK, submiting from a frame is the same as a single

RE: A Servlet question

2004-06-11 Thread Daxin Zuo
;, it works. Look for further instruction. Thanks. -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 3:49 PM To: Tomcat Users List Subject: Re: A Servlet question servlet servlet-namepartServlet/servlet-name servlet

Re: invoker servlet question

2004-03-05 Thread Reynir Þór Hübner
It works for me. To be able to answer you, it would be good to have error messages to build the answer on. this is the only thing that comes to mind. You have to have the full class name (with package name) to be able to call it, as :

Re: invoker servlet question

2004-03-05 Thread Harry Mantheakis
The Tomcat FAQ has a cautionary note about the invoker servlet: http://jakarta.apache.org/tomcat/faq/misc.html#evil call http://localhost:8080/web_app_context/servlet/servlet_name That *should* work, assuming servlet_name is the fully qualified name of the servlet you are trying to invoke.

invoker servlet question

2004-03-04 Thread John MccLain
I don't understand the invoker servlet. I understand that you have to uncomment it from the default web.xml file (did that). BUT, If I create a servlet and put it web_app_context/WEB-INF/classes, then call http://localhost:8080/web_app_context/servlet/servlet_name WHY does that not work?? I simply

Re: invoker servlet question

2004-03-04 Thread Ben Souther
Your servlets need to be in a package. Then you can call it like... http://localhost:8080/web_app_context/servlet/package_name/servlet_name that On Thursday 04 March 2004 07:13 pm, you wrote: I don't understand the invoker servlet. I understand that you have to uncomment it from the default

Stupid servlet question...

2003-12-19 Thread Mikael Aronsson
Hi ! I have an application scope servlet and it works fine, but I would like to run it all the time as soon as tomcat starts, not just after the first use, is this possible ? Mikael - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Stupid servlet question...

2003-12-19 Thread Antony Paul
-on-startup1/load-on-startup /servlet Antony Paul - Original Message - From: Mikael Aronsson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 19, 2003 5:41 PM Subject: Stupid servlet question... Hi ! I have an application scope servlet and it works fine

Re: Stupid servlet question...

2003-12-19 Thread Ben Souther
Add that to your servlet node in web.xml load-on-startup1/load-on-startup On Friday 19 December 2003 07:11 am, you wrote: Hi ! I have an application scope servlet and it works fine, but I would like to run it all the time as soon as tomcat starts, not just after the first use, is this

RE: Stupid servlet question...

2003-12-19 Thread Shapira, Yoav
, thanks for mirroring sourceforge ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Mikael Aronsson [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 7:11 AM To: Tomcat Users List Subject: Stupid servlet question... Hi ! I have an application scope servlet

RE: servlet question

2003-09-22 Thread Shapira, Yoav
, September 21, 2003 8:48 AM To: Tomcat Users List Subject: Re: servlet question In order to compile servlets with javac, you will need to include all of the jar files found in ...common/lib in your classpath. Tomcat will include them automatically when it starts up for running the servlets but you

Re: servlet question

2003-09-21 Thread Bruno Costacurta
It seems you miss J2EE. After installation (from www.java.sun.com/j2ee) you should find j2ee.jar (under $J2EE_HOME/lib/) which contain javax.servlet.* Hope it helps. On Saturday 20 September 2003 17:45, water autumn wrote: hello: My environment is follow: JDK :

Re: servlet question

2003-09-21 Thread BAO RuiXian
Bruno Costacurta wrote: It seems you miss J2EE. After installation (from www.java.sun.com/j2ee) you should find j2ee.jar (under $J2EE_HOME/lib/) which contain javax.servlet.* Hope it helps. Maybe. But, there should also be a servlet.jar in %TOMCATHOME%/common/lib directory. At least I have

Re: servlet question

2003-09-21 Thread Bruno Costacurta
Indeed. There is a servlet-api.jar under $TOMCAT_HOME/common/lib/ My Tomcat version is 5.0.0 On Sunday 21 September 2003 11:42, BAO RuiXian wrote: Bruno Costacurta wrote: It seems you miss J2EE. After installation (from www.java.sun.com/j2ee) you should find j2ee.jar (under

Re: servlet question

2003-09-21 Thread Ben Souther
In order to compile servlets with javac, you will need to include all of the jar files found in ...common/lib in your classpath. Tomcat will include them automatically when it starts up for running the servlets but you will need to do set up your environment manually in order to compile with

servlet question

2003-09-20 Thread water autumn
hello: My environment is follow: JDK : j2sdk_1.4.2_01 Web Server : TOMCAT 5.0.0 When i devloped servlet program, such as test.java, while i typed this line : import javax.servlet.*;, javac tell me the error: F:\JAVA\upload\AccUpload.java:8: package

OT: Download Servlet question

2003-07-31 Thread Atreya Basu
Hello, I have a slightly off topic question. I have a servlet returns a file to a client. It works for both MSIE and Mozilla but for Mozilla it adds, '.jsp' to the end of the filename. I set my headers: response.setContentType(application/octet-stream);

servlet question

2003-05-27 Thread Paul Hsu
Hi, I try to forward a HTTP request from my servlet. I am using the following code. RequestDispatcher rd = getServletContext().getRequestDispatcher(direct); rd.forward(request, response); I have no problem with code, but I have one issue is how can I change the request

Re: servlet question

2003-05-27 Thread Emerson Cargnin
for what you want to change the request method. I usally call doGet from doPost, so i do everything in the get method Paul Hsu wrote: Hi, I try to forward a HTTP request from my servlet. I am using the following code. RequestDispatcher rd =

RES: servlet question

2003-05-27 Thread Jose Euclides da Silva Junior - DATAPREVRJ
try doGet() instead of doPost(). good luck. -Mensagem original- De: Paul Hsu [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 27 de maio de 2003 19:27 Para: [EMAIL PROTECTED] Assunto: servlet question Hi, I try to forward a HTTP request from my servlet. I am using the following code

Re: servlet question

2003-05-27 Thread Paul Hsu
to servlet2 by using GET. How can I switch from POST to GET in servlet1. thanks - Original Message - From: Jose Euclides da Silva Junior - DATAPREVRJ [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 3:26 PM Subject: RES: servlet question try doGet() instead

RE: servlet question

2003-05-27 Thread Tam, Michael
Just a wild guess, how about servlet 1 doPost() call its own doGet() and redirect in the doGet body??? -Original Message- From: Paul Hsu [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 3:41 PM To: Tomcat Users List Subject: Re: servlet question Thank you for the help. I think you

Re: servlet question

2003-05-27 Thread Hassan
- From: Paul Hsu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 11:26 PM Subject: servlet question Hi, I try to forward a HTTP request from my servlet. I am using the following code. RequestDispatcher rd = getServletContext().getRequestDispatcher(direct

Re: servlet question

2003-05-27 Thread Paul Hsu
: Tuesday, May 27, 2003 3:45 PM Subject: Re: servlet question if your dispatched request is getting problems because of non compatible types of GET/Post methods at collaborating servlets then at the receiving end add a dummy method of (Get or Post), whichever is missing, and forward

Re: servlet question

2003-05-27 Thread Paul Hsu
: servlet question Just a wild guess, how about servlet 1 doPost() call its own doGet() and redirect in the doGet body??? -Original Message- From: Paul Hsu [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 3:41 PM To: Tomcat Users List Subject: Re: servlet question Thank you for the help

RE: servlet question

2003-05-27 Thread Tam, Michael
: servlet question My code is doing this way already, but it does not work.You think the method will change if I forward the POST request inside doGet(). - Original Message - From: Tam, Michael [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 3:44 PM

Re: servlet question

2003-05-27 Thread Paul Hsu
Michael, If I forward to a servlet, yes I can process the request in second servlet. - Original Message - From: Tam, Michael [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 4:13 PM Subject: RE: servlet question I am not possitive. I am

RE: servlet question

2003-05-27 Thread Tam, Michael
I wonder would this solve your problem?? -Original Message- From: Paul Hsu [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 4:32 PM To: Tomcat Users List Subject: Re: servlet question Michael, If I forward to a servlet, yes I can process the request in second servlet

Re: servlet question

2003-05-27 Thread Paul Yunusov
On Tuesday 27 May 2003 06:26 pm, Paul Hsu wrote: Hi, I try to forward a HTTP request from my servlet. I am using the following code. RequestDispatcher rd = getServletContext().getRequestDispatcher(direct); rd.forward(request, response); I have no problem with code,

Re: servlet question

2003-05-27 Thread Bill Barker
to GET in servlet1. thanks - Original Message - From: Jose Euclides da Silva Junior - DATAPREVRJ [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 3:26 PM Subject: RES: servlet question try doGet() instead of doPost(). good luck

Beginner Servlet Question

2003-03-09 Thread Wileynet
I've been racking my brain for days trying to figure out WHY I cannot get this servlet to work. Hopefully someone has an idea. Im running tomcat 4.1 on IIS . From what I've been reading and the directions I'm following from a WROX book is that you don’t need the web.xml file if your inside webapps

Re: Beginner Servlet Question

2003-03-09 Thread Jens Skripczynski
Wileynet: I've been racking my brain for days trying to figure out WHY I cannot get this servlet to work. Hopefully someone has an idea. Im running tomcat 4.1 on IIS . From what I've been reading and the directions I'm following from a WROX book is that you don’t need the web.xml file if your

RE: Beginner Servlet Question

2003-03-09 Thread jsp
This is what I have in my conf/web.xml regarding what you said. servlet servlet-nameinvoker/servlet-name servlet-classorg.apache.catalina.servlets.InvokerServlet/servlet-clas s - init-param param-namedebug/param-name param-value0/param-value /init-param

RE: Beginner Servlet Question

2003-03-09 Thread jsp
' Subject: RE: Beginner Servlet Question This is what I have in my conf/web.xml regarding what you said. servlet servlet-nameinvoker/servlet-name servlet-classorg.apache.catalina.servlets.InvokerServlet/servlet-clas s - init-param param-namedebug/param-name param-value0/param-value /init

one servlet question

2002-09-10 Thread Ashish Kulkarni
Hi, I have to write a servlet which will be a base servlet for all servlets in my applications. I have a class called GetConnection which gets the connection from servletcontext depending upon some parameters in the session, so i have go send servletcontext, and session to this class. now the

RE: one servlet question

2002-09-10 Thread Durham David Cntr 805CSS/SCBE
Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 2:57 PM To: Tomcat Users List Subject: one servlet question Hi, I have to write a servlet which will be a base servlet for all servlets in my applications. I have a class called GetConnection which gets the connection from

Quick Servlet Question

2001-11-29 Thread Brandon Cruz
Is there a way to use the request object or anything else to get the real path to a folder that the servlet resides in? I want it to return a string like... /usr/local/apache/vhosts/myhost.com/httpdocs Have been looking with no luck and know that someone on this list can tell me if this is

Re: Quick Servlet Question

2001-11-29 Thread Hong Jiang
Try this, File myFile = new File(yourServletName); String myPath = theFile.getAbsolutPath(); Hong Brandon Cruz wrote: Is there a way to use the request object or anything else to get the real path to a folder that the servlet resides in? I want it to return a string like...

RE: Quick Servlet Question

2001-11-29 Thread Brandon Cruz
Exactly, but that method seems to be deprecated. -Original Message- From: DONNIE HALE [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 3:26 PM To: [EMAIL PROTECTED] Subject: Re: Quick Servlet Question You mean like: HttpServletRequest.getRealPath(/); Donnie [EMAIL

RE: Quick Servlet Question

2001-11-29 Thread Carsten Lingemann
try javax.servlet.ServletContext.getRealPath(/) Carsten -Original Message- From: Brandon Cruz [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 4:32 PM To: Tomcat Users List Subject: RE: Quick Servlet Question Exactly, but that method seems to be deprecated

RE: Quick Servlet Question

2001-11-29 Thread Ryan Lubke
: Re: Quick Servlet Question You mean like: HttpServletRequest.getRealPath(/); Donnie [EMAIL PROTECTED] 11/29/01 04:06PM Is there a way to use the request object or anything else to get the real path to a folder that the servlet resides in? I want it to return a string like

Re: Quick Servlet Question

2001-11-29 Thread Bo Xu
- Original Message - From: Brandon Cruz [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, November 29, 2001 4:06 PM Subject: Quick Servlet Question Is there a way to use the request object or anything else to get the real path to a folder that the servlet

Basic servlet question

2001-11-29 Thread Hawkins, Keith (Keith)
How many instances of a given servlet class will be loaded by Tomcat. Just 1 or can many instances be loaded? What determines this? Thanks, Keith

Re: Quick Servlet Question

2001-11-29 Thread Matt Egyhazy
ive found the ResourceBundle class to be easier to use than an istream approach for getting properties. matt - Original Message - From: Bo Xu [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, November 29, 2001 5:28 PM Subject: Re: Quick Servlet Question

Re: Basic servlet question

2001-11-29 Thread Bo Xu
- Original Message - From: Hawkins, Keith (Keith) [EMAIL PROTECTED] To: tomcat-user [EMAIL PROTECTED] Sent: Thursday, November 29, 2001 5:54 PM Subject: Basic servlet question How many instances of a given servlet class will be loaded by Tomcat. Just 1 or can many instances be loaded

default servlet question

2001-04-30 Thread Andy Nuss
Hi, Is it easy with Tomcat to specify that I want a single servlet to serve EVERY request for a URI? I.e. what happens if I have a DefaultServlet which acts as a router for requests, and I have a few other servlets which serve their own requests, can I ensure that all requests not meant for

RE: default servlet question

2001-04-30 Thread Saurabh Shukla
not for other requests which r coming to tomcat. hth, Shuklix -Original Message- From: Andy Nuss [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 5:37 AM To: '[EMAIL PROTECTED]' Subject: default servlet question Hi, Is it easy with Tomcat to specify that I want a single servlet

Servlet question

2001-03-23 Thread c cw288
Hi, When a client make a request to a server and a servlet get call, the servlet then create an instance for that client. My question is, how many clients can a servlet handle. Thanks, Kathy. _ Get your FREE download of MSN

Re: Servlet question

2001-03-23 Thread Craig R. McClanahan
On Fri, 23 Mar 2001, c cw288 wrote: Hi, When a client make a request to a server and a servlet get call, the servlet then create an instance for that client. That is not what really happens. Instead, a single instance of your servlet is called multiple times simultaneously, on multiple

Newbie Servlet Question

2001-02-28 Thread Sean McTigue
I am currently running iTools on MacOSX with the iTools version of Tomcat. When I place a .jsp file in /webapps/ROOT and place my bean classes in /webapps/ROOT/WEB-INF/classes, I can run the jsp from //localhost/.jsp. Works great, however, I cannot figure out how to call a servlet via URL

Stupid servlet question of the day

2001-02-06 Thread Bolt, Dave
Title: Stupid servlet question of the day This is really a rather embarrasing question to ask. I have a webapp that has two directories of JSPs (think of it as a regular user set of JSPs and an administrator set) \forums --- This is the context root \forums\admin --- This is a second