File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tile, Link, and Path Problem

 
JiaPei Jen
Ranch Hand
Posts: 1309
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using tiles. I have three piece of tiles: upperbar, sidelinks, and lowerbar. All three tiles are displayed with contents shown in the center
(toward right hand side) of the web page.

Now, I click on one of the links provided in the 'sidelinks' tile and I got this error message in the browser:

Http Status 400
Invalid path /ContentMgmt was requested

description The request sent by the client was
syntactically incorrect (Invalid path /ContentMgmt was
requested).


The link that I clicked on in the 'sidelinks' tile is coded this way:


In my tiles-def.xml, I have:

And I double checked the spelling and the type of extension of the content.jsp file. The file "is" in the C:\jakarta-tomcat-5.0.27\webapps\DHSInfo\frame\content directory.

Why the path is wrong?
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this:

<action path="/ContentMgmt" type="org.apache.struts.actions.ForwardAction">
<forward name="success" path=".frame.Content"></forward>
</action>
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic