Dot-com survivor CafePress is one of two tech ventures going public on Thursday.
NEW YORK (CNNMoney) -- It's a hot week for public debuts. Shares of two tech-related companies, CafePress and Millennial Media, gained in their initial public offerings Thursday.
Founded in 2006, Millennial Media has emerged as a competitor to behemoth rivals Apple ( , Fortune 500) and Google ( , Fortune 500). Facebook, which has dominated in display advertising, has so far ignored the mobile ad sector -- though that may change soon. Facebook said last month that it would start expanding into mobile ads.
Like many other newly public startups, Millennial Media is not profitable. Its losses narrowed sharply last year as its sales increased. Millennial took a net loss of $287,000 in 2011 on sales of almost $104 million. In 2010, the company recorded a net loss of more than $7 million on sales of nearly $48 million.
CafePress (), which was founded in 1999, also began trading Thursday on the tech-heavy Nasdaq.
CafePress opened at $21.50 , but the stock was trading at $20.46 late in the session. The company, which was founded in 1999 and survived the early-2000s dot-com bust, prints custom designs on items like T-shirts and mugs.
It priced its IPO at $19 a share, above the $16 to $18 range it had set previously.
Unlike Millennial Media, CafePress made a profit last year. It netted $3.6 million on $175.5 million in sales. That's up from a $2.7 million profit and almost $128 million in revenue for 2010.
CafePress and Millennial are just two of 10 companies expected to go public this week. On Wednesday, organic food company Annie's (closed 89% higher after pricing at the top of its range.
Two other companies that went public Wednesday also surged. Vocera Communications ( ), a maker of health care technology, closed 32% higher, and consumer finance company Regional Management ( ) finished the day up nearly 10%.
|What we want Apple to unveil at WWDC|
|Millennials squeezed out of buying a home|
|7 traits the rich have in common|
|Big Data knows you're sick, tired and depressed|
|Your car is a giant computer - and it can be hacked|