Howto deploy to Tomcat in Eclipse [message #275667] |
Wed, 10 November 2004 14:26  |
Eclipse User |
|
|
|
Originally posted by: harry.raceeend.demon.nl
Hallo,
I need help howto "integrate" tomcat (v 5.5.4) in Eclipse 3.01
I installed tomcat in /usr/local/tomcat as root, tomcat works.
Eclipse (v 3.01) also works also fine.
I have installed the sysdeo plugin. The menu and icons appear in the
toolbar.
Now I create a tomcat project and add 1 jsp file to it.
But I don't know how to deply this "web-application"
Do someone know which steps to take for the deployment ?
thanks in advance
Harry van Rijn
|
|
|
|
Re: Howto deploy to Tomcat in Eclipse [message #275676 is a reply to message #275672] |
Wed, 10 November 2004 17:11   |
Eclipse User |
|
|
|
Originally posted by: harry.raceeend.demon.nl
Hallo Ferenc,
Thanks for the quick reply, I also have fiddled a liitle bit. It is
because this material is new to me, but before I used JBoss,which you
need to deploy to. I did what you propose, in fact you make part of you
working directory accessible to tomact by modifying ../conf/server.xml
Well here was my problem, I installed tomcat as root, so it was
impossible modifying server.xml because of the user rights. I have
changed the owner of the tomcat install to that of mine. Now I can
change the server.xml. I understand that this tric is for development only.
I am now trying to create a jsp with some tags (core foreach). But the
now I am searchin how to add the jstl.jar and standard,jar. I put them
in the MyContext/WEB-INF/lib (with import , from filesystem) but nient,
no resolving. The red dot stays like some desease!
Can you let your light shine upon this ???
Btw are you from Magyar ???
bye
van Rijn Harry
Ferenc Hechler wrote:
> Hello Harry,
>
> there is no special deployment. The sysdeo plugin allows you to debug
> directly the classes in your workspace.
> First you have to go to window > preferences > tomcat and set the tomcat
> home dir and which tomcat version is used.
> Right-Click on your Tomcat-Project and select "tomcat > add context", this
> will add your project to the server.xml.
>
> Now you can start tomcat using the left of the three tomcat buttons.
>
> Sometimes you have to add the project to the window > prefernces > tomcat >
> ?? classes to include ??
>
> Kinde regards,
> feri
>
> "Harry van Rijn" <harry@raceeend.demon.nl> schrieb im Newsbeitrag
> news:cmtq10$o3a$1@eclipse.org...
>
>>Hallo,
>>
>>I need help howto "integrate" tomcat (v 5.5.4) in Eclipse 3.01
>>
>>I installed tomcat in /usr/local/tomcat as root, tomcat works.
>>Eclipse (v 3.01) also works also fine.
>>I have installed the sysdeo plugin. The menu and icons appear in the
>>toolbar.
>>
>>Now I create a tomcat project and add 1 jsp file to it.
>>But I don't know how to deply this "web-application"
>>Do someone know which steps to take for the deployment ?
>>
>>thanks in advance
>>Harry van Rijn
>
>
>
|
|
|
Re: Howto deploy to Tomcat in Eclipse [message #275678 is a reply to message #275676] |
Wed, 10 November 2004 18:11  |
Eclipse User |
|
|
|
Originally posted by: harry.raceeend.demon.nl
Ok I found it, you must import the required jar's in the ../WEB-INF/lib
directory. And .... also version matters for jstl.jar & standard.jar
because version 1.0 needs <%@ taglib uri="http://java.sun.com/jsp/core"
and version 1.1 needs . . . uri="http://java.sun.com/jsp/jstl/core"
bye
Harry
Harry van Rijn wrote:
> Hallo Ferenc,
>
> Thanks for the quick reply, I also have fiddled a liitle bit. It is
> because this material is new to me, but before I used JBoss,which you
> need to deploy to. I did what you propose, in fact you make part of you
> working directory accessible to tomact by modifying ../conf/server.xml
> Well here was my problem, I installed tomcat as root, so it was
> impossible modifying server.xml because of the user rights. I have
> changed the owner of the tomcat install to that of mine. Now I can
> change the server.xml. I understand that this tric is for development only.
>
> I am now trying to create a jsp with some tags (core foreach). But the
> now I am searchin how to add the jstl.jar and standard,jar. I put them
> in the MyContext/WEB-INF/lib (with import , from filesystem) but nient,
> no resolving. The red dot stays like some desease!
> Can you let your light shine upon this ???
>
> Btw are you from Magyar ???
>
> bye
> van Rijn Harry
>
> Ferenc Hechler wrote:
>
>> Hello Harry,
>>
>> there is no special deployment. The sysdeo plugin allows you to debug
>> directly the classes in your workspace.
>> First you have to go to window > preferences > tomcat and set the
>> tomcat home dir and which tomcat version is used.
>> Right-Click on your Tomcat-Project and select "tomcat > add context",
>> this will add your project to the server.xml.
>>
>> Now you can start tomcat using the left of the three tomcat buttons.
>>
>> Sometimes you have to add the project to the window > prefernces >
>> tomcat > ?? classes to include ??
>>
>> Kinde regards,
>> feri
>>
>> "Harry van Rijn" <harry@raceeend.demon.nl> schrieb im Newsbeitrag
>> news:cmtq10$o3a$1@eclipse.org...
>>
>>> Hallo,
>>>
>>> I need help howto "integrate" tomcat (v 5.5.4) in Eclipse 3.01
>>>
>>> I installed tomcat in /usr/local/tomcat as root, tomcat works.
>>> Eclipse (v 3.01) also works also fine.
>>> I have installed the sysdeo plugin. The menu and icons appear in the
>>> toolbar.
>>>
>>> Now I create a tomcat project and add 1 jsp file to it.
>>> But I don't know how to deply this "web-application"
>>> Do someone know which steps to take for the deployment ?
>>>
>>> thanks in advance
>>> Harry van Rijn
>>
>>
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.04530 seconds