Re: 2 jsp files using the same form

2007-08-29 Thread Anna Simbirtsev
This is how the submit button is defined: varimage is defined as a tag in app.tld file: varimage /struts/taglib/varTag accesskey false true alt false true

Re: 2 jsp files using the same form

2007-08-28 Thread Oleg Mikheev
Anna Simbirtsev wrote: Hello I have 2 screens that use the same form. The form class has a validate function. To distinguish which screen(jsp file) is using the form I do the following in jsp files: <% session.setAttribute("page", "add") %> <% session.setAttribute("page", "add_2") %> Then in th

2 jsp files using the same form

2007-08-28 Thread Anna Simbirtsev
Hello I have 2 screens that use the same form. The form class has a validate function. To distinguish which screen(jsp file) is using the form I do the following in jsp files: <% session.setAttribute("page", "add") %> <% session.setAttribute("page", "add_2") %> Then in the form class I grab that