This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
i'm deploying my web application on tomcat and use JSP tags in the jsp files. i have a screen.tag: <%@ tag body-content="scriptless" %> <%@ tag import="javax.servlet.jsp.PageContext" %> <%@ tag import="file1" %> <%@ tag import="file2" %> <%@ tag import="file3" %>
<%! //some declarations go here %>
and when i run my application i get a jasper exception telling me '<%!' and '%>' is an invalid character constant! i cannot agree with this guy!! what am i doing to render it invalid?
P.S. Your only other choices are tagdependent and empty -- so what does that tell you about the applicability of scripting element within a tag file?
Joined: Feb 02, 2006
nope that isnt the problem at all 'cos i have 2 other tag files with the same directive and they working just fine!!! no problemo! and wait i did test this screen.tag with lt%= "Hi"!! %gt and the page did say Hi!! back! besides as far as i know, "scriptless" attribute is to say that the body of the tag does not have any scripts right??? , i havent put no scripts in the tags body!
tried removing the "...scriptless" attribute but thats doing nothing good for me.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com