Link to home
Start Free TrialLog in
Avatar of Mike Eghtebas
Mike EghtebasFlag for United States of America

asked on

opening jsp... inconsistancy

Yesterday, a simple jsp I made but it was not responding (was not displaying its content).

Today, after logging in my laptop, the same url (used dropdown box) without retyping it, it worked.

Question: Is the something related to Tomcat that has to be refreshed or something?

Something was holding this jsp from running yesterday but today it runs fine.
Avatar of Sathish David  Kumar N
Sathish David Kumar N
Flag of India image

2 things you need to do.....

1. if you do any java changes then you must clean(re build the project).

2.if you re build then you must restart the server
Avatar of Mike Eghtebas

ASKER

re:> 1. if you do any java changes then you must clean(re build the project).

How do I do this?


re> 2.if you re build then you must restart the server

Is this like:
..\bin\shutdown.bat
..\bin\starup.bat

I have Tomcat 5.0

Mike
which IDE is your using  ?? is it eclipse ??

then go to project ---> clean or build all

normally how you start your server ??
from windows services or using command prompt or IDE ??
re:> which IDE is your using  ?? is it eclipse ??
At this pont none. I have netbeans in my home computer.

I may get eclipse or netbeans installed. But it is nice to know how to handle this withou use of an IDE.
-------
re:> normally how you start your server ??
It gets started when I log in I guess.
-------

I have the following: (can make my own .bat file to execute what is necessary)
startup-using-launcher.bat
startup.bat
shutdown-using-launcher.bat
shutdown.bat
setclasspath.bat
service.bat
digest.bat
cpappend.bat
catalina.bat
catalina.50.bat

If execution delay is a fator, I can execute selected ones in the order necessary.

I wonder if you could add a short sentence as to what each of these bat files do?

Thank you
executing: shutdown-using-launcher.bat
and then: startup-using-launcher.bat

seems to do the job. I guess I also need the current browser and opne a new one.

Mike
ASKER CERTIFIED SOLUTION
Avatar of Sathish David  Kumar N
Sathish David Kumar N
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial