RE: security hole on windows tomcat?

2003-08-11 Thread Moraes, Fabio
http://localhost/examples/jsp/num/numguess.jsp%20 = 404 (my tomcat is running on port 80) --- Fabio Moraes [EMAIL PROTECTED] System Engineer Work Force Management System +55 21 3088 9548 -Original Message- From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] Sent: Monday, August 11,

RE: Java and tomcat issues

2003-08-07 Thread Moraes, Fabio
$JAVA_HOME != $PATH try: cd $JAVA_HOME/bin java --- Fabio Moraes [EMAIL PROTECTED] System Engineer Work Force Management System +55 21 3088 9548 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 14:54 To: [EMAIL PROTECTED]

The same servlet through 2 different URL

2003-08-01 Thread Moraes, Fabio
SCENE: I'm using Tomcat 4.1. I want my servlet Principal.class to be called when someone access http://localhost/projname/ OR http://localhost/projname/index I put this in webapps/projname/web.xml: servlet servlet-namePrincipal/servlet-name

RE: Where does index.jsp come from

2003-07-31 Thread Moraes, Fabio
try looking at webaaps/ROOT directory. --- Fabio Moraes [EMAIL PROTECTED] System Engineer Work Force Management System +55 21 3088 9548 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 11:35 To: [EMAIL PROTECTED] Subject: Where

RE: Checking for invalidated session

2003-07-31 Thread Moraes, Fabio
i guess this will work fine ... session = request.getSession( false ); if( session.isNew( ) ) { out.println( new session ); } someone let me know if i'm wrong. hugs, --- Fabio Moraes [EMAIL PROTECTED] System Engineer Work Force Management System +55 21 3088 9548 -Original

RE: Checking for invalidated session

2003-07-31 Thread Moraes, Fabio
sorry. session = request.getSession( false ); if( session != null ) { session.invalidate(); } --- Fabio Moraes [EMAIL PROTECTED] System Engineer Work Force Management System +55 21 3088 9548 -Original Message- From: Moraes, Fabio [mailto:[EMAIL PROTECTED] Sent: Thursday

RE: problem

2003-07-31 Thread Moraes, Fabio
i guess you forgot to add the Context tag to conf/server.xml or maybe you didn't pointed /index.jsp to anything (a servlet or anything else). let me know if i'm wrong. thanks, --- Fabio Moraes [EMAIL PROTECTED] System Engineer Work Force Management System +55 21 3088 9548 -Original

RE: Strange request.setAttribute() problem

2003-07-28 Thread Moraes, Fabio
he meant: use: HttpSession session = request.getSession( ); session.setAttribute( itemnumber, Integer.valueOf(Integer.toString(itemnumber))); and then: session.getAttribute( itemnumber ); --- Fabio Moraes [EMAIL PROTECTED] System Engineer Work Force Management System +55 21 3088 9548

Exception invoking periodic operation

2003-07-28 Thread Moraes, Fabio
(I'm not sure if everybody saw this message, so I'm reposting it. Sorry for the inconvenience) Hello all, I'm a begginner with Servlets, Tomcat and stuff, so, please, don't laff on me ! :) Scene: I installed Tomcat 5, J2SDK 1.4.2 and MySQL 4.0.13 on a Win2k Professional.

Exception invoking periodic operation

2003-07-24 Thread Moraes, Fabio
Hello all, I'm a begginner with Servlets, Tomcat and stuff, so, please, don't laff on me ! :) Scene: I installed Tomcat 5, J2SDK 1.4.2 and MySQL 4.0.13 on a Win2k Professional. While trying some servlets to authenticate users, i get this error again and again ...

RE: Exception invoking periodic operation

2003-07-24 Thread Moraes, Fabio
Thanks for the answer. No, I didn't mess with commons-logging.jar or commons-logging-api.jar. I just added mysql-connector-java-3.0.8-stable-bin.jar, but (I THINK) there is no problem with that action. --- Fabio Moraes [EMAIL PROTECTED] System Engineer Work Force Management System +55 21