mrbuddylee
Oct 4th, 2005, 04:36 PM
Hello folks, I need some advice. I have an existing website that is fairly poorly written in asp.net. I'm looking to move it over to a Spring based Java website, but here's the problem.
It's currently set up to allow users to sign up and have their own little space. The way that works is that when they sign up, it copies a set of files from a directory into a new directory with their username. For instance, if I signed up, I'd have http://mysite.com/myname/this.aspx which is an exact copy of http://mysite.com/yourname/this.aspx. The difference comes because the directory name is dynamically read at runtime and that is passed in as the username variable which then hits the database and gets the user specific information....
Ok, now, looking to make this perform better and more reliably, how could I set this up in Java & Spring? The users won't be too upset if their page links change, but they MUST still have their own directory structure, so if I go to http://mysite.com/myname/ it will work.
Thinking about this, I'm not sure how to accomidate this in Java & Spring. How can I dynamically handle that type of stuff?
Any help would be greatly appreciated!!
It's currently set up to allow users to sign up and have their own little space. The way that works is that when they sign up, it copies a set of files from a directory into a new directory with their username. For instance, if I signed up, I'd have http://mysite.com/myname/this.aspx which is an exact copy of http://mysite.com/yourname/this.aspx. The difference comes because the directory name is dynamically read at runtime and that is passed in as the username variable which then hits the database and gets the user specific information....
Ok, now, looking to make this perform better and more reliably, how could I set this up in Java & Spring? The users won't be too upset if their page links change, but they MUST still have their own directory structure, so if I go to http://mysite.com/myname/ it will work.
Thinking about this, I'm not sure how to accomidate this in Java & Spring. How can I dynamically handle that type of stuff?
Any help would be greatly appreciated!!