Skip to main content


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 12:59 Go to next message
Eclipse UserFriend
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 21:30 Go to previous messageGo to next message
Cameron Bateman is currently offline Cameron BatemanFriend
Messages: 481
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 23:41 Go to previous message
Eclipse UserFriend
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 21:30 Go to previous message
Cameron Bateman is currently offline Cameron BatemanFriend
Messages: 481
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 23:41 Go to previous message
Eclipse UserFriend
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 Mar 28 14:11:02 GMT 2024

Powered by FUDForum. Page generated in 0.02859 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top