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 8073049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T14:12:50+00:00 2026-06-05T14:12:50+00:00

The thing is that I do not want to replace an entire web app

  • 0

The thing is that I do not want to replace an entire web app contained in “war” file just because there needs to be a change in a single JSP file. So is it possible to deploy JSP pages on to a Web Server without packaging it into the “war” file? If so then on which Web Servers can this be done (and how)?


Actually, I am looking for a solution like classic ASP or PHP. In these environments, there is no need for a specific XML configuration file, and they do not need to be packaged in a WAR file that gets expanded to a directory. If I were to change a single ASP/PHP page then I only need to upload that to the Web Server and they have a simple directory layout. Is that possible with JSP?

  • 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-05T14:12:52+00:00Added an answer on June 5, 2026 at 2:12 pm

    Only if the container is configured to expand the WAR on disk (most by default do), then you can just replace the file directly in the expanded WAR folder. If the container doesn’t support hotdeploy (most production server configs don’t, at least if they are managed by a very good server admin), then you also need to restart the server.


    Update: if you don’t want to deploy with a WAR, but just want to manually create the deployment files, then just create the necessary folders/files in the deploy folder directly. In Tomcat 7.0 for example, which is a Servlet 3.0 compatible container, just create a new subfolder in its /webapps folder.

    Tomcat
     |-- bin
     |-- conf
     |-- lib
     |-- logs
     |-- temp
     |-- webapps
     |    `-- jazz
     |         `-- page.jsp
     `-- work
    

    It’ll be available as http://localhost:8080/jazz/page.jsp.

    If you want it to be on domain root like so http://localhost:8080/page.jsp, then rename the subfolder to ROOT (yes, uppercased). You can just delete/rename the existing one which contains the Tomcat default homepage.

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

Sidebar

Related Questions

I'm stunned by a simple thing that I want to accomplish but does not
First thing i want to say that it's not an easy question to explain,
I want to replace \n with <br /> in a string. But not that
I want to make something that makes much sense, but I think its not
GLSL has a full C-style preprocessor. The only thing that does not work is
I'm working on a small roguelike game, and for any object/thing that is not
One thing that bothers me about nHibernate is that it is not 100% compile
I feel that both are the same thing, but I am not sure.
I am working on a web app that allows user to edit specific HTML
I want to use JQuery to replace an entire <tr> . I can select

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.