[jboss-user] [JBoss Portal] - actionURL in jboss-portletcontainer-2.0.0
terroene
do-not-reply at jboss.com
Thu Jul 3 04:38:40 EDT 2008
Hello again,
sorry, but another question concerning Portlet-Container 2.0:
What am I doing wrong with the actionURL???
This is a jsp for a portlet in view-mode,
submitting the form causes the exception below.
The jsp:
| <%@page contentType="text/html"%>
| <%@page pageEncoding="UTF-8"%>
|
| <%@ page import="javax.portlet.*"%>
| <%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>
|
| <portlet:defineObjects/>
|
|
| <form action="<portlet:actionURL/>" method="post">
| <input type="text" name="username" value="" />
| <input type="text" name="userpassword" value="" />
| <input type="submit" value="OK" />
| </form>
|
The exception (Index is the jsp containing the portlet!):
| 10:29:03,976 ERROR [[Index]] Servlet.service() for servlet Index threw exception
| java.lang.NullPointerException
| at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:630)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:4
| 74)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
| at org.jboss.portal.portlet.portal.jsp.ControllerFilter.doFilter(ControllerFilter.java:1
| 20)
| at org.jboss.portal.portlet.portal.jsp.ControllerFilter.doFilter(ControllerFilter.java:9
| 1)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha
| in.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
| 206)
| at org.jboss.portal.portlet.portal.ErrorHandlingFilter.doFilter(ErrorHandlingFilter.java
| :61)
| at org.jboss.portal.portlet.portal.ErrorHandlingFilter.doFilter(ErrorHandlingFilter.java
| :53)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha
| in.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
| 206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha
| in.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
| 206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValv
| e.java:179)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.j
| ava:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protoco
| l.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| at java.lang.Thread.run(Thread.java:595)
|
|
Thanks and best regards,
rene
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162262#4162262
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162262
More information about the jboss-user
mailing list