Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

opening jsp... inconsistancy

Posted on 2012-04-04
7
Medium Priority
?
327 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
Whoever said that “a picture is worth one thousand words” observed a fact that can dramatically affect your marketing success. Most people tend to learn visually, so many publishers commonly acknowledge the effectiveness of visual learning by using…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

730 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