Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old July 4th, 2002, 05:07 PM
itsource itsource is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 181 itsource User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 7 m 31 sec
Reputation Power: 7
Why JSP not use new class that I compile again?

I use bean class with JSP. But When I add some code and compile new bean. JSP not use new been class it use old class.

I try to set file server.xml and set <DefaultContext reloadable="true"/> and restart Tomcat. But it not work?

any help please?

Reply With Quote
  #2  
Old July 8th, 2002, 02:22 PM
wolfespawn wolfespawn is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 68 wolfespawn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via AIM to wolfespawn
that happens alot to us here to. it may not be replacing the work folder inside of the server... to ensure that it will use the new jsp code, delete the old jsp from the server and try to call the page. you should get a "Cannot find page" error. then re-ftp it to the server or save it up or however you are doing it, and then it should recompile the JSP fresh in the work folder.

Reply With Quote
  #3  
Old July 10th, 2002, 03:00 AM
itsource itsource is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 181 itsource User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 7 m 31 sec
Reputation Power: 7
Thank, but it still use old bean class.

You method work when JSP get own result (but not use bean class)

My friend suggent delete directory under work directory but it don't work.

Reply With Quote
  #4  
Old July 10th, 2002, 10:59 AM
Lord MJ Lord MJ is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 34 Lord MJ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 57 m 2 sec
Reputation Power: 7
Send a message via AIM to Lord MJ Send a message via Yahoo to Lord MJ
Are you using Tomcat 3.x?

Use a better JSP/Servlet Engine like Resin (unless your on a virtual host and don't have a choice).

Reply With Quote
  #5  
Old July 10th, 2002, 11:46 PM
itsource itsource is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 181 itsource User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 7 m 31 sec
Reputation Power: 7
I use Tomcat 4.04 (lastest version).
I try every way, I think the only way to do is shutdown and startup server everytime I change bean class.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > Why JSP not use new class that I compile again?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway