Solved

Edit Java Page

Posted on 2014-01-09
2
429 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

856 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