Solved

opening jsp... inconsistancy

Posted on 2012-04-04
7
316 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
Comment Utility
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 33

Author Comment

by:Mike Eghtebas
Comment Utility
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
Comment Utility
which IDE is your using  ?? is it eclipse ??

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

normally how you start your server ??
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 20

Expert Comment

by:Sathish David Kumar N
Comment Utility
from windows services or using command prompt or IDE ??
0
 
LVL 33

Author Comment

by:Mike Eghtebas
Comment Utility
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 33

Author Comment

by:Mike Eghtebas
Comment Utility
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
Comment Utility
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Marketing can be an uncomfortable undertaking, especially if your material is technology based. Luckily, we’ve compiled some simple and (relatively) painless tips to put an end to your trepidation and start your path to success.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now