ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » JSP - JSP in WAS5.0.

Post new topic  Reply to topic
 JSP - JSP in WAS5.0. « View previous topic :: View next topic » 
Author Message
djeripo
PostPosted: Fri Apr 02, 2004 3:31 am    Post subject: JSP - JSP in WAS5.0. Reply with quote

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
View user's profile Send private message Visit poster's website
djeripo
PostPosted: Fri Apr 02, 2004 3:44 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Ratan
PostPosted: Fri Apr 02, 2004 8:04 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jpmorales
PostPosted: Wed Apr 07, 2004 5:29 am    Post subject: Re: JSP - JSP in WAS5.0. Reply with quote

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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » JSP - JSP in WAS5.0.
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.