registrar ruta tipo post | Community
Skip to main content
kevinl17371805
Level 2
October 26, 2018
Solved

registrar ruta tipo post

  • October 26, 2018
  • 3 replies
  • 1708 views

hello a new consumtal I am trying to register a post method slingservlet but when I use it with the ajax I get the error 500 if I could collaborate another way to register it this is the route that I gave thanks for the help

@SlingServlet(paths = {"/bind/gamerstore/values/template"}, methods = {"POST"})

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

Make sure the OISGi bundle that defines the Servlet is in Active State.

3 replies

arunpatidar
Community Advisor
Community Advisor
October 27, 2018

Hi,

Can you post your ajax call code and Sling servlet code as well.

500 means there is an issue with your sling servlet code.

Arun Patidar
何塞90_X
Level 3
October 27, 2018

Puedes postear el error.log para ver el stacktrace y ver por que falla.

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 28, 2018

Make sure the OISGi bundle that defines the Servlet is in Active State.