Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

opening jsp... inconsistancy

Posted on 2012-04-04
7
Medium Priority
?
331 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
The decision to migrate to the cloud is not a simple one—many factors, such a cost, ease of use, and ongoing maintenance come into play. The goal is always for cloud platforms to make storage and backups more seamless and effective. Here’s a look at…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

782 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