public void goToSignUpPage(String html)
{
//String html = MusicPie.html
String url = GWT.getHostPageBaseURL() + html;
if(!GWT.isProdMode())
{
//Window.alert("We are in development mode!");
url += "?gwt.codesvr=127.0.0.1:9997";
}
Window.Location.replace(url);
}
사용법은 그냥
goToSignUpPage("HtmlFileName.html");
'Web Program > GWT' 카테고리의 다른 글
GWT 새창 띄우기 (0) | 2014.07.04 |
---|---|
[2] GWT + Maven SmartGWT Showcase Layout (0) | 2014.07.04 |
[1] GWT + Maven New Module EntryPoint (0) | 2014.07.04 |
[5] GWT + Maven Login Service Session 연동2 (0) | 2014.07.02 |
[4] GWT + Maven Login Service Session 연동 (0) | 2014.07.01 |
댓글