Questions tagged [urlbinding]

11 questions
2
votes
3 answers

Stripes URL prefix as request parameter

I'm trying to build a way for my application to have a URL pattern/scheme like that of applications like Twitter. For example myapplication.com/username where the username is an actual username treated as a parameter. This parameter will be used to…
Psycho Punch
  • 6,418
  • 9
  • 53
  • 86
2
votes
3 answers

In Play, is there a way to apply filters before routing?

According to the documentation, the filter chain happens after the request has been routed. Is there any way to have the filter chain apply before the request has been routed? In particular, we want to apply a number of filters prior to the URL…
cdeszaq
  • 30,869
  • 25
  • 117
  • 173
2
votes
1 answer

Stripes: all URLs resolved through StripesDispatcher and forwarded to pre-compiled JSPs

Is it possible to have the StripesDispatcher be the sole determiner of webserver urls by looking at the @UrlBinding annotations on action beans AND also having those action beans forward to pre-compiled JSPs / servlets WITHOUT needing to define and…
Pedro DeKeratry
1
vote
2 answers

Laravel redirect away method redirects to own domain

I am coding a Laravel API hosted on api.url.com for an application hosted on www.myurl.com on a server different to the Lravel API using Laravel Fortify. The problem comes when the user verifies their email on the generated link, they are redirected…
William Garcia
  • 111
  • 2
  • 12
1
vote
0 answers

Getting angular app to work with NginX RP unmodifiable URL

we have been successfully hosting an angular 6 app internally within our organization. Now we need to host the app using NginX RP for external customers to access it. For some reason, we do not have control over the URL that NginX assigns to our…
1
vote
1 answer

Stripes URLBinding defaulting to wrong URL

Pretty simple, I have two Beans, each with their own URLBindings: @UrlBinding("/api/location/states/{state}") @UrlBinding("/api/location/states/{state}/cities/{city}") The first URL works as expected, but if I visit the second URL, Stripes matches…
jlewkovich
  • 2,725
  • 2
  • 35
  • 49
1
vote
2 answers

How to map root of Web App in Stripes to an ActionBean

I'm using DynamicMappingFilter and annotated URLs for all my actions. I'm trying to map "/" to an existing actionBean. The actionbean I want "/" to go to, is currently bound to "/categories". I found two ways, but I'm wondering if there is a better…
otterslide
  • 550
  • 6
  • 14
0
votes
1 answer

Stripes annotation @UrlBinding is not working correctly. 302 status code

I am having troubles with a stripes action beans. Introducing first http://localhost:9080/profesionales-sanitarios-war/medicos/publico/accesoInterno on the browser causes a 302 status code and redirects to AccesoActionBean The second time I…
0
votes
1 answer

UrlBinding parameters contain special characters

I'm passing parameters to @UrlBinding that contain special characters, for example: @UrlBinding("/url/test/{input}") where input=~!@#$%^-*()_+-=-][-;-.,---:-{}|-; (basically just a list of special characters) The resulting value gets cut off, so…
jlewkovich
  • 2,725
  • 2
  • 35
  • 49
-1
votes
1 answer

How to use binding parameters in $http service?

I need to make ajax request. I can do this: var categoryId = 152; var url = "/someurl/category/"+categoryId; $http.get(url); Is it possible to use binding with $http? Something like: $http.get("/someurl/category/:categoryId", {categoryId: 152});
Sharikov Vladislav
  • 7,049
  • 9
  • 50
  • 87
-1
votes
1 answer

Stripes ActionBean URL bindings

I'm trying to set up the Stripes calculator example application using Eclipse. I'm able to run the .jsp on the server, but as soon as I invoke an ActionBean by clicking one of the buttons (such as "add"), I get: ActionBeanNotFoundException: Could…
bkritzer
  • 1,418
  • 3
  • 16
  • 27