Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Edit Java Page

Posted on 2014-01-09
2
Medium Priority
?
461 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 1500 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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Suggested Courses

879 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