We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
example:
/data/{filename}.doc and /data/{filename}.pdf
/data/{filename}.doc
/data/{filename}.pdf
when access using
http://localhost:8080/data/finance-doc.doc or http://localhost:8080/data/finance-doc.pdf
http://localhost:8080/data/finance-doc.doc
http://localhost:8080/data/finance-doc.pdf
it should valid with
request.getPathParameter('filename') = 'finance-doc'
both result will be finance-doc
finance-doc
but if you use a colon, the extension at the end url will carry over
/data/:filename.pdf
it only valid with:
request.getPathParameter('filename.pdf')
the result will be : finance-doc.pdf
finance-doc.pdf
The text was updated successfully, but these errors were encountered:
Hi, @syamsu-smansa
ActiveJ's RoutingServlet does not support curly braces patterns. Path parameters are defined via colon.
RoutingServlet
We will consider adding support for path parameters defined using curly braces in the next ActiveJ versions.
Sorry, something went wrong.
No branches or pull requests
example:
/data/{filename}.doc
and
/data/{filename}.pdf
when access using
http://localhost:8080/data/finance-doc.doc
or
http://localhost:8080/data/finance-doc.pdf
it should valid with
request.getPathParameter('filename') = 'finance-doc'
both result will be
finance-doc
but if you use a colon, the extension at the end url will carry over
/data/:filename.pdf
it only valid with:
request.getPathParameter('filename.pdf')
when access using
http://localhost:8080/data/finance-doc.pdf
the result will be :
finance-doc.pdf
The text was updated successfully, but these errors were encountered: