Re: Include a Servlet into web page body
From: Berlin Brown (bigbinc097_DONT_SPAM_at_comcast.net)
Date: 02/10/04
- Next message: hiwa: "Re: program to copy files - problems - unix ksh to java"
- Previous message: hiwa: "Re: getResource()"
- In reply to: Muzzy: "Re: Include a Servlet into web page body"
- Next in thread: hiwa: "Re: Include a Servlet into web page body"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 09 Feb 2004 21:23:22 -0500
Muzzy wrote:
>>Have you tried <jsp:include page="/MyServlet" > </jsp:include>?
>>(notice the "/" before "MyServlet).
>
>
> THANKS A LOT!!! It works now!!!
>
>
>
>>"Muzzy" <leyandrew@yahoo.com> escribió en el mensaje
>>news:R9FVb.201720$Rc4.1677841@attbi_s54...
>>
>>>Hello,
>>>
>>>I just have a problem with following: i have a .jsp file containing a
>>
>>static
>>
>>>html menu and a table cell where i need to include a servlet call
>
> result.
>
>>>Servlet is called with the same parameters as the .jsp file.
>>>
>>><table>
>>> <tr>
>>> <td>
>>> <!-- Here i need to include a call to the servlet with
>>>parameters, eg
>>> "MyServlet?param1=10¶m2=3".
>>> -->
>>> </td>
>>> </tr>
>>></table>
>>>
>>>I tried <jsp:include page="MyServlet" > </jsp:include> but it doesn't
>>
>>work.
>>
>>>Any ideas would be appreciated!
>>>
>>>Thnk you,
>>>Andrey aka MuZZy
>>>
>>>
>>
>>
>
>
A more fun way and I havent tried it, use an iframe
<td>
<iframe src="news/SomeServlet?doGet" frameborder="0" width="100%"
height="110" scrolling="auto"
name="text" target="top">
</iframe>
</td>
</tr>
- Next message: hiwa: "Re: program to copy files - problems - unix ksh to java"
- Previous message: hiwa: "Re: getResource()"
- In reply to: Muzzy: "Re: Include a Servlet into web page body"
- Next in thread: hiwa: "Re: Include a Servlet into web page body"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|