Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8915277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:56:20+00:00 2026-06-15T04:56:20+00:00

Oops this happened again. I did some refactoring today when i moved code from

  • 0

Oops this happened again.

I did some refactoring today when i moved code from one package to another and forgot to update JSP’s import statements. Unit tests passed with usual SUCCESS message, code compiled without errors or warnings, at run time however there was a big exception waiting for me.

Using Eclipse or IntelliJ IDEA, how do you handle the fact that refactoring changes done to Java code are not reflected in JSP? Is there something i can do to force this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T04:56:22+00:00Added an answer on June 15, 2026 at 4:56 am

    Well, if you followed best practices, you wouldn’t have any scriptlet code, and thus any import statement in your JSPs. You would still have to refactor the JSPs if you rename a getter used in JSP EL expressions (for example), but changes in class names would not have any impact.

    I would integrate JSP compiling into your build process (at least on the continuous integration server) to detect such problems in JSPs. Here’s how to do it with Tomcat. And you could use Selenium or HtmlUnit integration tests to check that your JSPs are executed without problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In this code: void Window::oops() { printf(Window oops\n); } void TextWindow::oops() { printf(TextWindow oops
Some times when I call methods of this object I got Oops error because
I'm learning Java and OOPS from oracle's website. I'm doing this exercise . I'm
I came across this code snippet 1 int return_printChar1() { // code // oops!
i have code written something like this. if(!isset($cid)) { echo <script type=\text/javascript\>alert('OOps, Something went
This is my first project in PHP based on the Oops Concept. I am
Oops. I use mongoose, and accidentally created a collection stats. I didn't realize this
EDIT: OOPS, sorry I wasn't clear. I have a string that I get from
Using this php code: try{ $dbh = new PDO(mysql:host=$host;dbname=$dbname,$user,$pass); $dbh->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION ); //
I am stuck at this particular example from dive into python Example 4.18. When

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.