Hi, everyone 

I have problems linking displaytag with action/form/struts-config.xlm. 

This is what I have: 
MenuAction
- initialize the arraylist "messageList" 
- servletRequest.getSession().setAttribute("messageList",
messages.getMessageList()); 
- forwards = "Message.jsp" 

Message.jsp
<display:table name="sessionScope.messageList" class="dataTable"
pagesize="16" cellspacing="0"> 
<display:column property="serviceId"/> 
<display:column property="incomingDate"/> 
<display:column property="ani"/> 
<display:column property="dni"/> 
<display:column property="message"/> 
<display:column property="deliveryDate"/> 
</display:table> 

When I click next on paging-menu I've got 
java.lang.NullPointerException 
at org.apache.jsp.WEBSITE.Messages_jsp._jspService 

I read on other post to set displaytags' attribute requestURI="" but it
doesn't work either. I know I have to configure something on
struts-config.xlm and create an action class associated with this. 

I'll appreciate any help you can give me on this. 

Best regards, 

Francisco 

PD. I'm using Tomcat as application server




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to