English 中文(简体)
力量。 采取行动后返回同一页
原标题:Struts. Go back to same page after an action

我的情况如下:

我与菲律宾统计局、Stuts和许多行动共同开展了一个项目。 请允许我说,我有这3个主要团体(联系人:do,日历.do和附注.do},各自采取许多行动。 我的行动与所有这些行动毫无关系,但我不知道我为什么选择接触。

我的目标是在采取行动之后,回到第1页,但是由于行动是在接触中进行的,它恢复了接触的缺席行动。 我是否为此做了任何工作?

谢谢。

最佳回答

我很久以前就解决了这个问题,但愿放弃。

我这样做的是将行动转向新的共同财产制网页。 仅此法:

<script>
history.go(-1);
</script>

因此,当该网页装上时,正如我所需要,该网页又回头去了前奥。

问题回答

暂无回答




相关问题
Struts 1.2.9 Action Chaining

I m having trouble calling a method in one Struts action from a method in another Struts Action (I ve been told that this is possible). I m working with two Struts DynaValidatorForms - one is used to ...

Java Struts Report

I am writing an excel report using an action,controller, servlet struts framework. The report is very congested and has already around 10 separate queries. I need to add about 10 more queries due to a ...

Struts Tiles 1 - nested tiles issue

I am using Struts tiles 1 succesfully, however I have come across a problem when trying to nest tiles. I currently have a layout like so: I wish to have another template like this, for use in quite ...

array as hidden variable

can array be used as hidden variable on jsp.....like I have a form i.e a simple java class,I want it to be as hidden variable can I do it.. Thanks in advance

GZIP JSON AJAX response text is empty

I am facing a problem, while encoding the response that I send back for an AJAX request, using GZIP. Can anyone give me some pointers on this please? There is an AJAX request from the JSP, An action ...

How to prevent JPA from rolling back transaction?

Methods invoked: 1. Struts Action 2. Service class method (annotated by @Transactional) 3. Xfire webservice call Everything including struts (DelegatingActionProxy) and transactions is configured ...

热门标签