aspose file tools
The moose likes JSF and the fly likes Obtain resources from Login page. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Obtain resources from Login page." Watch "Obtain resources from Login page." New topic

Obtain resources from Login page.

Federico Nafria

Joined: Sep 30, 2010
Posts: 9

I'm using a a login page defined in web.xml

What is the best way to retrieve resources like CSS or Images to be used in the login page?

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16460

What do you mean "best method to retrieve resources"?

A login page is just like any other JSP. You "retrieve" the resources by coding their URLs in HTML tags. It's better if those URLs are not secured URLS (since you're not secured yourself yet!), and you can have problems when the page or page resources invoke complex platforms such as JSF or Struts. But other than that, it's business as usual.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: Obtain resources from Login page.