Re: session tracking in a context that contains JSP and servlets

2005-09-22 Thread Leon Rosenberg
On 9/22/05, Mark [EMAIL PROTECTED] wrote: I would think that this is possible. I have been writing servlets for over a year, but have not written a single line of JSP. Technically speaking each JSP is actually a servlet... more or less. Everything that works in the server works in the jsp

session tracking in a context that contains JSP and servlets

2005-09-21 Thread Mark
I want to create a webapp that will contain both servlets and JSP. I will be using a login page to authenticate users. I will probably use one of the Tomcat supported authentication modules. I am wondering if it is possible for tomcat to properly manage session information when going between

Re: session tracking in a context that contains JSP and servlets

2005-09-21 Thread David Wall
Mark wrote: I want to create a webapp that will contain both servlets and JSP. I will be using a login page to authenticate users. I will probably use one of the Tomcat supported authentication modules. I am wondering if it is possible for tomcat to properly manage session information when

Re: session tracking in a context that contains JSP and servlets

2005-09-21 Thread Mark
I would think that this is possible. I have been writing servlets for over a year, but have not written a single line of JSP. On 9/21/05, David Wall [EMAIL PROTECTED] wrote: Mark wrote: I want to create a webapp that will contain both servlets and JSP. I will be using a login page

Re: Need Help Programmatically Loading Servlets in StandardContext subclass

2005-08-23 Thread Philip Weaver
I give up. MVC baby! On Aug 21, 2005, at 7:24 PM, Philip Weaver wrote: How can I programmatically load servlets and servlet mappings in Tomcat? I'm using Tomcat 5.0.28. I'm trying to extend StandardContext to automatically map/assign a batch of servlets from a specified jar at startup

Need Help Programmatically Loading Servlets in StandardContext subclass

2005-08-21 Thread Philip Weaver
How can I programmatically load servlets and servlet mappings in Tomcat? I'm using Tomcat 5.0.28. I'm trying to extend StandardContext to automatically map/assign a batch of servlets from a specified jar at startup. I'm having trouble. As I try to add these servlets programmatically

Same servlets in 2 contexts. Update 1 of them, not reloaded on context reload

2005-08-10 Thread Martyn Hiemstra
Hi All, I am having a problem with Tomcat. I have a website application that I use over 2 aplications. 1 context I use for testing and the other is meant for vistors (live version). This means that the same application is running over 2 contexts . When I update a servlet in the test context and

[Jasper/Orion] compile JSP servlets

2005-07-21 Thread Romain Thouvenin
I'm trying to write an ant task to pre-compile JSP pages, but I have the following problem. Here is a piece of page : # form:input type=hidden name=idy value=%= itlBean.getIdy() %/ (itlBean.getIdy() returns a Long.) Then I try to transform the JSP page into a servlet with the jasper task,

HowTo Change default Pool MaxSize for SingleThreadModel Servlets

2005-06-16 Thread Martín Cabrera
Hi all; I have a servlet that implements the SingleThreadModel interface. I have noticed that, under heavy weight, tomcat is restricting the servlet pool size to 22 instances. My question is: How can I do to change this limit? Regards. Martn. -- No virus found in this outgoing message. Checked

HowTo Change Pool MaxSize for SingleThreadModel Servlets

2005-06-14 Thread Martín Cabrera
Hi all; How can I do to change the default pool size for SingleThreadModel servlets? Regards. Martín. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 267.6.6 - Release Date: 08/06/2005

Re: HowTo Change Pool MaxSize for SingleThreadModel Servlets

2005-06-14 Thread Pawan Choudhary
are the different extension point to Tomcat. Thanks all, Pawan On 6/14/05, Martín Cabrera [EMAIL PROTECTED] wrote: Hi all; How can I do to change the default pool size for SingleThreadModel servlets? Regards. Martín. -- No virus found in this outgoing message. Checked by AVG Anti

RE: HowTo Change Pool MaxSize for SingleThreadModel Servlets

2005-06-14 Thread Martín Cabrera
for SingleThreadModel Servlets Hi all What are the different extension mechanism for Tomcat or in other words how do we extend Tomcat. Can we write some plug-in in Tomcat environment. From what I have gathered till now it looks like Tomcat's server.xml file can be customized for className attibute etc. Apart from

