Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

creating a html or jsp file dynamically

0 views
Skip to first unread message

KK

unread,
Jul 25, 2008, 9:34:01 AM7/25/08
to
hello

i am working on a project which is a sort of discussion forum. I want
to add a feature like in google groups, in which the subject of the
discussion given by the owner of the topic becomes a new link to a
html or jsp file. so that now new users can post their comments of
that page.

Can anyone help me on this?

GArlington

unread,
Jul 25, 2008, 9:44:19 AM7/25/08
to

In most cases you will find that there is only ONE processing page/
file that receives a parameter - threadID, and then the page/file
generates the content dynamically. So, you do not need to "creating a
html or jsp file dynamically", what you need is to write jsp page
which can generate html...

KK

unread,
Jul 25, 2008, 2:29:59 PM7/25/08
to
can u tell me how to create a html page via jsp page?

Lew

unread,
Jul 25, 2008, 5:07:54 PM7/25/08
to
On Jul 25, 2:29 pm, KK <Kartikeya.Karna...@gmail.com> wrote:
> can u tell me how to create a html page via jsp page?

Please avoid "txtspeek". The word is "you", not "u".

You create a JSP page as outlined in the Sun JavaEE tutorial:
<http://java.sun.com/javaee/5/docs/tutorial/doc/bnagx.html>

Serve the JSP page from an appropriate directory within the "webapps"
context of a server like Tomcat or Glassfish. The server will
automagically transform the JSP into HTML in response to an HTTP
request.

The Apache site for Tomcat:
<http://tomcat.apache.org/>
has even more useful documentation.

There are some good books out there also.

Study the materials.

--
Lew

0 new messages