วิธีการทำให้สามารถใช้ชื่อ อื่น ๆ ได้นอกจาก Garment ของ Web ERP

September 17th, 2008 | by pichet |

เข้าไปแก้ที file BaseDispatchAction.java
ที่ function ActionForward dispatchMethod(…)
ตรง pageReq = request.getRequestURI() + “?”; ให้เพิ่ม

contextPaht = request.getContextPath();
pageReq = pageReq.replaceFirst(contextPaht, “”);

จากนั้นเข้าไปแก้ ที่ database ที่ table ADM_SCREENS
โดยใช้คำสั่ง

update ADM_SCREENS set URL = REPLACE(url, ‘/Garment’, ”)

Post a Comment