Re: HowTo Change Pool MaxSize for SingleThreadModel Servlets

2005-06-14 Thread 孙业海
Mart?_Cabrera, I think you can use singlton pattern! === 2005-06-14 16:48:00 === Hi all; How can I do to change the default pool size for SingleThreadModel servlets? Regards. Mart?. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308

Re: HowTo Change Pool MaxSize for SingleThreadModel Servlets

2005-06-14 Thread 孙业海
Mart?_Cabrera, I think you can use singlton pattern! === 2005-06-14 16:48:00 === Hi all; How can I do to change the default pool size for SingleThreadModel servlets? Regards. Mart?. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308

eToken servlets

2005-05-28 Thread Carol Chamblas
hi i have a remote server (linux) that contains servlets wich i want to use to interact with an USB Aladdin eToken that the user connect in his local machine (windows) to sing XML documents. in the server i put (jdk1.5.0_03/jre/lib/security/java.security file): security.provider.7

log files with servlets ?

2005-05-25 Thread Jean-Luc Douville
I am testing MIDlets connection to servlet. I am using Netbeans 4.1 with mobility pack, Tomcat bundled with NB (5.5.7) or external Tomcat (5.028). I have added an EchoServlet under TomcatServletExample (Servlet v 2.3). My EchoServlet can respond to POST and GET methods. It is OK when i send

RE: log files with servlets ?

2005-05-25 Thread Steve Kirk
(), that is most likely your problem. -Original Message- From: Jean-Luc Douville [mailto:[EMAIL PROTECTED] Sent: Wednesday 25 May 2005 09:53 To: tomcat-user@jakarta.apache.org Subject: log files with servlets ? I am testing MIDlets connection to servlet. I am using Netbeans 4.1

RE: log files with servlets ?

2005-05-25 Thread rusty+tomcat
If you don't want to mess with your server.xml file, or you're a mere user and can't, you can do it easily with Apache log4j. Create the following file, log4j.properties and put it in your WEB-INF/classes directory. This will create a log file in /var/tmp named logtags.log. The docs for log4j

Want to run servlets from other directory than webapps

2005-05-11 Thread Raueber Hotzenplotz
Hi I've got Tomcat-5.0.27-r5 installed. Running servlets (localhost) located in /opt/tomcat5/webapps/ROOT/WEB_INF/classes is no problem. What do I need to do to run servlets from my user directory (e.g. /home/user/myapp)? I've tried to use http://localhost:8080/admin to add an additional

Re: Want to run servlets from other directory than webapps

2005-05-11 Thread Oto Bossert
Yoo, Do you use tomcat stand-alone? Or with Apache Putting a context in server.xml should work, but this is not the prevered way in tomcat 5! Greetings O. On 5/11/05, Raueber Hotzenplotz [EMAIL PROTECTED] wrote: Hi I've got Tomcat-5.0.27-r5 installed. Running servlets (localhost

Re: Want to run servlets from other directory than webapps

2005-05-11 Thread Patrick Thomas
installed. Running servlets (localhost) located in /opt/tomcat5/webapps/ROOT/WEB_INF/classes is no problem. What do I need to do to run servlets from my user directory (e.g. /home/user/myapp)? I've tried to use http://localhost:8080/admin to add an additional context, setting path

Re: Want to run servlets from other directory than webapps

2005-05-11 Thread Raueber Hotzenplotz
, but this is not the prevered way in tomcat 5! Greetings O. On 5/11/05, Raueber Hotzenplotz [EMAIL PROTECTED] wrote: Hi I've got Tomcat-5.0.27-r5 installed. Running servlets (localhost) located in /opt/tomcat5/webapps/ROOT/WEB_INF/classes is no problem. What do I need to do to run

Re: Want to run servlets from other directory than webapps

2005-05-11 Thread Raueber Hotzenplotz
utility to tweak it. Cheers, PST On 5/11/05, Raueber Hotzenplotz [EMAIL PROTECTED] wrote: Hi I've got Tomcat-5.0.27-r5 installed. Running servlets (localhost) located in /opt/tomcat5/webapps/ROOT/WEB_INF/classes is no problem. What do I need to do to run servlets from my user

Problems with servlets

2005-04-21 Thread Adriano Monteiro
Hi guys... I was trying to run an application, and I've got the following message: 21/04/2005 10:06:33 org.apache.catalina.core.ApplicationContext log INFO: Marking servlet Auth as unavailable 21/04/2005 10:06:33 org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Allocate exception for

RE: Problems with servlets

2005-04-21 Thread Molden, Robert \(GE Infrastructure\)
public class Auth extends HttpServlet -Original Message- From: Adriano Monteiro [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 9:31 AM To: tomcat-user@jakarta.apache.org Subject: Problems with servlets Hi guys... I was trying to run an application, and I've got

Re: Problems with servlets

2005-04-21 Thread Adriano Monteiro
-Original Message- From: Adriano Monteiro [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 9:31 AM To: tomcat-user@jakarta.apache.org Subject: Problems with servlets Hi guys... I was trying to run an application, and I've got the following message: 21/04/2005 10:06:33

Many hosts sharing servlets

2005-04-20 Thread Bill Sutton
I am moving from jserv to tomcat. I have 100+ servlets and classes that I want to be available to up to 100 virtual hosts. The server I am moving to runs RHE3 with Apache2, Plesk and Tomcat4. Plesk only supports the mod_webapp connector. I can't find much info on mod_webapp but it seems to me

Re: Many hosts sharing servlets

2005-04-20 Thread QM
Please post a *new* message when writing to the list. Replying to an old (unrelated) message confuses thread-aware mailers, which makes your question harder to find (and thus answer). On Wed, Apr 20, 2005 at 05:06:00PM +1000, Bill Sutton wrote: : I have 100+ servlets and classes that I want

Re: Many hosts sharing servlets

2005-04-20 Thread Bill Sutton
tomcat-user@jakarta.apache.org Sent: Wednesday, April 20, 2005 8:48 PM Subject: Re: Many hosts sharing servlets On Wed, Apr 20, 2005 at 05:06:00PM +1000, Bill Sutton wrote: : I have 100+ servlets and classes that I want to be available to up to 100 : virtual hosts. : So I have tried to put all

Anyone have java beans and servlets working in user directories?

2005-04-18 Thread Steve Ochani
Hello all, I'm using tomcat 5.5.7 and have configured userconfig in server.xml to look in user's public_html subdir for jsps etc. Jsp files work in user directories but java beans and servlets do not. Does anyone have tomcat working to beans and servlets also work in user's public_html

Re: Anyone have java beans and servlets working in user directories?

2005-04-18 Thread Woodchuck
hihi, is this what you're trying to achieve? -have all servlets deployed under Tomcat's webapp directory like usual -but then place modified/customized servlets to user's directories whenever desired (and this one overrides the webapp one) woodchuck --- Steve Ochani [EMAIL PROTECTED] wrote

Re: Anyone have java beans and servlets working in user directories?

2005-04-18 Thread Steve Ochani
Hi, On 18 Apr 2005 at 14:19, Woodchuck wrote: hihi, is this what you're trying to achieve? -have all servlets deployed under Tomcat's webapp directory like usual -but then place modified/customized servlets to user's directories whenever desired (and this one overrides the webapp one

Java Beans and servlets not working in user directories with UserConfig, jsp is

2005-04-12 Thread Steve Ochani
directories are working but servlets and beans that are being used from jsps are not. For example I have a directory /jakarta-tomcat-5.5.7/webapps/steve in it i have Test.jsp and a subdir WEB-INF in that I have a subdir classes and in that I have a sub directory called blah and in that subdir I have

Problem running Servlets in tomcat 5.0

2005-03-17 Thread samsher khan
Hi I am able to run the jsp in the tomcat 5.0 but when I try to run a war file containing servlets instead of executing it the IE try's to download it as zip file. I have web.xml file web-inf folder also.If I just give only the servlet path in the IE then the server say requested resource

security in servlets (need an advice)

2005-02-17 Thread Mark
Hi, I have security roles defined in DB and would like to control servlet access based on userId(user logged in im my application) and allowed actions (stored in DB and can be changed anytime) I was thinking about loading allowed action ( allowed servlet names) in to the session and check in

How to run Eclipse Debugger With Servlets in Tomcat 5.5?

2005-02-17 Thread Siegfried Heintze
debug my servlets in Tomcat 5.5? Thanks, Siegfried - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to run Eclipse Debugger With Servlets in Tomcat 5.5?

2005-02-17 Thread Jason Bainbridge
installation like startup.bat and shutdown.bat. Where are some updated instructions so I can debug my servlets in Tomcat 5.5? Just download the .zip file instead of the .exe and you'll get the batch files back, I'm not sure why they aren't in the install set, that might be explained somewhere but I

Re: How to run Eclipse Debugger With Servlets in Tomcat 5.5?

2005-02-17 Thread Jens Joachim
Users List tomcat-user@jakarta.apache.org Sent: Thursday, February 17, 2005 5:59 PM Subject: Re: How to run Eclipse Debugger With Servlets in Tomcat 5.5? On Thu, 17 Feb 2005 09:36:31 -0700, Siegfried Heintze [EMAIL PROTECTED] wrote: The Java's Developers Guide to Eclipse contains a nice

sessions do not work from homedirs and servlets do not work through apache

2005-01-13 Thread Casas, Claudia
someone tell me what is going on. My real project uses jsp session and it is not working because all the values are reading null!! 2) the servlets work from tomcat port 8080 through my homedirs, but through apache. JSP work through apache though. Example) The following works fine: http

Re: sessions do not work from homedirs and servlets do not work through apache

2005-01-13 Thread Dennis Payne
all the values are reading null!! 2) the servlets work from tomcat port 8080 through my homedirs, but through apache. JSP work through apache though. Example) The following works fine: http://myserver:8080/~ccasas/servlet/hello http://sp:8080/~ccasas/servlet/hello but I cannot make

