mariangelafirmino wrote:

>Estou instalando o tomcat, tive sucesso ate a instalacao 
>do mesmo, porém estou tendo problemas ao digitar um 
>exemplo e visualiza-lo, tem algo a ver com configuraçao 
>de server.xml. Já instalei tambem o kit SDK. Estou 
>seguindo o livro JSP - Francisco B.Junior, da editora 
>Erica. Fiz todos os passos corretamente, mas nao estou 
>tendo exito. Por favor, se possivel me de um retorno.
>
>Obrigada.
>
>Mariangela.
>
>  
>
Olá

Tomcat is really very simple to install:

First you will need a recent SDK (ex: 1.4.0 ou 1.4.1).

Next you install Tomcat, and if all goes well it will detect the 
presence of the SDK (if not, you can always change some registry keys so 
that it does).

Finally you need to make sure that tomcat is running, either as a system 
service (like: windows services) or as a separate process. When tomcat 
is running, by typing "http://localhost:8080"; the documentation page 
should appear.

If you find that tomcat can't execute for some reason, you could try to 
run startup.bat (or startup.sh) - in the tomcat binaries directory - 
from the command line (DOS, bash or cygwin - much better than DOS) to 
find out why.

If tomcat is running but you cannot see your example, then this could 
mean one of the following:

You are not typing the correct url.

You are typing the correct url but the server.xml or web.xml does not 
have the correct configuration.

The url is correct but your JSP or servlet has an error or can't access 
some external resources.


However, note that the examples that come with tomcat (in 
http://localhost:8080/examples/jsp/index.html) do not have errors and 
should run out of the box, with no additional configurations needed.


In any case, you should post a more detailed description (steps taken, 
error messages, etc) so that our response can be more helpful.



Andre de Jesus


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to