• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Are these tags OK to have with no Internet Connection?

 
Mike London
Ranch Hand
Posts: 1185
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 20719
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1185
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic