GeeCON Prague 2014*
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
Author

Obtain resources from Login page.

Federico Nafria
Greenhorn

Joined: Sep 30, 2010
Posts: 9
hi!

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?

Thanks!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16101
    
  21

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: http://aspose.com/file-tools
 
subject: Obtain resources from Login page.