|Re: View JSP file in eclipse... [message #522753 is a reply to message #522742]
||Tue, 23 March 2010 20:19
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
On 3/23/2010 1:37 PM, firstname.lastname@example.org 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
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,
Powered by FUDForum
. Page generated in 0.01587 seconds