Solved

Edit Java Page

Posted on 2014-01-09
2
433 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java syntax, or is it Selenium 6 61
Java Eclipse Loop 3 48
Redirect old website to new website in subfolder using .htaccess 2 54
Java regex 5 21
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
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:
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

734 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