I am trying to extend the web client a little. Mostly to see what kind of options are available.
I am trying to stick a Struts Action between the Main Servlet and the ListViewer.jsp. I can access the Action without going through the servlet so I know it is working properly, but when I try this code snippet:
Code:
public ResponsePage logonResponse(RequestContext context)
throws ClientException
{
ResponsePage result = new ResponsePage(context,"/showListViewer.do");
return result;
}
I get a message:
Quote:
showListViewer.do not found
Obviously there isn't a showListViewer.do file since it is handled by the Action servlet.
My thought is that the Main servlet isn't REALLY doing a proper forward inside the ResponsePage constructor, so it doesn't invoke the Action servlet. Which probably means I can't do it this way. But I thought I would see if anyone knew how to correct this or do it another way.
u r right...It is hard (may be impossible) to extend the MQWF web client main servlet....we ended up developing our own custom STRUTS servlet using MQWF java APIs (wrap around it) in our workflow web app.
I got it to work by sending it through a proxy.jsp file that forwards to the struts piece I want. Actually works quite well. Very flexible. Not sure how efficient it is though. Probably not very. Ah well it was just a proof of concept/research thing anyways.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum