Question: I have a site that has many users, each with their own mini-site. Part of this 'mini-site' is a blog. I'd like to show a tag cloud for each author. The basic cloud feature of Tag and Tagger will do this, but for ALL authors. Adding an author\_id doesn't work. 

I tried to use a channel entries loop to get all the entries by author, then show the tags associated with these entries.

```
{exp:channel:entries author_id="1" channel="blog"}
{exp:tag:tags entry_id="{entry_id}"}
<li>{title}<a href="#">{tag_name}</a><span>{total_entries}</span></li>
{/exp:tag:tags} 
{/exp:channel:entries}

```

This did get me a list of tags that only that Author has used (in Tag, it didn't work in Tagger). However if a tag was used more than once it would list it more than once. 

Native EE and Tag functionality won't let me do what I want to do. I'll probably need to use php (a plug in) to do this. Fetch all the tags an author has used, put them in an array, remove duplicates, then output this into my template. I did post at Solspace, but they said I'd need to use PHP. 

Before I did that I wanted to see if there is a simpler method or some other add-on that can do this. I would also welcome any tips on approaches in such a plug in if that is the way to go.

Answer: 
You inverted the two attributes. `locations` is where the files are in the web app root. `mapping` is the url-pattern used to access the resources from the browser. So the configuration should be 

```
<mvc:resources location="/resources/css/" mapping="/css/**"/>

```

As explained in [the documentation](http://static.springsource.org/spring/docs/3.1.x/spring-framework-reference/htmlsingle/spring-framework-reference.html#mvc-config-static-resources).
If you are using locations relative to root context of Tomcat, then you need to do it like this. The difference between this and the other answers is that I am including the application context in the location mapping:

```
<mvc:resources location="/webapp-name/resources/" mapping="/resources/**"/>

```

The attribute "mapping" is relative to classpath whereas "location" is relative to root of Tomcat. (NOTE: these are not 'relative' urls)

This config will provide access to resources in sub-folders, such as `/resources/css/*`