This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am a new user of WASCE 2.0. I am doing some web projects with WASCE and DB2 in JSPServlets. I was told that I could change the way I access my web project with something like www.myproject.com instead of localhost:8080/myproject. But he didn't tell me how.
Can anyone help me with this.
Also I found that I have to restart the server whenever I make a change on the files, unlike apache which I use for php. Please help me on this also
-- Maximus Moothiringus
Preparing for SCJA!!
Finally figured out that giving <br/> splits the profile biography but not the signature
For the benefit of future readers, I'm going to mention that WASCE = WebSphere Application Server Community Edition (Geronimo.) This should have been obvious, but I didn't realize it on first read.
Usually people use localhost when testing locally and myproject.com when testing on the server that maps to that domain. If you really wanted to use myproject.com locally, you could map your operating system's DNS listing to have myproject.com map to your local IP. This would preclude you from asking myproject.com on the internet of course.
Changes to JSPs should pick up automatically. It's changes to other files that need the restart. I think this is similar to how it works for PHP. From what I remember, PHP files are similar to JSPs?
Oh sorry about that WASCE thing. I should have made it clear. I just felt curious when i heard about it. He told me that it can be done by tweaking something within the server itself. I think I'll just go with the localhost thingy itself.
How do i change the DNS listing?? Is it by changing the hosts file.
About the restart. Ok so when i use servlets the restart is inevitable, eh!
Great to be a member of such a 'ranch' . Thank you.
author & internet detective