|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
WorkItem-Program property |
« View previous topic :: View next topic » |
Author |
Message
|
kotha |
Posted: Mon May 23, 2005 9:22 am Post subject: WorkItem-Program property |
|
|
Partisan
Joined: 12 Mar 2005 Posts: 333
|
I have a WorkItem and the program is, say Review.jsp which is in WAS and running properly.
The program is using Java and workfolw API.
Quote: |
<%@ page language="java" info="JSP workitem start" %>
<%@ page errorPage="/forms/ViewError.jsp" %>
<%@ page import="com.ibm.workflow.api.*" %>
<%@ page import="com.ibm.workflow.servlet.client.*" %>
<jsp:useBean id="context" scope="request"
type="com.ibm.workflow.servlet.client.RequestContext"/> |
Now the ISSUE is:
I want to change the Review.jsp to Review.asp that is in another location. What do I need to change in the existing jsp page? (To develop asp, I think I need to use VB and ActiveX to replace the above quoted. ). Where can I find the related info and if possible code snippet?
Rightnow, at the program field of the WorkItem is "Review". Do I need to mention the location, say http:\\localhost:\Review.asp if I use Review.asp or will workflow server automatically detects that pages which resided in IIS.
p.s. i have configured IIS to WAS and when a request comes from IIS, I can see workitems assigned. I am trying to post the data back to asp from a WorkItem.
please post any idea or suggestions you have. |
|
Back to top |
|
 |
vennela |
Posted: Mon May 23, 2005 10:38 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Quote: |
Do I need to mention the location, say http:\\localhost:\Review.asp if I use Review.asp or will workflow server automatically detects that pages which resided in IIS. |
I don't think that will work.
Workflow webclient cannot detect asp pages. It is a J2EE application that is written specifically to detect jsp pages only.
Quote: |
p.s. i have configured IIS to WAS and when a request comes from IIS, I can see workitems assigned. I am trying to post the data back to asp from a WorkItem. |
Here, all you did was, configured a IIS (an HTTP Server) instead of the regular IBM HTTP Server or Apache Server that is usually shipped with WAS.
The functionality of a webserver is to act as a liasion between the web browser (like Internet Explorer) and a J2EE container like WAS.
Inorder to acheive what you are trying to do, you should call jsp pages within ASP pages somehow. Ask the developers on hot to do it. |
|
Back to top |
|
 |
kotha |
Posted: Mon May 23, 2005 10:53 am Post subject: |
|
|
Partisan
Joined: 12 Mar 2005 Posts: 333
|
Vennela,
Presently I am able to get the data from ASP to the workflow activity. Apart from that I only need two programs (JSP pages) for my process and I already created them and deployed in WAS.
Is the above procedure enough for the production environment or do I really need to use webserver(IIS) for everything. My idea is just getting the data from IIS and then the control and everything will be with WAS (using the internal port) and Workflow.
What do you suggest? |
|
Back to top |
|
 |
vennela |
Posted: Mon May 23, 2005 11:47 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
If you have got it to working then you are fine I guess. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|