I have progect, in it i use Struts + Spring frameworks: Struts MVC, tiles; Spring IoC. When i go to page, the URL is: (e.g.) localhost/Project/NewsAction?actionMethod=edit. And when i reload page, it send request on server, but i want to redirect on page and cause the action when submit form. Page consists of tiles. I can make <tiles:insert definition="newsedit"> in jsp, and it will be work, but i must declare tiles only in tiles-def.xml.
there are two things which I clicked while I was read your post.
when you refresh page again action is got called. and again same page is getting displayed, instead of that you want to redirect to newsEdit page.
Means on refresh you want to submit a form.
OR
On form submission you want to show one more jsp on same page and your issue is how can you avoid displaying that on first time and display it on form submission?
Please tell which is the correct from above ?