The following commentary comes from an independent investor or market observer as part of TheStreet's guest contributor program, which is separate from the company's news coverage

.

NEW YORK (

InvestorPlace

) --

Wal-Mart

(WMT) - Get Walmart Inc. Report

has been taking a beating lately.

Disappointing Wal-Mart earnings showed higher costs sapped profits, and the retail giant recently lowered its full-year forecast.

Costco

(COST) - Get Costco Wholesale Corporation Report

and others continue to

overshadow Wal-Mart in the discount marketplace . WMT stock has gone pretty much nowhere in two years.

But there are signs that things could be turning around. The company has stopped its slide in U.S. same-store sales at its namesake Walmart stores recently, and is embarking on an ambitious campaign to tap into urban markets.

Also see: Why Wal-Mart is better than Target

Ground zero for this expansion is Washington, D.C., where the big-box retailer plans to open six Walmart stores.

TheStreet Recommends

Wal-Mart has been working on a scheme to open stores in the nation's capital for some time, but this week the company announced it will be rolling out two more stores than originally planned. The locations include neglected urban areas with few retail options and persistent unemployment. City leaders partnered with Wal-Mart with the idea that new stores would provide a much-needed shopping alternative for residents and offer up new jobs. The retailer claims its stores will create a total of 1,800 retail jobs and 600 construction jobs.

Also see: 5 Best Black Friday Electronics Deals of 2011

Critics, of course, worry the move will drive out mom-and-pop retailers and offer jobs that offer minimum wage instead of a livable wage.

Whether the move is right for the District and its residents is one thing, but it's a no-brainer for Wal-Mart. Typically relegated to small-town America and the suburbs, WMT has struggled to connect with urban shoppers that represent a huge area of opportunity. Rivals like

Dollar General

(DG) - Get Dollar General Corporation Report

and

Dollar Tree

(DLTR) - Get Dollar Tree, Inc. Report

have been eating Wal-Mart's lunch with smaller locations in strip malls. Dollar Tree -- including the company's latest earnings, reported Thursday -- has seen 13 straight quarters of year-over-year profit growth, and Dollar General has seen 10 in a row.

Also see: It's time to privatize the Postal Service

The fact that Wal-Mart, the world's largest retailer, has struggled amid an economic downturn is very counterintuitive. One would think that persistently high unemployment would appear to work in the favor of discounters like Wal-Mart.

But clearly just offering low prices is only part of the equation. Wal-Mart hopes it can see big gains by pushing into a D.C. area with less competition and no current Walmart presence. You can be sure that if this model shows material success, the big-box giant will be eyeing other urban areas very soon.

Jeff Reeves is the editor of InvestorPlace.com. Write him at editor@investorplace.com, follow him on Twitter via @JeffReevesIP and become a fan of InvestorPlace on Facebook . As of this writing, he did not own a position in any of the aforementioned stocks.

More From InvestorPlace

Get the latest IPO date and IPO offering news for the hottest picks on Wall Street

Mitt Romney: dull, cerebral and your GOP nominee

Disney CEO to fill Steve Jobs' spot on Apple board

This commentary comes from an independent investor or market observer as part of TheStreet guest contributor program. The views expressed are those of the author and do not necessarily represent the views of TheStreet or its management.