Greetings for the day. I have developed a web portal using jsp and struts 2. I have approximately 10 JSP pages which looks exactly the same and have two text areas and two hidden fields. All 10 pages are exactly the same except for hidden field value. Can't i have a single common jsp page. How can i achieve it. A sample page i am attaching...
As this is an Assignment page so hidden field value is assignment. If the page is OBJECTIVEs then value will be OBJECTIVE.
How can i do that?
Bear Bibeault wrote:Yes, the whole point of JSP is to be able to do things like that. Upon what criterial can you discern the differences between the pages? In other words, what data can be used to determine what goes on each different version of the page?
The hidden form field will distinguish the data.
It is an experimental device that will make my mind that most powerful force on earth! More powerful than this tiny ad!
ScroogeXHTML 7.2 - RTF to HTML5 / XHTML converterhttps://coderanch.com/t/692027/ScroogeXHTML-RTF-HTML-XHTML-converter