Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Ant JSPC task

34098Nov 7 2002
I'd like to use the ant JSPC task to write JSPs into servlets and follow this up with a javac call to compile them. The goal would be to not deploy JSPs, but the servlets, with appropriate mappings in the web.xml file.

I imagine that to get the JSP's written into servlets as JDeveloper does, one would need to set the compiler attribute of the jspc task. Can anyone direct me to what this attribute should be set to in order to use ojspc? I tried setting it to oracle.jsp.tools.Jspc, but Ant 1.5 balks saying this is not a compiler adapter. Pointing it to oracle.jsp.provider.JspCompiler brings up an "interesting exception" exception. Is there another class out there that acts as an adapter? I know this jspc task has lots of doc on using the Jasper compiler, but I'd like to follow the same path as if the app was compiled within JDeveloper.

Thanks,

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 18 2002
Added on Nov 7 2002
2 comments
386 views