Solved

problem with displaying changes to web pages.

Posted on 2004-03-30
9
275 Views
Last Modified: 2010-04-01
Hi,

Im having a very strange thing happening at the moment on website im working on....when ever i make changes to the web page, re-compile the jsp page in tomcat im not seeing any of ther changes I made in my  browser, all im seeing is the old version of my jsp page...have tried refreshing,deleteing temporary internet files but im having no joy....

im using jbuilder, i'm also using some javascript too if that makes a difference.....


Any Ideas why this is happening and how do i fix it,
Triggered
0
Comment
Question by:Triggered
  • 5
  • 2
  • 2
9 Comments
 
LVL 9

Accepted Solution

by:
Nick_72 earned 500 total points
Comment Utility
Try deleteing the compiled jsp's under the 'work' folder under Tomcat. That'll force Tomcat to recompile it.
0
 
LVL 6

Expert Comment

by:jarasa
Comment Utility
You are making the changes on the Javascript?

How are you deploying to Tomcat, from Jbuilder?

Javier
0
 

Author Comment

by:Triggered
Comment Utility
ignoring the javascript for a minute, im making change to labels dispalyed on my jsp page (ie the html parts of the page) but im not seeing any changes on on the page displayed in my browser after recompiling
0
 

Author Comment

by:Triggered
Comment Utility
that did the trick Nick_72, thanks a million!
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 6

Expert Comment

by:jarasa
Comment Utility
But how are you deploying those changes to TOMCAT with a .war file or just copying the .jsp to the directories?
If is a .war and you do it with the Jbuilder deploy option be sure that you restart TOMCAT.

Javier
0
 

Author Comment

by:Triggered
Comment Utility
Cheers Javier, At the moment well up till now JBuilder always drecompiled and wrote over the old class's in its project folder "Work" directory which stored alll the compiled servlets and jsp class's, must have done something in its project properties to change this this.........another quick question does jsp allow paramter names with spaces??...if ye want ill open this as a new question but it seems a fairly trivial question
0
 
LVL 9

Expert Comment

by:Nick_72
Comment Utility
ok great :)

>>does jsp allow paramter names with spaces

yes, just replace the spaces with a '+' and it'll work

if you have a variable that contains a string with spaces, just use the replaceAll(" ", "+");  method before using it as a parameter name (or value).

/Nick
0
 

Author Comment

by:Triggered
Comment Utility
My problem is im using javascript that displays an error message based the input name ,
say my input name is "MobileNumber" is displays "MobileNumber" should a be a number blah blah.....
but i want to display "Mobile Number" should be a number, but if use this im messing up other code in servlets that cant use

request.getParameter("Mobile Number");

tried using request.getParameter("Mobile+Number"); but it doesnt seem to work
0
 

Author Comment

by:Triggered
Comment Utility
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 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

15 Experts available now in Live!

Get 1:1 Help Now