registrar ruta tipo post | Community
Skip to main content
kevinl17371805
Level 2
Oct 26, 2018 9:44 PM UTC
Solved

registrar ruta tipo post

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.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 28, 2018 8:47 PM UTC

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

3 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 28, 2018 8:47 PM UTC

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

Translate
何塞47_X
Level 3
Oct 27, 2018 12:15 PM UTC

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

Translate
arunpatidar
New Participant
Oct 27, 2018 8:41 AM UTC

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.

Translate
Arun Patidar