Directories structure

2003-10-27 Thread Freddy JSP
Hi, I'm Freddy from Brasil and I'm one new user, so this is a easy question. I'm learning JSP whith one e-book. But all the examples are related with the version 3 of Tomcat. I'm using the version 5. My difficult are to find the equivalent directores of both version (3 and 5), because de directory

RE: Tomcat and IIS ( PROBLEM SOLVED )

2003-03-28 Thread jsp
Yes your right, I unfortunately I have to keep asp for that reason. Anyway I solved the problem I was ranting about yesterday very easily I, made the top file an asp page in INETPUB. And did a response redirect to my webapps folder in tomcat to the jsp. I got the referrer after all

Tomcat and IIS

2003-03-27 Thread jsp
the only way jsp will work is if you type into the browser http://www.mywebsite.com/MyWebsite/index.jsp maybe this is not a tomcat related question but I'm hoping someone could be doing this and give me some type of CLUE ? Basically when you go to http://www.mywebsite.com I want the top file

RE: Tomcat and IIS

2003-03-27 Thread jsp
Yea, I thought about that( or even an asp redirect, defeats the purpose of using jsp) but I'm trying to get the referrer from the browser into a database and I dont want index.html as my only referrer :) I'll try just using tomcat, I would just switch to apache I guess but I paid about 1200

RE: Tomcat and IIS

2003-03-27 Thread jsp
. John On Thu, 27 Mar 2003 12:47:17 -0800, jsp [EMAIL PROTECTED] wrote: I'm trying to get away from ASP. The top file of my website is an index.jsp page. I set the root directory for the website to \Catalina_home\webapps\MyWebsite So when you go to http://www.mywebsite.com the default page

RE: Tomcat and IIS

2003-03-27 Thread jsp
up with a workaround that I missed. John On Thu, 27 Mar 2003 13:10:14 -0800, jsp [EMAIL PROTECTED] wrote: Yea, I thought about that( or even an asp redirect, defeats the purpose of using jsp) but I'm trying to get the referrer from the browser into a database and I dont want index.html

RE: Tomcat and IIS

2003-03-27 Thread jsp
DirectoryIndex has index.html and index.jsp. I am directing *.jsp to tomcat. Requesting the directory without a filename causes index.jsp to be processed by tomcat and the result returned. I am also using mod_jk2 if that makes a difference. Quinton

RE: Tomcat and IIS

