I understand that something is wrong with either the "<link href="<s:url value="/css/main.css"/>" rel="stylesheet" type="text/css"/>" command or perhaps with the main.css itself?
Yes, the main.css is in the css folder. -smiles-
Any tips on how to fix it are highly appreciated!
Please put your code in code tags; it's much, much easier to read.
It appears as though you're not accessing the page through an action, but instead directly accessing the URL. The use of S2 custom tags implies the presence of a value stack, which implies that they'll always be accessed through an action.
This is good design anyway; exposing JSP pages/fragments directly to users is not usually recommended when using a web app framework.
Joined: Feb 13, 2009
Sorry about that, I'm new to forums aswell -smiles-
I managed to fix the problem with some help from a friend.
He told me to put a filtermapping in the web.xml, and it worked.