Jump to content

[Solved] Problem with css and requests in Hibernate/JSF application


Recommended Posts

Posted

Hi, I deployed my .war file, but when I'm accessing my site, it is without styles, and when i hit button to login, it is adding leponton_ in front of my app name:

 

C9kDVNe.png

UQBw54o.png

Posted

This is by design. We do this so the folder name will not conflict with other users on the server. All WAR files deploy into a folder with username_ in front. The URL path however is determined by the filename only.

 

Your fix is to rename your war file to leponton_StudentsHouses2.war and redeploy it. This will cause your WAR's URL to become http://studentshouses.heliohost.org/leponton_StudentsHouses2/ instead and allow your scripts to find the CSS where it expects.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...