Solved

Edit Java Page

Posted on 2014-01-09
2
419 Views
Last Modified: 2014-01-16
Hi Guys,

I need some help with making a small change on a Java web page.
The problem for me is actually finding the correct page on which to effect the change.

The web server runs Tomcat.

The page to be edited:  In a browser, view source, the page name is:  LetterForm1

I found LetterForm1 in the following locations on the server:

C:\Tomcat\work\catalina\localhost\company\org\apache\jsp\pages\LetterForm1_jsp.class
C:\Tomcat\work\catalina\localhost\company\org\apache\jsp\pages\LetterForm1_jsp.java

C:\Tomcat\webapps\company\pages\LetterForm1.jsp

I've tried making changes in LetterForm1_jsp.java and LetterForm1.jsp

No changes reflect in the actual page when browsing to it.

This is the only locations where I can find LetterForm*

Am I perhaps editing the wrong page / at the wrong location?
0
Comment
Question by:Rupert Eghardt
  • 2
2 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 39767816
I've tried making changes in LetterForm1_jsp.java and LetterForm1.jsp

Ignore the former - that's generated code. If you've edited the latter, make sure it was saved. You might also need to clear caches too
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 39786510
:)
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
micro services vs rest web services 16 81
Impossible to extract MSI from new JAVA releases 2 47
map related example 6 24
table example 4 19
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…

948 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

17 Experts available now in Live!

Get 1:1 Help Now