aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes When deploying launch the project url is incorrect (SOLVED) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "When deploying launch the project url is incorrect (SOLVED)" Watch "When deploying launch the project url is incorrect (SOLVED)" New topic
Author

When deploying launch the project url is incorrect (SOLVED)

Matt Kohanek
Village Idiot
Ranch Hand

Joined: Apr 04, 2009
Posts: 483

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


True wisdom is in knowing you know nothing - Socrates
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16228
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Matt Kohanek
Village Idiot
Ranch Hand

Joined: Apr 04, 2009
Posts: 483

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: When deploying launch the project url is incorrect (SOLVED)