You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Je...@aol.com on 2001/06/17 03:26:01 UTC

jsp help

Hi, this may sound remedial but I was hoping someone can clear jsp up for me. 
Java Servelets are executed by inputting the necessary information in the 
web.xml. This would include the servlet name, servlet class name, and the 
name you want it to be called as when called from browser. This much I know 
about the servlets. However because I am new to JSP I don't how to set it up 
and execute. Is it similar to the servlet process? Do you even have to put in 
an entry in the web.xml file. The examples given with jakarta does clarify 
much because all of the examples are executed by putting in the directory and 
.jsp file name in the browser url, obviously you couldn't put the directory 
name when executing by requesting like this:

    http://localhost:8080/examples/file_name.jsp

I am doing my research by reading books and all but I would also appreciate 
some feedback from the public. 

Re: jsp help

Posted by Luba Powell <lu...@bellatlantic.net>.
Correction: tomcat (not apache) programs..

----- Original Message -----
From: "Luba Powell" <lu...@bellatlantic.net>
To: <to...@jakarta.apache.org>
Sent: Saturday, June 16, 2001 9:51 PM
Subject: Re: jsp help


> Hello, Jeremy:
> If you are familiar with servlets - there isn't much more to know about
JSP.
> JSP is a "short-hand" for generating servlets. Just few tags to learn.
> The advantage of writing JSP tags is that (in our case) apache programs:
> parser, compilers, loaders parse these tags, generate servlets, already
> familiar to you and load generated classes into the JVM.
> So this is all there is to it.
>
> R/Luba
>
>
>
>
> ----- Original Message -----
> From: <Je...@aol.com>
> To: <to...@jakarta.apache.org>
> Sent: Saturday, June 16, 2001 9:26 PM
> Subject: jsp help
>
>
> > Hi, this may sound remedial but I was hoping someone can clear jsp up
for
> me.
> > Java Servelets are executed by inputting the necessary information in
the
> > web.xml. This would include the servlet name, servlet class name, and
the
> > name you want it to be called as when called from browser. This much I
> know
> > about the servlets. However because I am new to JSP I don't how to set
it
> up
> > and execute. Is it similar to the servlet process? Do you even have to
put
> in
> > an entry in the web.xml file. The examples given with jakarta does
clarify
> > much because all of the examples are executed by putting in the
directory
> and
> > .jsp file name in the browser url, obviously you couldn't put the
> directory
> > name when executing by requesting like this:
> >
> >     http://localhost:8080/examples/file_name.jsp
> >
> > I am doing my research by reading books and all but I would also
> appreciate
> > some feedback from the public.
>


Re: jsp help

Posted by Luba Powell <lu...@bellatlantic.net>.
Hello, Jeremy:
If you are familiar with servlets - there isn't much more to know about JSP.
JSP is a "short-hand" for generating servlets. Just few tags to learn.
The advantage of writing JSP tags is that (in our case) apache programs:
parser, compilers, loaders parse these tags, generate servlets, already
familiar to you and load generated classes into the JVM.
So this is all there is to it.

R/Luba




----- Original Message -----
From: <Je...@aol.com>
To: <to...@jakarta.apache.org>
Sent: Saturday, June 16, 2001 9:26 PM
Subject: jsp help


> Hi, this may sound remedial but I was hoping someone can clear jsp up for
me.
> Java Servelets are executed by inputting the necessary information in the
> web.xml. This would include the servlet name, servlet class name, and the
> name you want it to be called as when called from browser. This much I
know
> about the servlets. However because I am new to JSP I don't how to set it
up
> and execute. Is it similar to the servlet process? Do you even have to put
in
> an entry in the web.xml file. The examples given with jakarta does clarify
> much because all of the examples are executed by putting in the directory
and
> .jsp file name in the browser url, obviously you couldn't put the
directory
> name when executing by requesting like this:
>
>     http://localhost:8080/examples/file_name.jsp
>
> I am doing my research by reading books and all but I would also
appreciate
> some feedback from the public.