This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
The thing i wanna do is that when i have a Jsp with let us say orders for a customer when i click on an order numer i wanna get the details for that order and show it in a popup page instead of refreshing my entire page.
i placed the action mapping in the href section,
i placed the following in my head
in my Jsp i have my data ordered using the display tag library and one of the columns is:
The value "INTERN" is the primairy key for wich i will get the details.
In my Struts-XML i have the path:
purchaseOrderDetail.jsp is just an epty Jsp for now.
When i click on the gif my popup opens but i get this message in my popup:
Maybe i get the mappings wrong, or am i using the wrong tags, or values Could be something else.
If any one could help me out =D
Thanks in advance
[ December 07, 2007: Message edited by: Kevin Vercauteren ] [ December 07, 2007: Message edited by: Kevin Vercauteren ]
It looks like you may have neglected to include the context path when you constructed your URL. The URL should be "/myApp/purchaseOrders/showPurchaseOrderDetail.do" where myApp is your web context path.