>Before I do, I would like the advice of the forum on the
>most popular way of structuring a project of say 20 - 30
>new HTML pages.
If you don't want to learn JSP just yet, a neat trick with
Apache/JServ is to point a document suffix to a servlet of
your choice. You can define any .test documents to go
through a servlet and you can grab the parameters ( with
getParameter ) and document name ( through getRequestURI )
from that servlet anywhere within the Apache root and the
JServ Mounted Servlet Zone.
This is pretty good for a small and fast projects that don't
require much sophistication in the HTML/EyeCandy department
and with few document names to trap. Has the added advantage
of leaving a document name with a suffix in the browser too.
Set SnoopServlet as the ApJServAction in JServ.conf, ie
ApJServAction .test /servlets/SnoopServlet
and have fun playing with making up file entries ending
with .test
>What is the preferred method of designing the HTML pages?
The first commercial project I did was about 40 dynamic pages long
and 30 static, although it is making the company I work for large
amounts of money, I did a lot of things rather naively with
the design. Mainly by not knowing any better, it was my first project
with Servlets and I was the only Java programmer so lost any
chance of decent peer review. It is transparent to our clients
but I very much reminded of it each time I have to do any
maintenance on certain areas of the code. Most maintenance will
most likely come from some form of scalability ( ie the client
wants more features etc etc and your salesmen said "Sure no
worries, do you want that for $1 or $2 extra?" ).
About the only thing I would suggest is make sure your project is
easily scalable, try to identify area's that will potentially be
the first requiring to scale and make them easy to add whatever
will need to be added. Only then would I start to identify what
Java based technologies you will want to use.
Interesting question though, I hope some of the more heavyweights on
this list chime in with answers and recommendations. Good luck
with your project :)
Cameron Riley
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html