Hi I'm trying to create a mortgage calculator using Java (not Javascript) on a JSP page and I need to know if there's a way to set the values of textfield so that I won't have to send information from one page to another.

Recommended Answers

All 2 Replies

Hi I'm trying to create a mortgage calculator using Java (not Javascript) on a JSP page and I need to know if there's a way to set the values of textfield so that I won't have to send information from one page to another.

set the values by using <%=%>
ex.<input type="text" name="abc" value="<%=urValue%>" />
note that urvValue is the name of the variable storing the value you want to set in the text field..

Use cookies,session, database state.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.