본문 바로가기
Web Program/GWT

GWT 다른 Module EntryPoint Page 이동

by 학수씨 2014. 7. 4.

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");

댓글