|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
JSP - JSP in WAS5.0. |
« View previous topic :: View next topic » |
Author |
Message
|
djeripo |
Posted: Fri Apr 02, 2004 3:31 am Post subject: JSP - JSP in WAS5.0. |
|
|
 Master
Joined: 25 Jan 2004 Posts: 225
|
Hi All,
Could anybody tell me how to call a JSP in a JSP in WAS5.0.
I am in the process of customizing web client .I am getting an error, page cannot be found(MD.jsp) .
For a better understanding im copying and pasting a part of the code from my JSP program
<form name = "Manager" method = "post" action = "MD.jsp">
EmployeeName : <input type = "textbox" name = "EmpNo" > > <br>
FirstName :<input type = "textbox" name = "FirstName" > <br>
LastName : <input type = "textbox" name = "LastName" > <br>
Decision : <input type = "textbox" name = "deci" > <br>
<input type="submit" name="checkinWorkitem" value="Complete work item" >
<input type="button" name="cancelWorkItem" value="Cancel" onClick="javascript:{location='<%=context.getCommand("cancelWorkItem", workItem.persistentOid())%>';}">
</form>
Thanks in advance |
|
Back to top |
|
 |
djeripo |
Posted: Fri Apr 02, 2004 3:44 am Post subject: |
|
|
 Master
Joined: 25 Jan 2004 Posts: 225
|
Let me add some more for my previous post which coud give a better understanding . I am getting that error on clicking 'Submit' button |
|
Back to top |
|
 |
Ratan |
Posted: Fri Apr 02, 2004 8:04 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
I thought this was an MQ Workflow forum. You will have a better feedback if you post you question to any Java/ JSP forum.  _________________ -Ratan |
|
Back to top |
|
 |
jpmorales |
Posted: Wed Apr 07, 2004 5:29 am Post subject: Re: JSP - JSP in WAS5.0. |
|
|
 Novice
Joined: 13 Nov 2003 Posts: 21 Location: Bogotá, Colombia
|
countrykitten wrote: |
<form name = "Manager" method = "post" action = "MD.jsp">
|
This will try to post to your MD page and look for it on the current path. If you are using workflow that will send you from /servlet/Main to /servlet/MD.jsp. I don't think this is what you want
countrykitten wrote: |
<input type="submit" name="checkinWorkitem" value="Complete work item" >
<input type="button" name="cancelWorkItem" value="Cancel" onClick="javascript:{location='<%=context.getCommand("cancelWorkItem", workItem.persistentOid())%>';}">
|
This will not check in youir work item. This is not the preferred way to do this. If you want to redirect to a custom JSP's use webclient's built in MVC, create and extra handler, put your JSP in the programs directory of your web folder and send it a s a Response Page (more info on that on the webclient documentation). DO NOT POST TO A JSP. It will not check the item in, not without a high coding effor on your part, that is _________________ "Entia non sund multiplicanda praeter necesitatem" |
|
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
|
|
|
|