Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » View JSP file in eclipse...
icon6.gif  View JSP file in eclipse... [message #522742] Tue, 23 March 2010 19:37 Go to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: March 2010
Junior Member
Newbie to ecllipse. I've got a JSP file from a project which I copied to test directory. I want to open the file, make modifiications and view the output.

Are there specific steps you should follow for opening a JSP file - or just File ==> Open File and browse to the file in question?

And are there any recommended Ecliipse URLs worth reviewing?

Thank you.
Re: View JSP file in eclipse... [message #522753 is a reply to message #522742] Tue, 23 March 2010 20:19 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 3/23/2010 1:37 PM, mandriva123@yahoo.com wrote:
> Newbie to ecllipse. I've got a JSP file from a project which I copied
> to test directory. I want to open the file, make modifiications and view
> the output.
> Are there specific steps you should follow for opening a JSP file - or
> just File ==> Open File and browse to the file in question?
>
> And are there any recommended Ecliipse URLs worth reviewing?
>
> Thank you.

Yeah, there's much to discuss here.

1. You can open and edit the file in text form. This may or many not
involve validation of the JSP code, something that you can turn off if
it's too annoying, too slow, or will fail. Sometimes, validation will
say there are errors when there are not. I think this depends on how
well organized your contributing classes and fragments included in the
JSP are.

2. You can right-click on the JSP and choose Run As to launch the web
application it's in. Do this if you want to see it in HTML more or less
in its running environment and if you have set things up so you can do this.

There are a number of tutorials out there on servlets and JSPs, such as
my own at http://www.windofkeltia.com/j2ee/wtp-tutorial.html There, you
can find links to others that might please you more, depending on your
level in Java, JSP, etc.

Hope this helps,

Russ Bateman
Re: View JSP file in eclipse... [message #522798 is a reply to message #522742] Tue, 23 March 2010 18:04 Go to previous message
Walter Harley is currently offline Walter HarleyFriend
Messages: 847
Registered: July 2009
Senior Member
mandriva123@yahoo.com wrote:
> Newbie to ecllipse. I've got a JSP file from a project which I copied
> to test directory. I want to open the file, make modifiications and
> view the output.
> Are there specific steps you should follow for opening a JSP file - or
> just File ==> Open File and browse to the file in question?
>
> And are there any recommended Ecliipse URLs worth reviewing?
>
> Thank you.

In addition to Russ' helpful advice: make sure you've got an Eclipse package
that contains the plugins needed to work on JSPs. You probably want the J2EE
version of Eclipse, rather than just Classic. You can always add the
functionality to an existing version of Eclipse, by using Help -> Install
Software; the feature you want to add is Web Tools Platform.

And make sure you've got an up to date version of Eclipse; preferably 3.5.2.
Previous Topic:Number of projects in workspace is zero
Next Topic:A solution similar to the PROIV IDE?
Goto Forum:
  


Current Time: Fri Apr 26 14:29:26 GMT 2024

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

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

Back to the top