Workaround for Web-Tools falure to run JSP's [message #192997] |
Tue, 22 May 2007 22:16  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03444 seconds