wood burning stoves 2.0*
The moose likes Struts and the fly likes struts1 and ajax - how to resume with struts after the 'ajax' is complete? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts1 and ajax - how to resume with struts after the Watch "struts1 and ajax - how to resume with struts after the New topic

struts1 and ajax - how to resume with struts after the 'ajax' is complete?

Peter Primrose
Ranch Hand

Joined: Sep 10, 2004
Posts: 755
Hi all,

Process: user clicks the submit-button , an image is embedded into the screen next to the button and a process is running in the background (so far so good).

when the process is completed, the flow goes to this code on the jsp page:

When the process is completed, the 'flow' goes to POINT A.
I would like to know how can I invoke a regular action on struts (such as the one below)

When I added this code to POINT A:

I see the page ("home.page.list") embedded as a DIV ID in the page (meaning, the page is 'insert' as a div id to the current page the user sees).

How do I overcome this problem or how can I resume regular struts method invocation (action-->mapping-->page)

Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
Seems like your options are to either submit the current form/action or jump to a new action by setting the location.href value.

- Brent
biny panackal
Ranch Hand

Joined: Apr 12, 2007
Posts: 72
Dear All,

Am a new guy to struts and now am facing a poblem while trying to setup validation in a page.
i had validation.xml in my WEB-INF directory and in that i just added these code

<form name="LoginDetails">
<arg key="LoginDetails.employeeLogin"/>


Where LOginDetails is my Form class and property name is employeeLogin

I had a property file but i am not mentioned its name anywhere else. Cold you please help me to set this up.

when am running my application am getting an error

javax.servlet.UnavailableException: Cannot load a validator resource from '/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml'

Thanks in advance

Biny Balan
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864

You've posted your question to a thread that has absolutely nothing to do with your question. This is strongly discouraged. I'm closing this thread, but I would encourange you to post this question in a new thread with a descriptive subject heading. That way if someone answers it, someone else having the same problem can find it using the search function.

Consultant, Sima Solutions
It is sorta covered in the JavaRanch Style Guide.
subject: struts1 and ajax - how to resume with struts after the 'ajax' is complete?
Similar Threads
autocomplete using ajax
jQuery AJAX display issue
ajax auto-suggest comes as plain text
xmlHttp.onreadystatechange only fires once
iterate doubt