Skip to content

Commit

Permalink
修改定死的contextpath, 从API中获取contextpath
Browse files Browse the repository at this point in the history
  • Loading branch information
ufologist committed Apr 18, 2014
1 parent 2e799d2 commit 70208ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/taobao/rigel/rap/common/SystemSettings.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ public class SystemSettings {
.getServletContext().getRealPath("/");
public static final String STATIC_ROOT = APP_PATH + "stat" + File.separator;

public static final String projectContext = "/rap";
public static final String projectContext = ServletActionContext.getServletContext().getContextPath();
}

0 comments on commit 70208ed

Please sign in to comment.