Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » jsp Hello World
jsp Hello World [message #473724] Thu, 14 December 2006 07:59 Go to next message
Eclipse User
Originally posted by: nospam.nowhere.nowhere

Hi,

I am asp.net developer and as my third attempt I am trying to give java/jsp
another go. In the past I tried Netbeans and Sun Java Studio creator, but to
my experience they were to slow to compile and run (50+ seconds to
recompile/run a jsp page!)

I have downloded and installed the followings:

Eclipse 3.2
Tomcat 5.5.20
Sysdeo plugin
Sun JDK
j2re1.4.2_03

all running on Win Xp Pro

I can create a Dynamic Web Project and run it under Tomcat server from
Eclipse IDE, however what I am after is to have similar "Code Behind"
methodology available in ASP.NET (C#) to write java codes for my jsp web
form controls (ie. Buttons, textboxes etc).


Can someone put me in the right direction. Does Eclipse have this kind of
functionality?


My other question is that why the main Tomcat service running on XP Pro must
be stopped to run the Tomcat server inside Eclipse IDE?


Thanks

Med
Re: jsp Hello World [message #473797 is a reply to message #473724] Thu, 14 December 2006 16:30 Go to previous messageGo to next message
Cameron Bateman is currently offline Cameron Bateman
Messages: 480
Registered: July 2009
Senior Member
> Eclipse IDE, however what I am after is to have similar "Code Behind"
> methodology available in ASP.NET (C#) to write java codes for my jsp web
> form controls (ie. Buttons, textboxes etc).

JSF has a similar concept known as "backing beans". You can do this by
using the 'binding' attribute on many components. JSF tooling doesn't
currently have too much in the way of automating this right now, but if
you look it up in any JSF docs you can see how to do it by hand. For
example:

http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSFIntro8.htm l

> My other question is that why the main Tomcat service running on XP Pro
> must be stopped to run the Tomcat server inside Eclipse IDE?

This question is better asked on the eclipse.webtools but I suspect it is
due to default port conflicts. If you change the default ports used by
one of the tomcat servers this should solve it.
Re: jsp Hello World [message #473799 is a reply to message #473797] Thu, 14 December 2006 18:41 Go to previous message
Eclipse User
Originally posted by: nospam.nowhere.nowhere

Thanks for the suggestion Cameron,

I think you are right about the port conflict.

Regards


Med


"Cameron Bateman" <cameron.bateman@oracle.com> wrote in message
news:48be88b14b9c7f5feb123c9abed37b27$1@www.eclipse.org...
>> Eclipse IDE, however what I am after is to have similar "Code Behind"
>> methodology available in ASP.NET (C#) to write java codes for my jsp web
>> form controls (ie. Buttons, textboxes etc).
>
> JSF has a similar concept known as "backing beans". You can do this by
> using the 'binding' attribute on many components. JSF tooling doesn't
> currently have too much in the way of automating this right now, but if
> you look it up in any JSF docs you can see how to do it by hand. For
> example:
>
> http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSFIntro8.htm l
>
>> My other question is that why the main Tomcat service running on XP Pro
>> must be stopped to run the Tomcat server inside Eclipse IDE?
>
> This question is better asked on the eclipse.webtools but I suspect it is
> due to default port conflicts. If you change the default ports used by
> one of the tomcat servers this should solve it.
>
>
Re: jsp Hello World [message #608383 is a reply to message #473724] Thu, 14 December 2006 16:30 Go to previous message
Cameron Bateman is currently offline Cameron Bateman
Messages: 480
Registered: July 2009
Senior Member
> Eclipse IDE, however what I am after is to have similar "Code Behind"
> methodology available in ASP.NET (C#) to write java codes for my jsp web
> form controls (ie. Buttons, textboxes etc).

JSF has a similar concept known as "backing beans". You can do this by
using the 'binding' attribute on many components. JSF tooling doesn't
currently have too much in the way of automating this right now, but if
you look it up in any JSF docs you can see how to do it by hand. For
example:

http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSFIntro8.htm l

> My other question is that why the main Tomcat service running on XP Pro
> must be stopped to run the Tomcat server inside Eclipse IDE?

This question is better asked on the eclipse.webtools but I suspect it is
due to default port conflicts. If you change the default ports used by
one of the tomcat servers this should solve it.
Re: jsp Hello World [message #608384 is a reply to message #473797] Thu, 14 December 2006 18:41 Go to previous message
Eclipse User
Originally posted by: nospam.nowhere.nowhere

Thanks for the suggestion Cameron,

I think you are right about the port conflict.

Regards


Med


"Cameron Bateman" <cameron.bateman@oracle.com> wrote in message
news:48be88b14b9c7f5feb123c9abed37b27$1@www.eclipse.org...
>> Eclipse IDE, however what I am after is to have similar "Code Behind"
>> methodology available in ASP.NET (C#) to write java codes for my jsp web
>> form controls (ie. Buttons, textboxes etc).
>
> JSF has a similar concept known as "backing beans". You can do this by
> using the 'binding' attribute on many components. JSF tooling doesn't
> currently have too much in the way of automating this right now, but if
> you look it up in any JSF docs you can see how to do it by hand. For
> example:
>
> http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSFIntro8.htm l
>
>> My other question is that why the main Tomcat service running on XP Pro
>> must be stopped to run the Tomcat server inside Eclipse IDE?
>
> This question is better asked on the eclipse.webtools but I suspect it is
> due to default port conflicts. If you change the default ports used by
> one of the tomcat servers this should solve it.
>
>
Previous Topic:jsp Hello World
Next Topic:content assist -> UnknownHostException
Goto Forum:
  


Current Time: Thu Aug 21 10:18:26 EDT 2014

Powered by FUDForum. Page generated in 0.02855 seconds