RE: sessions do not work from homedirs and servlets do notwork through apache

2005-01-13 Thread Casas, Claudia
homedirs and servlets do notwork through apache My implementation is not as complex as yours, so my suggestion may not work for you... We always use the request object to get access to the session both in the servlet and the JSP (We don't use any specialized JSP tags to do this. We always use

RE: sessions do not work from homedirs and servlets do notwork through apache

2005-01-13 Thread Dennis Payne
To: tomcat-user@jakarta.apache.org Subject: Re: sessions do not work from homedirs and servlets do notwork through apache My implementation is not as complex as yours, so my suggestion may not work for you... We always use the request object to get access to the session both in the servlet

Re: How to combine normal servlets and struts inside Tomcat application

2005-01-06 Thread QM
On Wed, Jan 05, 2005 at 07:36:16PM -0800, Manisha Sathe wrote: : I have 2 sets of programms running on Tomcat 5.0 : 1)one set is using normal servlet program architecture.2)another is using struts technology. This together makes whole application. Eventually the whole application will be in

RE: How to combine normal servlets and struts inside Tomcat application

2005-01-06 Thread Allistair Crossley
This will work fine. You can still define normal servlets and struts actions in the same web.xml. Remember that Struts only handles servlets that match a mapping, typically like *.do whilst your other servlets will have their own mapping. They can all co-exist happily. Allistair

How to combine normal servlets and struts inside Tomcat application

2005-01-05 Thread Manisha Sathe
I have 2 sets of programms running on Tomcat 5.0 1)one set is using normal servlet program architecture.2)another is using struts technology. This together makes whole application. Eventually the whole application will be in struts, but currently i have half in servlet and half in struts.

Re: Having a problem when accessing servlets.

2004-12-28 Thread Dennis Payne
. (something to look at for the developers?) [EMAIL PROTECTED] 12-27-2004 02:01 I am having a problem when accessing servlets in all applications from My tomcat webserver. It seems like the Tomcat is having a problem when executing the servlets. Before this all the applications worked but I realize after

Having a problem when accessing servlets.

2004-12-27 Thread alis asma alias
I am having a problem when accessing servlets in all applications from My tomcat webserver. It seems like the Tomcat is having a problem when executing the servlets. Before this all the applications worked but I realize after I got comment from one of the users this morning , it does not work

RE: prevent multiple form posts using only servlets

