This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When deploying launch the project url is incorrect (SOLVED)

 
Matt Kohanek
Village Idiot
Ranch Hand
Posts: 484
Java jQuery Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had a project named db_test, where I got everything working like I wanted to. Then I made a new project called buth, and instead of making everything anew, I just imported the file system from db_test to buth. Now, when I open the project in a browser, the url is http://meghiddo-pc:8080/db_test/ instead of http://meghiddo-pc:8080/buth/

Where is this handled? I would like to change this but dont know how or where. When I look at MyEclipse/.metadata/.me_tcat/webapps the project folder is being called db_test instead of buth. I cant just change the name from there of course because the files are in use, and that would only be temporary anyhow

edit - forgot to mention it is a struts 1.1 project with a MySQL database if it matters at all
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17622
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, if you're referring to that WST plugin in Eclipse, I'm not sure they give you a choice (one of many reasons I preferred sysdeo). I seem to recall fighting furiously with the server setup over that.
 
Matt Kohanek
Village Idiot
Ranch Hand
Posts: 484
Java jQuery Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No that is not it. I know my post was not very clear.

What I had to do was right click on the project and go to properties, then go to MyEclipse->Web and change the Web-Context Root from /db_test to /buth

So the Web Context Root is what I needed to change, but I did not know the term Web Context Root until I found it myself
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic