Solved

opening jsp... inconsistancy

Posted on 2012-04-04
7
321 Views
Last Modified: 2012-04-04
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.
0
Comment
Question by:Mike Eghtebas
  • 4
  • 3
7 Comments
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 37806876
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
0
 
LVL 34

Author Comment

by:Mike Eghtebas
ID: 37807062
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
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 37807124
which IDE is your using  ?? is it eclipse ??

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

normally how you start your server ??
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 37807142
from windows services or using command prompt or IDE ??
0
 
LVL 34

Author Comment

by:Mike Eghtebas
ID: 37807313
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
0
 
LVL 34

Author Comment

by:Mike Eghtebas
ID: 37807503
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
0
 
LVL 20

Accepted Solution

by:
Sathish David  Kumar N earned 500 total points
ID: 37807525
need to delete your .class file of your jsp file.....(if you use IDE then it will do that job).

2 question your answer is correct
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Is it possible to "sandbox" html content within a JSP? 4 106
How to Post an If Statement in JSP 3 60
iterator/ListIterator approach 17 39
eclipse buid path vs tomcat lib path 10 34
Starting your own business is always a daunting process, and for most people it is brand new experience. Avoid the common pitfalls by following these tips to start on the road to success.
ConnectWise and their customers need to ensure critical alerts automatically reach the right person at the right time. MSP superheros efficiently respond to these alerts key is providing automatic, intelligent alerting that generates a complete audi…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question