That actually looks to be correct behavoir.    If your URL is
www.myserver.com/myapplication/ , then going to .. takes you to
www.mysesrver.com/myapplication  (no trailing slash).  Then going to
/css/styles.css takes you to www.myserver.com/myapplication/css/styles.css

Where is your CSS file stored?  It should be in webapp/css.

If you go to http://www.myserver.com/myapplication/css/style.css in your
browser, is the file found?

-Doug


danielepiras wrote:
> 
> Hi,
> 
> I'm developing an application that run on www.myserver.com/myapplication/
> In my Index.html page, I include a css:
> <link rel="stylesheet" type="text/css" href="css/style.css"/>
> 
> The problem is that wicket transform href url and if I give a look to the
> page source I find:
> <link rel="stylesheet" type="text/css" href="../css/style.css"/>
> 
> So the css is not found because is refer to www.myserver.com/css/style.css
> and not www.myserver.com/myapplication/css/style.css
> 
> What I have to do?
> Thank you very much
> Daniele
> 

-- 
View this message in context: 
http://www.nabble.com/Url-resolve...-tp17203548p17206860.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to