If you can see response from tomcat server in your browser then certainly 
your go example can't bind to that port, try other port. Secondly when you 
put the address in the browser bar you are going to execute http GET. 
Finally, in your example the template is only prepared but not applied in 
response to any request. You have to reply to the request, i.e. write to 
http.ResponseWriter.

Happy coding!


On Saturday, March 21, 2020 at 10:21:50 PM UTC+1, Krishma Shah wrote:
>
> I have tried crud example for insert query and in cmd i m getting 
> http://localhost:8080 but when i search this url on google chrome  i m 
> getting tomcat,So can u please help me out what changes are required.
> For your reference i have attached go file and template file
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/b0d9a494-0607-4a0f-a6ed-e94b3a37dd95%40googlegroups.com.

Reply via email to