2003-03-27 Thread jsp
and be done with the whole web server issue completely? John On Thu, 27 Mar 2003 13:24:13 -0800, jsp [EMAIL PROTECTED] wrote: Guess I need to learn YET ANOTHER piece of software. Apache Web Server here I come... -Original Message- From: Quinton McCombs [mailto:[EMAIL PROTECTED] Sent

RE: Tomcat and IIS

2003-03-27 Thread jsp
If you can use TOMCAT as a web server also a container for jsp and servlets, then I don't understand why you even need Apache Web server? Can someone fill me in? I'm running IIS with tomcat right now but I would like to turn IIS off and just use tomcat like someone here suggested. -wiley

RE: Tomcat and IIS

2003-03-27 Thread jsp
THE CATCH IS ... I cant use any type of redirector because I am trying to get the REFERER URL from the default file index.jsp . Otherwise I could just use a meta tag to redirect to the jsp file. If I use http://www.mywebsite.com/mywebsite/index.jsp the JSP functionality works. If I use http

RE: Servlet help

2003-03-26 Thread jsp
Is tomcat being run as a service? If so you have to restart it there and sometimes I also have to go to the command line c:\tomcat\bin\shutdown ... c:\tomcat\bin\startup for it to take. If your using the newer versions of tomcat it doesn't seem to work any other way. -wiley -Original

RE: Cannot Update MYSQL Database (PROBLEM SOLVED)

2003-03-25 Thread jsp
+ i does that make sense ? Anyway thanks -wiley -Original Message- From: Kyle Lange [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 1:43 AM To: 'jsp'; 'Tomcat Users List' Cc: [EMAIL PROTECTED] Subject: RE: Cannot Update MYSQL Database I think you probably need to do one

MYSQL and TOMCAT

2003-03-24 Thread jsp
Here is another beginner question of sorts I imagine. I receive this error. java.sql.SQLException: Update failed, possible duplicate entry I've got this code in a .jsp page. % String ref=request.getHeader(Referer);% BR % count.addInfo( ref ); % count is calling the method addInfo

Cannot Update MYSQL Database

2003-03-24 Thread jsp
I'm running this code with no errors but it's not inserting the string into the database ? public void addInfo( String referer ) throws SQLException, Exception { if (con != null) { try{ PreparedStatement updateInfo; updateInfo

RE: Beginner Servlet Question

2003-03-09 Thread jsp
structure of.. webapps/ch03/WEB-INF/classes/com/wrox/jsp/myapp/MyServlet.class The servlets in the examples dir work great except my app that I'm trying to create Thanks for your help. You have to make sure, that the invoker servlet is mapped to /server like - servlet-mapping

RE: Beginner Servlet Question

2003-03-09 Thread jsp
That solved the problem. More reading about the change that was made in version 4.1.12 and about the servlet invoker did the trick. Thanks again. -Original Message- From: jsp [mailto:[EMAIL PROTECTED] Sent: Sunday, March 09, 2003 2:00 PM To: 'Tomcat Users List'; 'Jens Skripczynski

RE: MY ATTITUDE

2003-02-14 Thread jsp
Wow, and I defended this guy ? I truly appoligize for that tomcat users ! I was WRONG -Original Message- From: Steve Burrus

RE: JTHOWTO

2003-02-12 Thread jsp
Yeah man, like. way to go dude ! I'm like, rollin on the floor man. I cant stop laughing. The MR RICKER part and the steve on steve off part like, WOW dude . Your humor is like WY NARLY BRA ! -Original Message- From: Geoff Peters [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

RE: MY ATTITUDE

2003-02-12 Thread jsp
explaining how to go about it. If these tutorials are not a good enough explanation, then perhaps you ought to step down a notch to something more basic. Configuring Tomcat and writing JSP/servlet webapps is not easy, and requires that you understand the fundamentals of the Java language

NEWBIE Simple question, (but not for me ?!?)

2003-02-07 Thread jsp
I added a directory to the webapps dir. I cannot get to it. Error 404. Although directories I added a week ago work ??? Now this new one cannot be seen. I've asked this question a lot over the last few days here; either it’s a completely STUPID question (most likely) or nobody can answer it. It's

RE: NEWBIE Simple question, (but not for me ?!?)

2003-02-07 Thread jsp
Before this I was using the ISAPI redirect in iis for tomcat and I did all the changes in the worker file for apps. That’s not running anymore and I'm just using localhost8080/app/ . I put Context path=/simple docBase=tomcat/webapps/app/ debug=9 reloadable=true / in the server.xml file at the

RE: NEWBIE Simple question, (but not for me ?!?)

2003-02-07 Thread jsp
the structure under tomcat/webapps/app/ look like? most of the cases when people use the context path, for a webapp in webapps they do this Context path=/simple docBase=app debug=9 reloadable=true / Filip -Original Message- From: jsp [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 3

NEWBIE question resolved ........ ahhhhhhh.

2003-02-07 Thread jsp
Of all the lamer things ! I changed the name of the directory in webapps to guestbook and it pops up fine now the name was /sc . Maybe tomcat does not recognize dir's with only 2 leters ??? Thanks for listening -wiley -Original Message- From: jsp [mailto:[EMAIL PROTECTED

RE: NEWBIE Simple question, (but not for me ?!?)

2003-02-07 Thread jsp
/index.html notice that you changed the context from app to simple by using the context element. Filip -Original Message- From: jsp [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 3:26 PM To: 'Tomcat Users List' Subject: RE: NEWBIE Simple question, (but not for me ?!?) Hi fillip

RE: NEWBIE Simple question, (but not for me ?!?)

2003-02-07 Thread jsp
server.xml file to see an example Filip -Original Message- From: jsp [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 3:32 PM To: 'Tomcat Users List' Subject: RE: NEWBIE Simple question, (but not for me ?!?) Thank you fillip. And for future reference, can you please tell me

RE: tomcat 3.3 problem with classpath

2003-02-07 Thread jsp
Some one just helped me on this. make a search for 'Context path=/examples ' in the server.xml then mirror how they added an entry for the examples dir to yours. The classpath is another situation entirely. You specify the classpath in your app -wiley make a search for 'Context

Folder VANISHED ?

2003-02-05 Thread jsp
All of a sudden, out of the blue. I cannot add a new folder to the webapps directory for some reason ??? http://localhost:port/dir/ HTTP Status 404 -/sc/index.html Description The requested recourse is not available. I can see everything else great. Folders I added a few days ago pop up

New Directory in Webapps cannot be seen ???

2003-02-05 Thread jsp
All of a sudden, out of the blue. I cannot add a new folder to the webapps directory for some reason ??? http://localhost:port/dir/ HTTP Status 404 -/sc/index.html Description The requested recourse is not available. I can see everything else great. Folders I added a few days ago pop up

pageContext error ???

2003-02-04 Thread jsp
Im running tomcat 4.1 and I'm building a shopping cart from a book. When browse to the index.jsp page of the app I receive this error... root cause javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex tImpl.java:533) I know why this

RE: Why won't anyone help me out??

2003-02-04 Thread jsp
this problem with being able to execute a jsp/servlet in the Tomcat container? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: PageContextImpl.handlePageException

2003-02-04 Thread jsp
:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 2:34 PM To: Tomcat Users List Subject: Re: PageContextImpl.handlePageException Look at line 251 in $TOMCAT_HOME/_work/appname/org/apache/jsp/index_jsp.java to see what caused the exception. At 14:22 2003-02-04, you wrote: root cause

RE: PageContextImpl.handlePageException

2003-02-04 Thread jsp
it it working the way it should. Also what is the definition of t? -Original Message- From: jsp [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 3:47 PM To: 'Tomcat Users List' Subject: RE: PageContextImpl.handlePageException Hi thanks for the reply, this is the cause

RE: PageContextImpl.handlePageException

2003-02-04 Thread jsp
:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 2:34 PM To: Tomcat Users List Subject: Re: PageContextImpl.handlePageException Look at line 251 in $TOMCAT_HOME/_work/appname/org/apache/jsp/index_jsp.java to see what caused the exception. At 14:22 2003-02-04, you wrote: root cause

RE: PageContextImpl.handlePageException

2003-02-04 Thread jsp
With your code I get a syntax error it looks like... org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 6 in the jsp file: /jsp/cust/AutoLogin2.jsp Generated servlet error: [javac] Compiling 1 source file E:\Program Files\Apache Group\Tomcat 4.1

RE: PageContextImpl.handlePageException

2003-02-04 Thread jsp
Thanks for you help Carl but that didn't work either. The thing is Im new to jsp. I got this book , .. MYSQL and JSP web Applications by samspublishing.com . The code should work fine. I think I've just set up my environment wrong or something. Its funny too, the last Three books I've bought

RE: Why won't anyone help me out??

2003-02-04 Thread jsp
- From: jsp [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 5:37 PM To: 'Tomcat Users List' Subject: RE: Why won't anyone help me out?? Because he's another charming tech personality that is obviously telling you to go use coldfusion instead of tomcat. I guess he thinks he's above