aspose file tools
The moose likes Struts and the fly likes Are these tags OK to have with no Internet Connection? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Are these tags OK to have with no Internet Connection?" Watch "Are these tags OK to have with no Internet Connection?" New topic
Author

Are these tags OK to have with no Internet Connection?

Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 949
I have a user who's having trouble with a Struts JSP.

He is worried that the tags at the top of the JSP "require" an Internet connection. However, I've tried them with no connection and all works OK?

Should these tags point, instead, to a Struts tag lib internal to the project or are they OK as is?

Thanks in advance.

Mike


<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16483
    
    2

Notice that those tags are URIs. (At least, that's what the name of the attribute is.) People tend to confuse those things with URLs. A URI is a Uniform Resource Identifier, whereas a URL is a Uniform Resource Locator. As the latter article says, the two concepts are frequently confused.

In short, the URI is a name for a resource. That resource doesn't have to be located at any particular place; if it did, that would make the URI be a URL.
Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 949
Hi Paul,

Thanks for your reply. I was ust trying to confirm that no internet connection means no problem, and you've confirmed -- since URI != URL.

Thanks!!!

Mike
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Are these tags OK to have with no Internet Connection?
 
Similar Threads
Can't add taglib element to web.xml
DispatchAction Problem in Struts 1.3.10
Struts 1.3.5 Tiles Issue
How to Avoid directives redundancy
tld files for struts 1.3.5