I have a requirement in a jsp web app, where a URL is taken as input from end user. This URL comprises of a fixed value (a list of possible url values from database that can’t be changed by end user) and a suffix (for url) that can be input by end user.
I want this fixed + suffix value to be populated into a text box in a form on same web page.
How do I do this? Also I want to ensure that the text box in which the final value is populated, is non editable.
Can the above be done using an HTML form? I would appreciate it if you could provide a code sample.
1 Answer