Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Tag Questions

 
Anthony Smith
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<jsp:useBean id="categoryBean" class="gsptech.portal.beans.CategoryBean"/>

The following line works with Tomcat (inside of Jetspeed) but I tried to import it into Weblogic and it did not work.

The prefix is jsp right? But I never did a declaration like this...
<%@ taglib uri="jsptags.tld" prefix="jsp" %>
And it still worked.
I wouldn't know what to put if I had to do a declaration.
 
Roy Ben Ami
Ranch Hand
Posts: 732
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the jsp tag is standard. u dont need to declare it.
for additional tags u need to declare them.
<jsp:useBean and <jsp:incluse etc are all valid without the @taglib directive.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic