Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Workaround for Web-Tools falure to run JSP's
Workaround for Web-Tools falure to run JSP's [message #192997] Tue, 22 May 2007 22:16 Go to next message
Paul E. Keyser is currently offline Paul E. Keyser
Messages: 878
Registered: July 2009
Senior Member
I've been entirely unable to get any Web-project within Web-Tools to do anything at all (except
claim "service not found"). However, I can manage to use the thing as a rather heavy-weight JSP
editor (altho it fails to "import" this valid directive: <%@ taglib prefix="tags"
tagdir="/WEB-INF/tags" %> and rejects comments). Using that function, I can write JSP's and then
copy them (and the corresponding.tag files) into the C:/Program Files/Apache Software
Foundation/Tomcat 5.5/webapps/jsp-examples directory (and WEB-INF/tags/ subdirectory), and actually
get the JSP's to run (using http://localhost:8080/jsp-examples/myLittle.jsp). This seems to validate
that I have a valid Tomcat install and am creating valid JSP's. So it must be some hidden
un(der)documented setup preference thingy that is preventing Web-Tools from working.

Conceivably this workaround will be of use to other web-tools newbies, hence posted here.

Paul
Re: Workaround for Web-Tools falure to run JSP's [message #193039 is a reply to message #192997] Thu, 24 May 2007 06:53 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2310
Registered: July 2009
Senior Member
Paul Keyser wrote:
> I've been entirely unable to get any Web-project within Web-Tools to do
> anything at all (except claim "service not found"). However, I can
> manage to use the thing as a rather heavy-weight JSP editor (altho it
> fails to "import" this valid directive: <%@ taglib prefix="tags"
> tagdir="/WEB-INF/tags" %> and rejects comments). Using that function, I
> can write JSP's and then copy them (and the corresponding.tag files)
> into the C:/Program Files/Apache Software Foundation/Tomcat
> 5.5/webapps/jsp-examples directory (and WEB-INF/tags/ subdirectory), and
> actually get the JSP's to run (using
> http://localhost:8080/jsp-examples/myLittle.jsp). This seems to validate
> that I have a valid Tomcat install and am creating valid JSP's. So it
> must be some hidden un(der)documented setup preference thingy that is
> preventing Web-Tools from working.
>
> Conceivably this workaround will be of use to other web-tools newbies,
> hence posted here.

The 2.0 builds contain support for the tagdir attribute, although
I'm not sure what you mean by "rejects comments". You should open a
formal bug report for any problems you're seeing so they can be
addressed properly, although I suspect there's a network port
conflict launching your installation of Tomcat for testing purposes
if it's already running as an installed service.

--
Nitin Dahyabhai
Structured Source Editor


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:trouble running servlet on tomcat server in eclipse
Next Topic:Can Web service explorer be converted to a standalone web application
Goto Forum:
  


Current Time: Thu Oct 23 00:45:43 GMT 2014

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

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