Hi all,
I am facing a cheap problem in executing an action
class on click of a button.
I have using simple map:act set as
<map:actions>
<map:action name="new-synchro" src="Navigate"/> </map:actions> ############################################
<map:action-set name="newsynchro"> <map:act type="new-synchro" action="NewSynchronisation"/> </map:action-set> ##############################################
<map:match
pattern="taskscheduler">
<map:act set="newsynchro"> <map:generate src="xml/TaskScheduler.xml"/> <map:transform src="stylesheets/scheduler.xsl"/> <map:redirect-to uri="syn"/> <map:serialize/> </map:act> </map:match>
##################################################
On placing them in proper place in sitemap, when
uri is /taskscheduler then it say an error HTTP Status 404-not
found.
Then I comment the <map:act set > tag
as
<map:match
pattern="taskscheduler">
<!--<map:act set="newsynchro">--> <map:generate src="xml/TaskScheduler.xml"/> <map:transform src="stylesheets/scheduler.xsl"/> <!--<map:redirect-to uri="syn"/> --> <map:serialize/> <!--</map:act> </map:match>
After that I tried for the same URI, now it is
showing screen. After that I uncomment(deleting the all comments that I
did) the <map:act set> tags and refresh the page one
time. When I click button, then it works properly...calling class and
navigated to next screen.It works
fine.
If I refresh the same URI /taskscheduler
for atleast 4-5 times then it says same not-found error. I
donot know WHY????????
If I comment the same tags and refresh it
works and but after uncommenting it and refreshing it for only one time then it
properly execute action class, but if I refresh it for 4-5 times then it says
not-found error.
Please anyone tell me the reason for
that.
Thanks,
Niket |