Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

230
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

0

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

over 4 years ago · Santiago Trujillo Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda