Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

229
Views
The requested URL /save was not found on this server in spring MVC

I am trying to save a data in DB through spring MVC. when I hit save button it redirects me to a page where the error is as follows:

The requested URL /save was not found on this server.

Same code is working on DEV on localhost, I think there is some problem with standalone

In Controller.java:

@RequestMapping(value="/save", params="save")     
public ModelAndView save(@RequestParam("save") String save) {.....}

The save pages updates/delete the data from data base

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

I wonder if your application is actually deployed, but just at a URL you don't expect. It is quite common for app servers to add a context url with the name of the war file. For example, if you war file is named myapp.war, your /save url might be visible like

http://www.example.com/myapp/save

over 4 years ago · Santiago Trujillo Report

0

may be your Spring web application doesn't deploy correctly. please follow this link.

over 4 years ago · Santiago Trujillo Report

0

id: my-service
    uri: ${param.url}
    predicates:
        - Path=/storage/**
    filters:
        - RewritePath=/storage/(?<segment>.*), /$\{segment}

i also use this method but it just work on localhost, in server it doesnt work

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!