Yes, you can pass url parameters just as
follows:
HTML FORM
<FORM action=http:/servlet/Servlet15.Servlet15?ClientID=112
method="POST">
SERVLET CODE
clientID = request.getParameter("ClientID");
Mike Payne
-----Original Message-----
From: Alfonso Urdaneta [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 04, 2000 4:50 AM
To: [EMAIL PROTECTED]
Subject: can a jsp include get url properties
Howdy all,
Is it possible for a jsp:include to pass something from the URL to the
servlet that is being included ?
ie, if I have a page http://domain/test.jsp?cake=chocolate that includes
CakeServlet, can I pass it the "chocolate" ?
I was thinking something like
<jsp:include page=/servlet/CakeServlet --stuff to get cake flavour goes
here-->
The jsp docs on the sun site either don't have this info, or I am too
stupid to find it. Any help would be appreciated.
Regards,
Alfonso.
--
------------------------------------o0o-----------------------------------
The Programmer Formerly Known as Alfonso Urdaneta Ph:
561.581.7360
Presideo Fax:
561.581.7377
10315 102nd Terrace
[EMAIL PROTECTED]
Sebastian FL, 32958
http://www.presideo.com
"You can tune a piano, but you can't tuna fish"
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html