Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help with wasce

 
Maximus Moothiringus
Ranch Hand
Posts: 46
Eclipse IDE Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a new user of WASCE 2.0. I am doing some web projects with WASCE and DB2 in JSP Servlets. 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

Thank you
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33694
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maximus,
Welcome to JavaRanch!

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?
 
Maximus Moothiringus
Ranch Hand
Posts: 46
Eclipse IDE Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33694
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Maheswaran Moothiringode:
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!

Correct on both counts!
 
Maximus Moothiringus
Ranch Hand
Posts: 46
Eclipse IDE Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much....

Question Answered.
Thread closed
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic