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
0
votes
2 answers

Subdomain URL Rewriting and Web Apps

So a lot of web apps have the customer choose their own subdomain, ie mycompany.webapp.com Presumably, every subdomain works off the same set of files and the unique subdomain is perhaps stored as a session object. So how does the URL rewriting…
0
votes
2 answers

MVC + Extjs + IIS6 + Wildcard Mapping = Post Form resulting in 302 object moved

Everything seems to work fine until i want to submit the form and update the database. Wildcard mapping works on requests like "/navigation/edit/1", but when i submit the form as: var ajaxPost = function(Url, Params) { Ext.Ajax.request({ …
Orkun Balkancı
  • 868
  • 1
  • 8
  • 19
0
votes
1 answer

wildcard_charcters.sitename routing issues

i would like to incorporate wildcard characters to my site. so previously it was www.mysite.com/user/mike or www.mysite.com/user/dave will look like mike.mysite.com or dave.mysite.com. i tried .htacces rewriting but those were of rewriting for…
Akki209
  • 123
  • 12
0
votes
3 answers

How to call custome URL action from Form action?

I followed this post and created a custom URL application. The action is getting called but the url shows with session id like http://localhost:8080/CustomURL%7Busername%7D.action;jsessionid=9C1FB3EB633209C18625BBB40EA61000 I want simply like…
Rajeshkumar
  • 815
  • 12
  • 35
0
votes
1 answer

sawmill Regular expression pattern

I have string with me : Strings are: "Receiving datame2->$@&CTData=d00Approved" **should match** "Receiving datame2->$@&CTData=^@^0YApproved" **should not match** I would like to write regex that…
Gtr_py
  • 3,511
  • 1
  • 12
  • 13
0
votes
3 answers

Wildcard mapping for ASP.NET and issues with PHP

I have an application written in .NET 3.5 with C# as the language. I'm using Web Forms, but using url routing with the routes defined in my global file. Everything is working as expected. In order for the pretty paths (see: user/665 instead of…
StephenPAdams
  • 2,797
  • 2
  • 30
  • 49
0
votes
1 answer

Request.ServerVariables["LOGON_USER"] blank when using ASP.NET wildcard application mapping

When I set up wildcard application maps so that asp.net handles requests (setting executable path to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll) LOGON_USER is blank when I access a page via site.com/directory/ -…
SamWM
  • 5,196
  • 12
  • 56
  • 85
-1
votes
1 answer

Is there a way to apply FNM_PATHNAME flag of fnmatch only for first instance of slash?

Hi I am trying to come up with a means to perform wildcard masking using fnmatch with certain rules. on finding first instance of slash '/' in string, it has to be matched exactly with slash ('/') in the pattern. i.e wildcard ('*') will not be able…
RBS
  • 3
  • 2
1 2 3
4