"Peter Kirk" <peter> wrote in message news:<40839c28$>...
> "Rosebud" <> skrev i en meddelelse
> news: om...
> > rosebud:
> > But, I am having problem getting url parameters and need some
> > assistance. The followin code is a simple example of a getparmeter
> > request that is not working:
> >
> > <html>
> > <head>
> > <title>AddressBook: Modifying Address <%= request.getParameter
> > ("id")%>
> > </title>
> > </head>
> > </html>
> > I think there is a problem with initiating jsp because other calls do
> > not work either:
>
> Do you get some sort of error message? What is it that doesn't work?
> Remember that getParameter can return null if the parameter is not in the
> request.
> Is your file a "jsp" file?
> Have you installed your jsp in an appropriate "jsp/servlet container/runner/
> web server" ? (Eg. Tomcat). Are you calling it correctly?
>
> Peter
rosebud:
I am running the servlet on a server that is suppose to handle all
types of internet servelets. I am not the guy who does hosting.
The jsp is not part a jsp it is embeded in the html doc.
here are some examples:
<html>
<head>
<title>Passing title: <%request.getParameter ("id")%>
</title>
</head>
</html>
Where the url has
www.?????.com?id=title name
another:
<html>
<head>
<title>Neighborhoods</title>
</head>
<body>
<!--#include file ="<%request.getParameter
("locale")%>Neighborhoods.htm" -->
</body>
</html>
or:
<html>
<head>
<title>Neighborhoods</title>
</head>
<body>
<!--#include file =<%request.getParameter
("locale")%>"Neighborhoods.htm" -->
</body>
</html>
where url has
www.####.com?locale=saline