Not it won't.

E:\JRun\jsm-default\services\jse\servlets\jsp\myeastside\index.java, line
105: Method setParameter(java.lang.String, java.lang.String) not found in
class com.livesoftware.jrun.plugins.jsp.JSPRequest.
Request.setParameter("id", "123");

And it doesn't appear to work with Request.setAttribute("id","123") either.

David


                    ----- Original Message -----
From: Mark Saarinen
To: David Wall ; [EMAIL PROTECTED]
Sent: Saturday, June 12, 1999 11:34 AM
Subject: Re: CallPage and passing parameters in


This will work:

Request.setParameter("id", "123");
Response.callPage("/servlet/DoIt", Request);

---
 and in DoIt:

String id = (String) Request.getParameter("id");


-- Mark


-----Original Message-----
From: David Wall <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Saturday, June 12, 1999 12:37 PM
Subject: CallPage and passing parameters in


Is there a trick to passing parameters with CallPage?

I thought I could easily create a simple JSP that does a CallPage to display
another page (in this case, created by running a servlet that in turn
redirects to a JSP.  But, the CallPage url cannot contain a simple parameter
(ie. CallPage("/servlet/DoIt?id=123") ).

I then tried adding
     request.getSession(true).putValue("id","123")

This still seemed to fail to get 'id' parameter in.  What might I be doing
wrong?  I'm using JRun 2.3.1 build 145.

David

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to