Hi all,
I am trying a web application.Build is successful but im getting a run-time error saying
"Cannot find the template file in the path:logincontroller/login.tpl"
| Request Method: | POST |
| Request URL: | /login |
| RemoteAddr: | [::1]:56744 |
In command prompt im getting this error
2014/10/30 10:50:48 [C] the request url is /login
2014/10/30 10:50:48 [C] Handler crashed with error can't find templatefile in th
e path:logincontroller/login.tpl
2014/10/30 10:50:48 [C] c:/go/src/pkg/runtime/panic.c:248
roller.go:253
roller.go:179
er.go:743
2014/10/30 10:50:48 [C] c:/go/src/pkg/net/http/server.go:1673
2014/10/30 10:50:48 [C] c:/go/src/pkg/net/http/server.go:1174
2014/10/30 10:50:48 [C] c:/go/src/pkg/runtime/proc.c:1445
In the controller, i have used the following code:
func (this *LoginController) LoginView() {
this.TplNames = "login.html"
}
Please help me out with this.
Thanking You