tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kaneda K <zouy...@yahoo.com>
Subject Re: Using <SERVELET CODE=xx> & IIS
Date Tue, 22 Aug 2000 17:10:21 GMT
Ok, the SSI juste make things simplier. you just have
to inclued a servlet :

<jsp:include
page=response.encodeUrl("/servlet/myServlet?PARAM1=VALUE1&PARAM2=VALUE2")flush="true"/>
 and so on...
I do this with jsp not with servlet but this should
also work.

--- Andy Hampshire <Andy_Hampshire@amdahl.com> wrote:
> Hi all,
> 
> I'm experimenting with various combinations of
> Servlet engine and Web
> servers to ensure my code runs in all environments.
> 
> I'm currently looking at IIS & Tomcat 3.1.
> 
> I believe that this combination is working to a
> point, for instance I can
> run my Servlet via a QueryString, eg:
> 
> http://localhost/servlet/myServlet?PARM1=VALUE1
> 
> However I want to embed a <SERVLET> Tag in an HTML
> page that will invoke the
> Servlet eg:
> 
> MyTest.shtml   - ( Why .shtml ? No reason apart from
> it was easy to copy
> some other defs when I was doing IIS & Jrun :-) )
> 
> <HTML>
> <HEAD>
> <TITLE></TITLE>
> </HEAD>
> 
> <SERVLET CODE=myServlet>
> <PARAM NAME="PARM1" VALUE="VALUE1">
> </SERVLET>
> 
> </BODY>
> </HTML>
> 
> 
> Using the URL: http://locahost/MyTest.shtml the
> Servlet is run but the
> Servlet doesn't receive any parameters.
> 
> However using the URL
> http://localhost/MyTest.shtml?PARM1=VALUE1 passes
> the
> arguments on the query string ..
> 
> Anyone got an ideas what I can try next ?
> 
> Many Thanks .... Andy Hampshire - Amdahl (UK) Ltd
> 
> PS - The above works with IIS & Jrun 2.3.3
> 
> 
> 
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Mail  Free email you can access from anywhere!
http://mail.yahoo.com/

Mime
View raw message