RE: Change path of the jakarta-tomcat on Windows NT

2001-03-20 Thread Dianne Cree

yes, if there's errors in your servlet you may not get many or any messages.

-Original Message-
From: Steve Ruby [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 3:03 PM
To: [EMAIL PROTECTED]
Subject: Re: Change path of the jakarta-tomcat on Windows NT


Georges Boutros wrote:
>
> Hello Everyone,
> i have another question about the same subject
>
> i could access my jsp pages in  http://localhost/examples/jsp/myFolder
(No
> Problem)
>
> i could access my servlet in http://localhost/examples/servlet  (No
Problem)
>
> but if i want to access a servlet from a jsp page i could only do it by
> including my servlet in my jsp page .I can't forward or submit a form to a
> servlet.
>
> does anyone know why? or what should i change in the configuration file
>
> thanks
>

If you are submiting a form to a servlet this has nothing to do
with JSP servlet ineraction the client's browser is responsible for
submiting to the correct location.

Check the action on your form and make sure it is a valid URL
to a working servlet..




RE: Change path of the jakarta-tomcat on Windows NT

2001-03-20 Thread Dianne Cree

excuse that last reply, I was referring to another problem... <:)

-Original Message-
From: Fabricio Costa [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 2:15 PM
To: [EMAIL PROTECTED]
Subject: RES: Change path of the jakarta-tomcat on Windows NT


Yes i installed tomcat at directory c:\jakarta-tomcat

my context files where are e:\websites\mysite

[]'s
Thanks

-Mensagem original-
De: Arif Tayebali [mailto:[EMAIL PROTECTED]]
Enviada em: terça-feira, 20 de março de 2001 18:15
Para: '[EMAIL PROTECTED]'
Assunto: RE: Change path of the jakarta-tomcat on Windows NT
Prioridade: Alta


where have u installed tomcat?

where r u storing ur context (html, css, jsp) files?



-Original Message-
From: Fabricio Costa [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 11:44 AM
To: [EMAIL PROTECTED]
Subject: RES: Change path of the jakarta-tomcat on Windows NT


i'm new in the list, can you aswer me how did you can solve the problem?

-Mensagem original-
De: Arif Tayebali [mailto:[EMAIL PROTECTED]]
Enviada em: terça-feira, 20 de março de 2001 15:11
Para: '[EMAIL PROTECTED]'
Assunto: RE: Change path of the jakarta-tomcat on Windows NT
Prioridade: Alta


I m having the same problem...look into the threads that have my name: "Arif
Tayebali" for more info!

-Original Message-
From: Fabricio Costa [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 8:56 AM
To: [EMAIL PROTECTED]
Subject: Change path of the jakarta-tomcat on Windows NT


I installed jakarta-tomcat in my windows NT server and i run the .JSP pages
with the path http://localhost/examples/
I want to know how to i can run .JSP pages with another path, for example
http://localhost/otherpath.

Thanks
Fabricio Costa
Brazil.





RE: Change path of the jakarta-tomcat on Windows NT

2001-03-20 Thread Dianne Cree

and you tried http://localhost:8080/examples/jsp/index.html?


-Original Message-
From: Fabricio Costa [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 2:15 PM
To: [EMAIL PROTECTED]
Subject: RES: Change path of the jakarta-tomcat on Windows NT


Yes i installed tomcat at directory c:\jakarta-tomcat

my context files where are e:\websites\mysite

[]'s
Thanks

-Mensagem original-
De: Arif Tayebali [mailto:[EMAIL PROTECTED]]
Enviada em: terça-feira, 20 de março de 2001 18:15
Para: '[EMAIL PROTECTED]'
Assunto: RE: Change path of the jakarta-tomcat on Windows NT
Prioridade: Alta


where have u installed tomcat?

where r u storing ur context (html, css, jsp) files?



-Original Message-
From: Fabricio Costa [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 11:44 AM
To: [EMAIL PROTECTED]
Subject: RES: Change path of the jakarta-tomcat on Windows NT


i'm new in the list, can you aswer me how did you can solve the problem?

-Mensagem original-
De: Arif Tayebali [mailto:[EMAIL PROTECTED]]
Enviada em: terça-feira, 20 de março de 2001 15:11
Para: '[EMAIL PROTECTED]'
Assunto: RE: Change path of the jakarta-tomcat on Windows NT
Prioridade: Alta


I m having the same problem...look into the threads that have my name: "Arif
Tayebali" for more info!

-Original Message-
From: Fabricio Costa [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 8:56 AM
To: [EMAIL PROTECTED]
Subject: Change path of the jakarta-tomcat on Windows NT


I installed jakarta-tomcat in my windows NT server and i run the .JSP pages
with the path http://localhost/examples/
I want to know how to i can run .JSP pages with another path, for example
http://localhost/otherpath.

Thanks
Fabricio Costa
Brazil.





Re: Change path of the jakarta-tomcat on Windows NT

2001-03-20 Thread Steve Ruby

Georges Boutros wrote:
> 
> Hello Everyone,
> i have another question about the same subject
> 
> i could access my jsp pages in  http://localhost/examples/jsp/myFolder  (No
> Problem)
> 
> i could access my servlet in http://localhost/examples/servlet  (No Problem)
> 
> but if i want to access a servlet from a jsp page i could only do it by
> including my servlet in my jsp page .I can't forward or submit a form to a
> servlet.
> 
> does anyone know why? or what should i change in the configuration file
> 
> thanks
> 

If you are submiting a form to a servlet this has nothing to do
with JSP servlet ineraction the client's browser is responsible for
submiting to the correct location.

Check the action on your form and make sure it is a valid URL
to a working servlet..



RE: Change path of the jakarta-tomcat on Windows NT

2001-03-20 Thread Georges Boutros

Hello Everyone,
i have another question about the same subject

i could access my jsp pages in  http://localhost/examples/jsp/myFolder  (No
Problem)

i could access my servlet in http://localhost/examples/servlet  (No Problem)

but if i want to access a servlet from a jsp page i could only do it by
including my servlet in my jsp page .I can't forward or submit a form to a
servlet.

does anyone know why? or what should i change in the configuration file

thanks

-Original Message-
From: Tom Horn [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 2:54 PM
To: [EMAIL PROTECTED]
Subject: RE: Change path of the jakarta-tomcat on Windows NT


see Server.xml:
 


--- Arif Tayebali <[EMAIL PROTECTED]> wrote:
> I m having the same problem...look into the threads
> that have my name: "Arif
> Tayebali" for more info!
> 
> -Original Message-
> From: Fabricio Costa
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 20, 2001 8:56 AM
> To: [EMAIL PROTECTED]
> Subject: Change path of the jakarta-tomcat on
> Windows NT
> 
> 
> I installed jakarta-tomcat in my windows NT server
> and i run the .JSP pages
> with the path http://localhost/examples/
> I want to know how to i can run .JSP pages with
> another path, for example
> http://localhost/otherpath.
> 
> Thanks
> Fabricio Costa
> Brazil.


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



RE: Change path of the jakarta-tomcat on Windows NT

2001-03-20 Thread Darrell Porter

In server.xml, you'll see a structure similar to 

 


If you want it to be in http://localhost/otherpath then change or add a
context to server.xml such that

 


I believe you also need to change uriworkermap.properties so that your ajp12
or ajp13 worker maps the context so add the line:

/otherpath/*=ajp12

to your tomcat/conf/uriworkermap.properties file.

I hope this helps...

Darrell


-Original Message-
From: Fabricio Costa [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 8:56 AM
To: [EMAIL PROTECTED]
Subject: Change path of the jakarta-tomcat on Windows NT


I installed jakarta-tomcat in my windows NT server and i run the .JSP pages
with the path http://localhost/examples/
I want to know how to i can run .JSP pages with another path, for example
http://localhost/otherpath.

Thanks
Fabricio Costa
Brazil.



RE: Change path of the jakarta-tomcat on Windows NT

2001-03-20 Thread Arif Tayebali

Look down below for comments:

-Original Message-
From: Tom Horn [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 11:54 AM
To: [EMAIL PROTECTED]
Subject: RE: Change path of the jakarta-tomcat on Windows NT


see Server.xml:
 


when you I try to config this element's docBase attribute to say N:\my dir\
the change is not being implemented.

--- Arif Tayebali <[EMAIL PROTECTED]> wrote:
> I m having the same problem...look into the threads
> that have my name: "Arif
> Tayebali" for more info!
> 
> -Original Message-
> From: Fabricio Costa
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 20, 2001 8:56 AM
> To: [EMAIL PROTECTED]
> Subject: Change path of the jakarta-tomcat on
> Windows NT
> 
> 
> I installed jakarta-tomcat in my windows NT server
> and i run the .JSP pages
> with the path http://localhost/examples/
> I want to know how to i can run .JSP pages with
> another path, for example
> http://localhost/otherpath.
> 
> Thanks
> Fabricio Costa
> Brazil.


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



RE: Change path of the jakarta-tomcat on Windows NT

2001-03-20 Thread Arif Tayebali

where have u installed tomcat?

where r u storing ur context (html, css, jsp) files?



-Original Message-
From: Fabricio Costa [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 11:44 AM
To: [EMAIL PROTECTED]
Subject: RES: Change path of the jakarta-tomcat on Windows NT


i'm new in the list, can you aswer me how did you can solve the problem?

-Mensagem original-
De: Arif Tayebali [mailto:[EMAIL PROTECTED]]
Enviada em: terça-feira, 20 de março de 2001 15:11
Para: '[EMAIL PROTECTED]'
Assunto: RE: Change path of the jakarta-tomcat on Windows NT
Prioridade: Alta


I m having the same problem...look into the threads that have my name: "Arif
Tayebali" for more info!

-Original Message-
From: Fabricio Costa [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 8:56 AM
To: [EMAIL PROTECTED]
Subject: Change path of the jakarta-tomcat on Windows NT


I installed jakarta-tomcat in my windows NT server and i run the .JSP pages
with the path http://localhost/examples/
I want to know how to i can run .JSP pages with another path, for example
http://localhost/otherpath.

Thanks
Fabricio Costa
Brazil.



RE: Change path of the jakarta-tomcat on Windows NT

2001-03-20 Thread Tom Horn

see Server.xml:
 


--- Arif Tayebali <[EMAIL PROTECTED]> wrote:
> I m having the same problem...look into the threads
> that have my name: "Arif
> Tayebali" for more info!
> 
> -Original Message-
> From: Fabricio Costa
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 20, 2001 8:56 AM
> To: [EMAIL PROTECTED]
> Subject: Change path of the jakarta-tomcat on
> Windows NT
> 
> 
> I installed jakarta-tomcat in my windows NT server
> and i run the .JSP pages
> with the path http://localhost/examples/
> I want to know how to i can run .JSP pages with
> another path, for example
> http://localhost/otherpath.
> 
> Thanks
> Fabricio Costa
> Brazil.


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



RE: Change path of the jakarta-tomcat on Windows NT

2001-03-20 Thread Arif Tayebali

I m having the same problem...look into the threads that have my name: "Arif
Tayebali" for more info!

-Original Message-
From: Fabricio Costa [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 8:56 AM
To: [EMAIL PROTECTED]
Subject: Change path of the jakarta-tomcat on Windows NT


I installed jakarta-tomcat in my windows NT server and i run the .JSP pages
with the path http://localhost/examples/
I want to know how to i can run .JSP pages with another path, for example
http://localhost/otherpath.

Thanks
Fabricio Costa
Brazil.