I have a link in a submodule JSP as follows:

<a href='/editDocument.do?action=view&id=<bean:write name="document"
property="document_id"/>' title="View">View</a>

These links have stopped working since I have migrated to tiles. Do I now
need to hard-code the submodule so that the link now looks like:

<a href='/MYSUBMODULE/editDocument.do?action=view&id=<bean:write
name="document" property="document_id"/>' title="View">View</a>


also, what if my layout JSP is in a directory named layouts, which is on the same level as my submodule directories.


e.g.

/
|
| /layout/layout1.jsp
| /MYSUBMODULE/index.jsp

then do I need to say:

<a href='../MYSUBMODULE/editDocument.do?action=view&id=<bean:write
name="document" property="document_id"/>' title="View">View</a>


This doesn't seem like good code to me. Any help appreciated.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to