This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Why do you want to store the value entered in the textbox in a String variable ? If you want to get the value entered in the text at the server side, use request.getParameter("view") (assuming view is the name of your text box). If you need to get the value entered in the text at the client side go as per Pankaj's advice.
you will have to make one thing clear in your mind first.
Life called,so here I am.<br />Cheers<br />Niki.:-)