JSPs not compiling [message #210816] |
Mon, 24 March 2008 22:25 |
Eclipse User |
|
|
|
Originally posted by: nick.poppelreiter.eyefinity.com
I just installed Eclipse Version: 3.3.2 Build id: M20080221-1800 - the
full install with web tools. I'm running a Tomcat 5.5 server in eclipse,
but I can't get my JSPs to compile. Nothing is showing up in my
...\workspace\.metadata\.plugins\org.eclipse.wst.server.core \tmp0\work\Catalina\localhost\ <context>
dir. Any suggestions???
Nick
|
|
|
|
Re: JSPs not compiling [message #210877 is a reply to message #210861] |
Tue, 25 March 2008 14:15 |
Eclipse User |
|
|
|
Originally posted by: nick.poppelreiter.eyefinity.com
I'm running a tomcat server in eclipse. Servlets (with appropriate
web.xml mapping) are working just fine. But JSPs are not. I think it's
because they are not compiling - there are no java or class files for
them. The java and class files should be in tmp0 (the server path) in the
work\Catalina\localhost\<contextroot> directory.
|
|
|
|
|
|
Re: JSPs not compiling [message #210907 is a reply to message #210898] |
Tue, 25 March 2008 15:00 |
Eclipse User |
|
|
|
Originally posted by: nick.poppelreiter.eyefinity.com
My web.xml file contains the following, where my context root is
valuereport:
<servlet>
<description></description>
<servlet-name>ValueReport2</servlet-name>
<jsp-file>/ValueReportMain.jsp</jsp-file>
</servlet>
<servlet-mapping>
<servlet-name>ValueReport2</servlet-name>
<url-pattern>/ValueReportMain</url-pattern>
</servlet-mapping>
The ValueReportMain.jsp file is located in the WEB-INF dir in my
workspace, along with my web.xml file. Both are getting published to the
server tmp0 WEB-INF dir. At this point in testing, my jsp file only
contains minimal html.
My URL is:
http://localhost:8080/valuereport/ValueReportMain
|
|
|
|
Re: JSPs not compiling [message #210922 is a reply to message #210915] |
Tue, 25 March 2008 15:14 |
Eclipse User |
|
|
|
Originally posted by: nick.poppelreiter.eyefinity.com
OK. That's what I was after. How much do I owe you? :) Guess this is
the benefit of web forums! Thanks much.
Nick
|
|
|
Powered by
FUDForum. Page generated in 0.02157 seconds