Servlet from jsp

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Odd-R.

    #1

    Servlet from jsp

    I have a servlet that connects to a database, and gets some data that I
    want to present on a jsp page. The servlet is located in a folder called
    servlets, and works fine when invoced alone. However, when i try to
    include it in the jsp with the following tag, I get an error message.

    <jsp:include page="/servlets/db">
    <jsp:param name="paramName " value="paramVal ue" />
    </jsp:include>

    what is wrong?

    Thank you.

    Odd-R.
    --
    Har du et kjøleskap, har du en TV
    så har du alt du trenger for å leve

    -Jokke & Valentinerne
  • Odd-R.

    #2
    Re: Servlet from jsp

    > I have a servlet that connects to a database, and gets some data that I[color=blue]
    > want to present on a jsp page. The servlet is located in a folder called
    > servlets, and works fine when invoced alone. However, when i try to
    > include it in the jsp with the following tag, I get an error message.
    >
    ><jsp:include page="/servlets/db">
    > <jsp:param name="paramName " value="paramVal ue" />
    ></jsp:include>
    >
    > what is wrong?[/color]

    Nobody that knows?


    --
    Har du et kjøleskap, har du en TV
    så har du alt du trenger for å leve

    -Jokke & Valentinerne

    Comment

    Working...