2004-12-12 Thread Dale, Matt
To: Tomcat User List Subject: prevent multiple form posts using only servlets Is there a way to prevent multiple form posts from the same page/user/session using only servlets? I have a page where users can upload files, but I do not want them to keep smashing the upload button if their files

prevent multiple form posts using only servlets

2004-12-09 Thread Elihu Smails
Is there a way to prevent multiple form posts from the same page/user/session using only servlets? I have a page where users can upload files, but I do not want them to keep smashing the upload button if their files are large, and the user becomes impatient. thank you

Re: prevent multiple form posts using only servlets

2004-12-09 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Elihu Smails wrote: | Is there a way to prevent multiple form posts from the | same page/user/session using only servlets? I have a | page where users can upload files, but I do not want | them to keep smashing the upload button if their files

Re: prevent multiple form posts using only servlets

2004-12-09 Thread Roberto Cosenza
have support for it (www.springframework.com). /Roberto Elihu Smails wrote: Is there a way to prevent multiple form posts from the same page/user/session using only servlets? I have a page where users can upload files, but I do not want them to keep smashing the upload button if their files

Re: prevent multiple form posts using only servlets

2004-12-09 Thread Mark
posts from the same page/user/session using only servlets? I have a page where users can upload files, but I do not want them to keep smashing the upload button if their files are large, and the user becomes impatient. thank you. __ Do

[OT] Re: prevent multiple form posts using only servlets

2004-12-09 Thread Dennis Payne
Use javascript to disable or remove the button. [EMAIL PROTECTED] 12-09-2004 12:12 Is there a way to prevent multiple form posts from the same page/user/session using only servlets? I have a page where users can upload files, but I do not want them to keep smashing the upload button

Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Michael McQuade
Hi folks, I pray someone can tell me something here. Im writing an application in Servlets using Tomcat Heres my scenario. I display a User Login screen, ID and Password on an HTML form, user enters data, the submit button executes the program to verify the Users information

