Method to open another jsp page in Javascript
===

I am trying to use buttons in an html/javascript program to redirect someone to another one of my pages. Basically, I created a .jsp page that gives the user some buttons to click. If the user clicks a button, it calls a method that is supposed to open a new .jsp page that I created under the same project. However, I have no clue how to do this as I am brand new to Javascript and HTML. I provided an example below:

**Sample Page**

    <html>
    <title>Web Page</title>
    <body>
               
        <p>Please click a button to redirect you to the page you wish to go to.</p>
        
        <br>
        
        <form>
            <input type="button" id="idname" value = "General Info " onclick="goToInfo()"/><br>
        </form>
        
        <br>

        <form>
            <input type="button" id="idname" value = "Other Information" onclick="goToOther()"/><br>
        </form>
        
               

        <script type="text/javascript">
            function goToInfo(){
               
            }
            
            function goToOther(){
               
            }
            
            </script>
    </body>
    </html>

*For example, I have another page in my NetBeans project that is called "GeneralInfo.jsp" and I want `goToInfo()` to be able to redirect the person to that page. Thank you for your help.