You don't need to write dozens of servlets, you can write just one if you
wish  (of  course you can also write more than one) and create aliases for
it. In my system I would have to change the webserver configuration to do
that, I don't kwnow another way. It is easy to get the url that user typed
in the servlet, so you are not going to have the problem to know if the user
wants www.store.com/beerbike or www.store.com/book.

I hope that helps you.

Leila

> -----Urspr�ngliche Nachricht-----
> Von: Schwarz Niko [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 6. November 2000 08:25
> An: [EMAIL PROTECTED]
> Betreff: dynamically creating sites
>
>
> Hello there. I'm actually trying to understand servlets. What I did
> not get yet, was... let me explain: I want to write an online shop
> whose whole content is inside an xml database. Well now, I want
> to create the shop on user demand depending on the profile i linked
> this user with. Then alright, he's free to walk around the shop, but
> he's still recognized as that user.
>
> The problem: without a few ones there isn't any static page on the
> server. Now how do I let the user change the current site? Am I
> supposed to write dozens of Servlets all for a sub-part of the shop?
> That wouldn't be possible since I wanted to reuse the configuration
> software and wanted to componentize as much as possible.
>
> But furthermore: I wouldn't like it if it was all done via
> get requests,
> cos imagine a user is only interested in bavarian beer bikes, then
> he wants to go to www.store.com/beerbike and not to
> www.store.com?item=beer since hes quite old and the only thing
> hes able to remember is the first one.
>
> ok, what do i do now?
>
> regards,
>
> nick
>
> --
> et apr�s - ?
>
> ______________________________________________________________
> _____________
> 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
>

___________________________________________________________________________
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

Reply via email to