RE: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Wick, Daniel
Mike, What is your question? We are happy to help, but need some detail. --Dan -Original Message- From: Michael McQuade [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 9:31 AM To: Tomcat Users List Subject: Tomcat and Servlets - DESPERATE for help Hi folks, I

AW: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Timo . Roessner
McQuade [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 24. November 2004 16:31 An: Tomcat Users List Betreff: Tomcat and Servlets - DESPERATE for help Hi folks, I pray someone can tell me something here. Im writing an application in Servlets using Tomcat Heres my scenario. I display

RE: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Shiva.Devaguptapu
I can be helpful, if u can send me the files related to whatever u r saying. -Original Message- From: Michael McQuade [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 9:01 PM To: Tomcat Users List Subject: Tomcat and Servlets - DESPERATE for help Hi folks, I pray someone

Re: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Dave Robbins
kinda sounds like your sending malformed html to the browser do the view source thing in the browser and see what you're sending it Hi folks, I pray someone can tell me something here. Im writing an application in Servlets using Tomcat Heres my scenario. I display a User Login

[OT] Re: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Ben Souther
On Wed, 2004-11-24 at 10:31, Michael McQuade wrote: Hi folks, I pray someone can tell me something here. Im writing an application in Servlets using Tomcat Heres my scenario. I display a User Login screen, ID and Password on an HTML form, user enters data, the submit

Re: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Michael McQuade
lol, I put my question in my Request Dan,did u not see it - Original Message - From: Wick, Daniel [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 10:55 AM Subject: RE: Tomcat and Servlets - DESPERATE for help Mike, What

[OT] RE: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Allistair Crossley
: Michael McQuade [mailto:[EMAIL PROTECTED] Sent: 24 November 2004 15:31 To: Tomcat Users List Subject: Tomcat and Servlets - DESPERATE for help Hi folks, I pray someone can tell me something here. Im writing an application in Servlets using Tomcat Heres my scenario. I

Re: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread sven morales
sits between your browser and your Tomcat so that you can monitor what is being sent by your browser and the response from the Tomcat. Good luck. --- Michael McQuade [EMAIL PROTECTED] wrote: Hi folks, I pray someone can tell me something here. Im writing an application in Servlets using

Re: [OT] Re: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Michael McQuade
] Sent: Wednesday, November 24, 2004 11:08 AM Subject: [OT] Re: Tomcat and Servlets - DESPERATE for help Hi, This is not a Tomcat specific question so I am marking the subject [OT]. You may find more enthusiastic help in a JSP/Servlet list (a Google search will yield plenty of them). Have

Re: [OT] Re: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Ben Souther
On Wed, 2004-11-24 at 11:26, Michael McQuade wrote: Ben, I think it is a Tomcat specific subject, Im just not sure what to do about it, Im thinking theres a variable in Tomcat maybe needs to be set, or session refreshed, or something.. If you want to paste the relevant part of your

Re: [OT] Re: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Dennis Payne
If you are using a single servlet to determine the course of action and those actions are not mutually exclusive (like using a switch or if...else if structure) then something like this could definitely happen. Check your code... I am sure it is allowing two things to happen at once because it

Servlets and debugging

2004-11-23 Thread Richard Lewis
How do people who know what they're doing go about debugging servlets? Thanks in advance, Richard -- Richard Lewis [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Servlets and debugging

2004-11-23 Thread Dave Robbins
, restart Tomcat (which takes several minutes) and read the Tomcat logs to find out whats gone wrong! Nightmare! :-o How do people who know what they're doing go about debugging servlets? Thanks in advance, Richard -- Richard Lewis [EMAIL PROTECTED

Re: Servlets and debugging

2004-11-23 Thread Ben Souther
servlet-mapping servlet-nameinvoker/servlet-name url-pattern/servlet/*/url-pattern /servlet-mapping (No one had ever said before about the servlet-mapping directive.) There are good reasons why the invoker servlet has been removed (commented out) of the default web.xml in Tomcat.

Re: Servlets and debugging

2004-11-23 Thread sven morales
The IDE suggested by others may already have this features, but Apache Axis tcpmon is a neat tool to have if you do not use IDE's. It allows you to see what is being sent to a servlet running on Tomcat and vice versa, the response coming out. Easy to use, as it is an applet and run like so:

RE: Servlets and debugging

2004-11-23 Thread Shapira, Yoav
the Tomcat logs to find out whats gone wrong! The logs are useful no matter what IDE or debugging approach you're using. Get proficient at analyzing them. You will always have to recompile a class after making changes to it, that's nothing specific to Tomcat or servlets. Yoav This e-mail

RE: Servlets and debugging

2004-11-23 Thread Benson Margulies
Two thoughts: 1: startup time can be further shrunk by lightly editing the config to remove the default load balancing app and the like. 2: I do all this using eclipse + MyEclipse, and I've found it quite satisfactory. - To

Please Help: Using SSL in servlets

2004-11-21 Thread Michal Ziv
Hi, I'm a newbie to ssl, here is the scenario: server: linux redhat 8 tomcat 4.1.29 axis 1.1 webservice in java server.keystore client: mandrake 9.2 tomcat 4.1.29 servlet client.keystore when using webservice from command line it works perfectly, but when running the same code from a servlet,

Re: Please Help: Using SSL in servlets

2004-11-21 Thread QM
On Sun, Nov 21, 2004 at 10:31:14AM +0200, Michal Ziv wrote: : when using webservice from command line it works perfectly, but when running : the same code from a servlet, it doesn't find truststore. : in both cases the full path is given, all jars are accessible to code. : can anyone please help?

Tomcat 5.5.4 dont see Servlets in my app

2004-11-17 Thread José Luis
Hi all, I have one web application with some servlets running in Tomcat 4.1.18 and now i would like to run it in tomcat 5.5.4. I have installed tomcat 5.5.4 and runs without problems. Deploy all application including my application. But when i try to request my servlets, tomcat fail

RE: Tomcat 5.5.4 dont see Servlets in my app

2004-11-17 Thread Allistair Crossley
: 17 November 2004 10:14 To: Tomcat Group Subject: Tomcat 5.5.4 dont see Servlets in my app Hi all, I have one web application with some servlets running in Tomcat 4.1.18 and now i would like to run it in tomcat 5.5.4. I have installed tomcat 5.5.4 and runs without problems

Re: Tomcat 5.5.4 dont see Servlets in my app

2004-11-17 Thread birendar . waldiya
PROTECTED] cc Subject Tomcat 5.5.4 dont see Servlets in my app Hi all, I have one web application with some servlets running in Tomcat 4.1.18 and now i would like to run it in tomcat 5.5.4. I have installed tomcat 5.5.4 and runs without problems. Deploy all application

RE: Tomcat 5.5.4 dont see Servlets in my app

2004-11-17 Thread José Luis
that Servlet is not available. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 17 de noviembre de 2004 11:27 Para: Tomcat Users List Asunto: Re: Tomcat 5.5.4 dont see Servlets in my app Have you registered the servlet correctly in web.xml? Birendar

RE: Tomcat 5.5.4 dont see Servlets in my app

2004-11-17 Thread Allistair Crossley
I think your web.xml is not configured correctly for Tomcat 5. Can you post your web.xml? -Original Message- From: José Luis [mailto:[EMAIL PROTECTED] Sent: 17 November 2004 11:12 To: Tomcat Users List Subject: RE: Tomcat 5.5.4 dont see Servlets in my app Hi all

Re: Tomcat 5.5.4 dont see Servlets in my app

2004-11-17 Thread Remy Maucherat
On Wed, 17 Nov 2004 12:11:37 +0100, José Luis [EMAIL PROTECTED] wrote: Hi all, this is the exception javax.servlet.ServletException: La Clase nucleo.PagoVodafone no es un Servlet Be careful to not have anything containing the servlet JSP classes in your classpath, or in your webapp

RE: Tomcat 5.5.4 dont see Servlets in my app

2004-11-17 Thread José Luis
) | + --- (site i) - nucleo is the package who have servlets of application. - javax are the servlet classes. - com are the the jdb classes of microsoft for db connection. - (package i) is one of my own utilities

RE: Tomcat 5.5.4 dont see Servlets in my app

2004-11-17 Thread Shapira, Yoav
[mailto:[EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 8:42 AM To: Tomcat Users List; Remy Maucherat Subject: RE: Tomcat 5.5.4 dont see Servlets in my app Hi, perhaps the problem is my application structure. I show us it: portal + --- JSP --- ... | | + --- WEB

RE: Tomcat 5.5.4 dont see Servlets in my app

2004-11-17 Thread Allistair Crossley
and be located in your web application WEB-INF/lib location NOT as separate classes. I would lookup jTDS as an alternative to M$'s drivers anyway - far quicker and documented. Finally, you ought really only see /yourwebapp + jsp + WEB-INF + classes + com (include servlets in your com

RE: Tomcat 5.5.4 dont see Servlets in my app

2004-11-17 Thread José Luis
Servlets in my app Hi, Javax.servlet classes under WEB-INF didn't work in 4.x, 5.0, and won't work in 5.5. Drop those. Stick to a standard webapp structure anyways (which yours is very close to, except for javax and site I). Yoav Shapira http://www.yoavshapira.com -Original Message

Re: mod_jk2 - problem with servlets

2004-11-04 Thread tomcat
Nevermind I figured it out. Just needed to add this in the Host in conf/server.xml: Context path= docBase= debug=1/ Doesn't make a lot of sense but it did the trick. John Hello Im running tomcat5 with mod_jk2, apache 2 and RH FC01 Im having trouble getting servlets to work under mod_jk2

mod_jk2 - problem with servlets

2004-11-03 Thread tomcat
Hello Im running tomcat5 with mod_jk2, apache 2 and RH FC01 Im having trouble getting servlets to work under mod_jk2 and shared instance for virtual hosting. It works fine with preview link context for the site: http://ip:8080/domain.com/serlvet/helloworld but with domain.com/servlet/helloworld

Cant get servlets to run in shared instance through mod_jk2

2004-11-02 Thread tomcat
Hello Im running tomcat5 with mod_jk2, apache 2 and RH FC01 Im not a programmer, just someone who manages tomcat. But anyway, Im having trouble getting servlets to work under mod_jk2 and shared instance. It works fine with preview link context for the site: http://ip:8080/domain.com

Re: Mapping Servlets

2004-10-31 Thread vimal krishna
WEB-INF class(here your class file(servlets) has to be present in order to be loaded; you can keep HelloWWW.java here but HelloWWW.class has to be there) lib what you are missing is compilation and adding serlets tag in web.xml and sme changes in server.xml it is worth

Mapping Servlets

2004-10-30 Thread Vaishali Bhirud
I am using Tomcat 5 Also I have created ant utility to build my servlets and jsp pages. I have a servlet named HelloWWW which is under src directory of (src created by ant) src/vjsp/HelloWWW.java This servlet I am mapping in web.xml file as servlet servlet-nameHelloWWW/servlet-name

Re: Mapping Servlets

2004-10-30 Thread QM
than mapping servlets. You don't mention having compiled the servlet class, which is required for Tomcat to load it. Out of the box, the container won't do that for you. (It will only compile JSPs, not raw Java .class files.) -QM -- software -- http://www.brandxdev.net tech news -- http

Re: Mapping Servlets

2004-10-30 Thread Vaishali Bhirud
ant builds servlets and jsps everything. That is why I have mentioned that I am using ant to build my application. Thanks, : I have a servlet named HelloWWW which is under src directory of : (src created by ant) : : src/vjsp/HelloWWW.java : [snip: web.xml listing] : : resource /vjsp

RE: Security of Servlets

2004-10-01 Thread Pawson, David
-Original Message- From: QM Executables and other server-side dynamic content( CGI, servlets/JSPs, PHP, etc) permit end-users to interact with the server in a different way: they must process user input, and in doing so, watch out for malformed values

RE: Security of Servlets

2004-10-01 Thread Shapira, Yoav
Hi, I'm using mySQL for login name, password validation. This from a standard html static page. I can't see how I can get to this data to validate it? Is it possible? On a standard HTML static page you can use JavaScript for form field validation and not even submit the form if the inputs

RE: Security of Servlets

2004-10-01 Thread Pawson, David
-Original Message- From: Shapira, Yoav I'm using mySQL for login name, password validation. This from a standard html static page. I can't see how I can get to this data to validate it? Is it possible? On a standard HTML static page you can use

RE: Security of Servlets

2004-10-01 Thread Shapira, Yoav
Hi, form method=POST action=j_security_check name=login Which I'm guessing is picked up by Tomcat, though I don't know how to 'add checking to it'? Any advice appreciated, since I'd prefer java to jscript! If you're trusting the container, trust it ;) You're depending on the container to auth

Security of Servlets

2004-09-30 Thread Rhino
t; They go on to suggest various precautions that will reduce the risk. This has me wondering if servlets are equally insecure or have a much stronger security model. I also have Jason Hunter's 'Java Servlet Programming (Second Edition)' which has a 30 page chapter on Security that details how var

Re: Security of Servlets

2004-09-30 Thread QM
from external threats is CGI scripts. They go on to suggest various : precautions that will reduce the risk. : : This has me wondering if servlets are equally insecure or have a much stronger : security model. The authors of that book may have said CGI but what they probably meant, in a larger

RE: Security of Servlets

2004-09-30 Thread Shapira, Yoav
Hi, I'd say it's easier to expose security flaws with CGI scripts than it is with Servlets, and vice versa it's easier to configure a secure environment for Servlets than it is for CGI scripts. That's not the same as saying Servlets are more secure than CGI. I don't think such a categorical

Re: Security of Servlets

2004-09-30 Thread Hassan Schroeder
Rhino wrote: /* others having responded to the first issue(s), I'll just confine myself to this one :-) */ is anyone aware of a wiki that runs as a servlet, preferably open source? You might look at JSPWiki -- http://www.jspwiki.org/ FWIW! -- Hassan Schroeder -

javascript and servlets.

2004-09-03 Thread David . Pawson
I have a form with multiple input name=file0 elements. The names are generated and range file0..n I'm trying (and failing) to retrieve the value of the input fields. String f =; f = request.getParameter(file0); works fine; The remainder appear inaccessible. In the docs

RE: javascript and servlets.

2004-09-03 Thread Ralph Einfeldt
String[] f = request.getParameterValues(file0); f[0] .. f[f.length - 1] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 9:16 AM To: [EMAIL PROTECTED] Subject: javascript and servlets. String f =; f

  1   2   3   4   5   6   7   8   9   10   >