Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

231
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

0

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

over 4 years ago · Santiago Trujillo Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda