File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
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: 1034
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: 18129
    
    8

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: 1034
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://aspose.com/file-tools
 
subject: Are these tags OK to have with no Internet Connection?
 
Similar Threads
DispatchAction Problem in Struts 1.3.10
Can't add taglib element to web.xml
How to Avoid directives redundancy
Struts 1.3.5 Tiles Issue
tld files for struts 1.3.5