File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes CSS,  HTML, Images not visible Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "CSS,  HTML, Images not visible" Watch "CSS,  HTML, Images not visible" New topic

CSS, HTML, Images not visible

M Rama
Ranch Hand

Joined: Mar 04, 2005
Posts: 91
I am using WSAD 5.0 and am deploying my app on Websphere Application Server Version 5.

I have a bunch of jsps which I can test and run normally in my WSAD. When I deploy it to the WAS, the CSS is not there. I can't get to the images or HTML either.

The closest I came with this was in the web deplyment descriptor file, If I disable the property "File Serving Enabled" the WSAD doesn't show me the CSS. But I have it enabled when I create my EAR file, but WAS doesn't like it. Is there some other property I should be looking at?

I know there is another app which works fine. I compared the web.xml, application.xml etc and I can't find any difference.

Does anyone have any thoughts?

Thanks in advance.
M Rama
Ranch Hand

Joined: Mar 04, 2005
Posts: 91
I figured out the answer by searching this forum. I did the Update Web Server plugin and it worked. Also, using port 9080, it was already working.

The moderators may delete this thread, if needed.

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 31079

Thanks for posting the answer. We prefer not to delete the threads to answered questions, so others can learn from the response.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
It is sorta covered in the JavaRanch Style Guide.
subject: CSS, HTML, Images not visible