I am Java newbie. What is the location of localhost?
I am placing my css file at this location C:Test WorkspaceMyAppcssFiles
Test Workspace is the name of my eclipse workspace.
In the jsp (in MyApp) where i am using the css file, i have written:
<link rel="stylesheet" type="text/css" href="/MyApp/cssFiles/BackgroundIMGE.css" media="screen">
But while running the application in chrome, error comes like this
GET http://localhost:8080/MyApp/cssFiles/BackgroundIMGE.css http://localhost:8080/MyApp/cssFiles/BackgroundIMGE.css Failed to load resource: the server responded with a status of 404 (Not Found)
Maybe i am doing mistake in giving the correct location.
Aucun commentaire:
Enregistrer un commentaire