Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Trung Huynh
Browser alert resend information .
March 6, 2012 7:20 PM

Trung Huynh

Rank: New Member

Posts: 4

Join Date: February 25, 2012

Recent Posts

Hi everybody !!

I'm doing a portlet which view.jsp is form have some field and submit button , press submit , data sent to my method ( I use MVCPortlet ) .

After I had processed , portlet container call doView method to render .

Then when I refresh (F5) , browser display alert resend information you're previously ...

Explanation ?

Sorry about my English !!

Thanks !!
Jitendra Rajput
RE: Browser alert resend information .
March 6, 2012 9:33 PM

Jitendra Rajput

Rank: Liferay Master

Posts: 867

Join Date: January 7, 2011

Recent Posts

Browser is giving alert to notify that you are again trying to submit form . Its called duplicate submission.

You can avoid this kind of alert use actionResponse.sendRedirect() at the end of your process action.

For more explaination about this have a look