-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tal,

Tal Yaari wrote:
> I have a project in Eclipse, which I want to run on Tomcat using Tomcat
> plugin (com.sysdeo.eclipse.tomcat_3.0.0.alpha1). I set the project as a
> Tomcat project and run the Tomcat.

[snip]

> :\ccm_wa\TICP-core-yaari_3.0.0\TICP\ui.occ\work\org\apache\jsp\Login_jsp
> .java:8: org.apache.jsp.Login_jsp is not abstract and does not override
> abstract method getIncludes() in org.apache.jasper.runtime.HttpJspBase
> 
> public final class Login_jsp extends
> org.apache.jasper.runtime.HttpJspBase

That is /awesome/! It looks like Tomcat totally blew its brains out.

You might want to cross-post this question to the support list for the
Tomcat plug-in. Note that it's an /alpha/ and might not work at all.

> I think that part of the problem is that Tomcat 5.x is using a newer
> Jasper and when it compiles my JSPs, it "expects" to "deal" with JSP 2.0
> specification, while the struts which I am using doesn't support it.

Not true. Struts doesn't have to support any specific version of JSP; as
long as your server supports /at least/ what Struts needs, you should be
fine.

> Struts 1.1 tags extends: javax.servlet.jsp.tagext.Tag while the generate
> Servlet (as a result of my JSP) expects to get
> javax.servlet.jsp.tagext.JSPTag.

The API is backward-compatible. This isn't a struts issue.

> I didn't find how to set Tomcat to build the JSPs in the old
> specification.

You can't. The new compiler supports JSP 2.0 and previous specs.

Sorry I can't help too much.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG5vM59CaO5/Lv0PARAvUPAJ9fzuEhRcesnJstPskgJrQ2KyQ/cACfaYrh
EY2c4+2FK2mf13bAhpUo8/Y=
=q/Ht
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to