I am developing a web app which displays sales from local stores around the United States. The sales and stores listed vary by location. Is there a RESTful URL scheme for describing this information while avoiding duplicate content?
Specifically, the app needs to list local stores, and list items sold at a particular store. Zip (postal)...
When someone logs on to my site. I want to direct them to their own home page. If the user has the id of 1. They would go to
http://www.test.com/Home.aspx?id=1
I already have the login and id setup. I am not sure how to incorporate it into the url.
...
Hi friends,
I am using shared delegate for getting data on url connection. I getting a memory leak on my code. Can anybody please tell me what i have done wrong. Thanks in advance.
Analyser Warning:
/Users/sathish/Documents/XXX 20100908 ManageMem/Classes/Data Download/XXX DataConnect.m:68:22: warning: Potential leak of an object alloc...
a little problem for ya.
in master page i have a search input and link:
<input type="text" value="Searche..." name="txtSearche" id="txtSearche" style="vertical-align: middle; height:14px;" />
<%= Html.ActionLink("search", "Search", "Search", new{ searche = "txtSearche???what is here"}, null) %>
how can i write value in url "value" fr...
I need a transition page that will display for 2 seconds before automatically redirecting to the home page. How do I do this? I can't seem to get delay to work for me.
...
I feel like there is a easy answer to this but I don't know it.
I have a app that uses base template with a html link to the user's home page '../home/', but once you get 2 levels into the site, that link can't get back to the home page level.
For example, the user logs in and goes to www.yadda.com/home. When a user selects a book (...
I have multiple domain names, all pointing to the same wwwroot.
www.domain1.com
www.domain2.com
www.domain3.com
my folders look like this:
/domain1-folder
-->/domain2-folder
-->/domain3-folder
I use the global.asax as following:
protected void Application_BeginRequest(Object sender, EventArgs e) {
if (Request.Url.Host == "...
Hi guys,
I am struggling with generating outbound urls in asp.net mvc 2. Here is the scenario.
Controller: MoveController
Action: Index()
View: Index.aspx
Now what I would like is to have multiple urls mapping to same controller (MoveController) and action (Index) with different parameter (locationId) value
e.g.
url -> Rout...
I have a regex in c# that i'm using to match image tags and pull out the URL. My code is working in most situations. The code below will "fix" all relative image URLs to Absolute URLs.
The issue is that the regex will not match the following:
<img height="150" width="202" alt="" src="../Image%20Files/Koala.jpg" style="border: 0px solid...
I've found very odd thing about using reverse in Django 1.2.1.
I have:
myapp/
views.py
urls.py
in urls.py
from django.conf.urls.defaults import *
urlpatterns = patterns('myapp.views',
url(r'^$', 'browse'),
)
in views.py
from django.shortcuts import render_to_response
from django.core.urlresolvers import reverse
print reve...
Relatively new to php and looking for some help in updating links on a specific page. The page has numerous links eg. href=/link/ and I would like to code the page to identify these links (links that do not already have http or https) and prepend with a url eg. www.domain.com to each. Basically ending up with href=www.domain.com/link/. ...
Hi, is there a way to find out where to point (http://theserver/theapp/thewsdl.wsdl) from reading a descriptor from the war file generated? (it's a WAS app server)
Thanks
...
Dear Android guys.
I am developing an application of Twitter -Client. i got lots of hint form this site. i write some come that is
import oauth.signpost.OAuthProvider;
import oauth.signpost.basic.DefaultOAuthProvider;
import oauth.signpost.commonshttp.CommonsHttpOAuthConsumer;
import twitter4j.Status;
import twitter4j.Twitter;
i...
Hello,
I'm doing a site which supports multiple languages. At the moment, I’m doing like /en/… in the URL path and using .htaccess to determine which language the user is on. Actually, this is very common for sites with multiple languages to either do http://en.example.com or http://example.com/en/.
My question is: Why is it so common ...
I want to use the following format of my url:
http://localhost/{url}/{options}/{hash}
But since the url will be very strange with a url inside a url, how would I encode that?
I was thinking of encoding it in hex, since url encoding in .net gave me some strange result that didn't work inside a url. But I don't really know what would ...
I have a content type with a hyperlink column.
If I create a page based on that content type and point the hyperlink field to a document in a library on our public url (eg: http://internet.test.com/documents/test.pdf) the url gets changed to point to the intranet/administration site (eg: http://**edit**.test.com/documents/test.pdf) whic...
Hello friends
Recently I am working with xml parsing function for iphone. I am viewing thumbnail image in my uitableviewcell through webservice. Its working perfect.
Now I got requirement like that....in webservice there are two urls for images. In case url1 could not retrive image or couldnt connect, then image should be displayed by...
I have a piece of Java code that opens a HTTP connection, writes data on that and then retrieves the response code. Since, the connectin was fine it should get HTTP_OK (i.e 200) but it is getting 1 in return.
This is baffling as 1 appears nowhere in the Http Response code specification. Could anyone throw some ideas on the potential pro...
I'm a javascript guy getting too deep into php (even though this question is not deep).
I am passing two different variables in the url from file to file. One goes across fine while the other does not.
I have 2 files. upload.php and uploadfiles.php.
The params help construct the destination to which the files are uploaded.
The two pa...
Hi,
When a form action URL was changed dynamically, when the form submit, it will still use the default action URL, anybody know why? Please see a simple example below:
<form action="test.php" method="get" id="test">
<select name="id" onChange="formSubmit(this)">
<option value="abc">abc</option>
<option value="xyz">xyz</opti...