view existing web server with eclipse/tomcat [message #525736] |
Wed, 07 April 2010 11:53  |
Eclipse User |
|
|
|
I have written some java code that uses a database and will soon be integrated into a web app.
There is currently an existing program a lot like the one i wrote that my company uses and i as wondering if there was some way to get tomcat in eclipse to run/view it.
typing in the http://localhost and project name etc. doesn't work obviously because none of the project files are on my pc. but is there a way to view it without them?
if not, and i download every .java file and put it all into a package, how do i get that package up and running in my web project? im pretty new to the whole web project deal, so if you know of a tutorial or something that would help. ive seen the ones for servlets and whatnot, but i have actual .java source code files and projects i need to use. not servlets.
[Updated on: Wed, 07 April 2010 11:54] by Moderator
|
|
|
Re: view existing web server with eclipse/tomcat [message #525976 is a reply to message #525736] |
Thu, 08 April 2010 09:04  |
Eclipse User |
|
|
|
beatrag3@yahoo.com wrote:
> I have written some java code that uses a database and will soon be
> integrated into a web app.
>
> There is currently an existing program a lot like the one i wrote that
> my company uses and i as wondering if there was some way to get tomcat
> in eclipse to run/view it.
>
> typing in the http://localhost and project name etc. doesn't work
> obviously because none of the project files are on my pc. but is there
> a way to run it without them?
>
> if not, and i download every .java file and put it all into a package,
> how do i get that package up and running in my web project? im pretty
> new to the whole web project deal, so if you know of a tutorial or
> something that would help. ive seen the ones for servlets and whatnot,
> but i have actual .java source code files and projects i need to use.
> not servlets.
It's not clear what exactly you are asking. Phrases like "existing web
server" and "currently an existing program" aren't specific enough to
provide an answer. Is it that the "exiting web server" is serving a web
application that you want the Eclipse Tomcat to serve? Or is this
"exiting program" something other than a web application, such as a web
service, Java application, or something else?
Cheers,
Larry
|
|
|
Powered by
FUDForum. Page generated in 0.02957 seconds