Solved

Edit Java Page

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

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

Join & Write a Comment

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…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

747 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

12 Experts available now in Live!

Get 1:1 Help Now