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

registrar ruta tipo post

  • October 26, 2018
  • 3 replies
  • 1706 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

smacdonald2008
smacdonald2008Accepted solution
New Participant
October 28, 2018

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

何塞47_X
New Participant
October 27, 2018

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

arunpatidar
New Participant
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