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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:45:43+00:00 2026-06-17T16:45:43+00:00

I was learning SpringMVC but currently facing one problem. All my jsp files are

  • 0

I was learning SpringMVC but currently facing one problem.
All my jsp files are under /WEB-INF/jsp folder.
During a form submission I try to return a new page success.jsp if registration going to be succesfull else failure.jsp.
My problem is Although message’s were displaying but the url din’t get changed.Is it the same as it were during form request.http://localhost:8080/Twitter/User?new
After succesfull for submision I want it to be http://localhost:8080/Twitter/Success.jsp.
I am able to achieve this when I put my jsp folder outside Web-inf.
Any help?

  • 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-17T16:45:44+00:00Added an answer on June 17, 2026 at 4:45 pm

    You cannot do that by redirecting from your server. And its not about putting your .jsp files under any folder. Displayed url is about where data is getting from. You cant change it by forwarding or redirecting or using ModelAndView.

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

Sidebar

Related Questions

Learning regex but this one gives me a headache. I need to match a
Learning JavaScript OOP ... And being all day on that field but... I cannot
Learning Scala currently and needed to invert a Map to do some inverted value->key
Just learning the world of jquery, and all my googling gives examples like this:
I've been reading/learning more about Spring lately, and how one would use Spring in
Currently learning Spring MVC with Spring 3, I'm trying to find the correct way
Learning about Explicit Cursors and trying to create my frst one.: SET SERVEROUTPUT ON
Learning ruby. I'm under the impression that boolean attributes should be named as follows:
I am trying to create a simple application using SpringMVC for learning purpose. I
Hey, I'm pretty new in Spring MVC, and I'm learning the JSP tags and

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.