Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2007

Tip: Looking for answers? Try searching our database.

Velocity ... Servlets ... I'm stumped

Thread view: 
aca04pds@shef.ac.uk - 15 Mar 2007 16:55 GMT
I'm trying to create a dynamic webpage that will simply allow a user
to enter their name, and the system will say back "hello $name". Can
anyone please help me with the most basic of instructions on how to
create the velocity templates, servlets and how to use/implement them
etc.. because I don't have a clue and am very frustrated!!

Thanks
Robert Klemme - 15 Mar 2007 17:03 GMT
> I'm trying to create a dynamic webpage that will simply allow a user
> to enter their name, and the system will say back "hello $name". Can
> anyone please help me with the most basic of instructions on how to
> create the velocity templates, servlets and how to use/implement them
> etc.. because I don't have a clue and am very frustrated!!

If you just want to create this single page a single JSP will do.

Kind regards

    robert
Oliver Wong - 15 Mar 2007 17:47 GMT
> I'm trying to create a dynamic webpage that will simply allow a user
> to enter their name, and the system will say back "hello $name". Can
> anyone please help me with the most basic of instructions on how to
> create the velocity templates, servlets and how to use/implement them
> etc.. because I don't have a clue and am very frustrated!!

   From what I understand, Velocity is a template engine, and thus mainly
for manipulating output, and not gathering input (such as the user's
name). As a first step, are you able to do the above exercise using only
Servlets, without Velocity?

   - Oliver
Mark Space - 15 Mar 2007 18:14 GMT
> I'm trying to create a dynamic webpage that will simply allow a user
> to enter their name, and the system will say back "hello $name". Can
[quoted text clipped - 3 lines]
>
> Thanks

Serious question: I've done servlets, but not Velocity.  What is it?
Got a url?
Oliver Wong - 15 Mar 2007 18:42 GMT
> Serious question: I've done servlets, but not Velocity.  What is it? Got
> a url?

http://velocity.apache.org/engine/releases/velocity-1.4/getting-started.html

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.