You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Anthony Smith <an...@fedex.com> on 2001/09/07 17:29:04 UTC

jsp/tag/???

If I take one of the jsp pages located in templates/jsp/layouts/html

and place them in another folder I created called jsp that is located right
under the jetspeed folder.

I changed the taglib  uri to read....

<%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed'
%>

Now I called the page without using a servlet and I get a Servlet Exception.

I looked at the logs and stuff and it does not seem to like this line in the
jsp page

 <head>
  <base href="<jetspeed:uriLookup type="BaseURL" />">
  <link href="css/default.css" type="text/css" rel="stylesheet">


</head>

How can I fix this? Basically I just want to be able to access jsp pages
without having to use servlets?

HERE IS THE ERROR
[Fri Sep 07 10:13:38 CDT 2001] --  ERROR  -- Error processing uriLookup-tag,
parameter: BaseURL
	Exception:  java.lang.NullPointerException
	Stack Trace follows:
	java.lang.NullPointerException
	at
org.apache.jetspeed.util.URILookup.getWebAppBaseDirURI(URILookup.java:682)
	at
org.apache.jetspeed.services.jsp.tags.URILookupTag.doStartTag(URILookupTag.j
ava:184)
	at
jsp._0002fjsp_0002ffaq_0005flayout_0002ejspfaq_0005flayout_jsp_4._jspService
(_0002fjsp_0002ffaq_0005flayout_0002ejspfaq_0005flayout_jsp_4.java:67)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
va:130)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:282)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
	at org.apache.tomcat.core.Handler.service(Handler.java:287)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
	at java.lang.Thread.run(Thread.java:484)


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org