i have jsp page using html tags within,
now on checking of the check box some of the fields present in the page should be copied to another fields.
i dentified that if i tried to "name" the field to be copied problem started.
here is my code snippet:
please guide me shoot this problem.
Bear Bibeault ,
thanks for reply.
Bear Bibeault wrote:First things first, does the page ever show up? At what point does it "go blank"?
And remove the XML directive from the first line; what's that doing there?
well page doesnt show up. as suggested wii remove the xml tag.
all this started when i added name attribute in html:text
Bear Bibeault wrote:In that case, problems with a Struts tag should be discussed in the Struts forum. I have moved this post there for you.
my page do have the struts tag libs, but i didnot copy them earlier in code snippet.also my project involves struts,springs,hibernate.
here below i post my full code for jsp with out removing the xml directive .
jatan bhavsar wrote:Hi Raj,
Why you have not included any struts tag library?
Thanks for reply,
all the needed taglibs were inluded, complete jsp code was posted above.
Actually i just added a script fun in existing jsp page in my project and few lines of code to add checkbox functionality to copy data in the same jsp to the newly added text fields i created.
I added name attribute to one of existing <html:text> tag (source ) and to newly added <html:text > tag (destination)
so, i believe problem might be around name attribute