Questions tagged [wildcard-mapping]

An action mapping that uses wildcards in the action name attribute to configure actions in the Struts 2 framework. Wildcards can be used to combine similar mappings into one more generic mapping.

Wildcards, and their possible applications in Struts2 action mapping are both diverse and powerful.

Rather than attempt to explain it all here, just go read the article here: https://cwiki.apache.org/WW/wildcard-mappings.html

53 questions
1
vote
1 answer
1
vote
1 answer

Wrong URL match in action mapping

true HomePartner {1} {2}
user2997534
  • 323
  • 1
  • 3
  • 11
1
vote
1 answer

How do I handle multiple actions in single form in wildcard action mapping?

According this solution Struts2 handle multiple actions... I know the Struts2 DMI can handle multiple acitons in single form easily. Recently, Struts2 turned off DMI mechanism for security issue. Now, we use Wildcard Mappings to map all actions in…
Ashkandi
  • 63
  • 2
  • 12
1
vote
1 answer

Problem using custom HttpHandler to process requests for both .aspx and non-extension pages in IIS7

I am trying to process both ".aspx" and non-extension page requests (i.e. both contact.aspx and /contact/) using a custom HttpHandler in IIS7. My handler works just fine in either one case or the other, but as soon as I try to process both cases, it…
1
vote
3 answers

Custom error page for extension less urls

I have a DotNetNuke 7 website and I have enabled custom errors like so: I also want to add such errors for…
Vaibhav Garg
  • 3,630
  • 3
  • 33
  • 55
1
vote
1 answer

How to apply a global dynamic result path prefix in Struts 2?

I have a website using Struts2 as the MVC framework. I need to re-skin the JSPs. I need to have the old JSPs accessible alongside the new JSPs. So I have added a root folder of /newdesign/ and copied all of the existing JSP folders into it. So if…
1
vote
2 answers

ASP.Net MVC Wildcard Mappings IIS 6.0 - Page Can Not be Found

I added wildcard mappings to my website in IIS 6.0 so that my MVC application works properly but now I get a page can not be found for every request. Once wildcard mappings are inserted I can not browse to a test html file I created or any of my…
Miyagi Coder
  • 5,464
  • 4
  • 33
  • 42
1
vote
2 answers

Personalized URL in Struts 2

I'm currently developing a Struts 2 web application that allow anonymous usage. I want that with anonymous user, the URL will be like: http://localhost:8080/myapp But after user logged in, the URL will be personalized base on user name, for…
Doan Cuong
  • 2,594
  • 4
  • 22
  • 39
1
vote
4 answers

Why does IIS wild card mapping break my AJAX calls?

I'm trying to use jQuery to make some AJAX calls, but because I have wild card mapping (to .NET) in IIS 6 turned on, it doesn't seem to work. Disabling the mapping makes everything magically work. I've put the web method attribute on methods in…
John B
  • 20,062
  • 35
  • 120
  • 170
1
vote
1 answer

Using Servlets and JSP together resulting in unexpected looping

I'm trying to use Servlets as a controller layer and JSPs as a view layer. Many of the examples/tutorials I've read suggest doing somehting like this: public void doGet(HttpServletRequest request, HttpServletResponse response) throws…
Jeremy Logan
  • 47,151
  • 38
  • 123
  • 143
0
votes
0 answers

Struts2 Wildcard mapping not working while using Struts2 REST api implementation

I am trying to implement the SEO friendly URL something like /movies/{id}/actors/{actor_id} to point out to the actor details of a particular movie. So I tried using the Advanced Wildcard mappings, but it isn't working when I have the REST API…
Kavin Raju S
  • 1,214
  • 2
  • 17
  • 25
0
votes
1 answer

Unable to add wildcard scriptmap on IIS 6.0 programatically

I have created a Web Setup project using VS 2008. I have created a custom action to programatically add a wildcard scriptmap for my virtual directory. The app installs fine, but, during custom action, fails to add scriptmap. I've tried this on Win…
vamyip
  • 1,161
  • 1
  • 10
  • 35
0
votes
1 answer

Apache wildcard at domain level

I have few sites, and they all have identical setup on a single server. Now, instead of the separate configuration file for each of them in sites-enabled directory, I want to have a common file. Idea is this: www.abc.com should have /var/www/abc …
0
votes
1 answer

HttpContext.Current.CurrentHandler is null in Context_PreRequestHandlerExecute (IIS integrated mode)

Helo community, I migrate my application to the IIS integrated mode. (IIS 7.5) I'm using the IIS wildcard mapping, so every request is processing through my application. In the classic mode I get for each unhandled request a…
Beni
  • 525
  • 1
  • 4
  • 6
0
votes
1 answer

RxAndroid subscribing on objects content change

I'm very new with RXJava. I'm defining multiple Subjects that need to do pretty much the same thing in initialization, but their generic types are different. Currently my solution looks like this: BehaviorSubject mUpdateSubject =…
Nabuska
  • 443
  • 9
  • 17