> Someone can explain why followUp is mandatory in dbform tag > instead of optional and use request.getRequestURI() as default value ? > > Making this attribute optional make easier to move pages > between directories and reuse parts without making changes.
I think this a good idea. But we can not use getRequestURI() directly. getRequestURI() includes the server path so we should build the difference between getContextPath() and getRequestURI(). Example: getContextPath() returns /bookstore getRequestURI() returns /bookstore/tests/testBOOKSSingle.jsp followUp contains /tests/testBOOKSSingle.jsp so result should subtract the leading context path. Regards, Henner ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms