I have built a JSP to test some functionality and have included the domino:mailto tag. The tag is wrapped around a domino:view tag and works fine as long as the encoding attribute is set to “text/plain”. But when I change the attribute to “text/html”, I get the following error in my browser:
Tags Error: Domino object error.: (4482) Older version on server does not support this method
Notes Error: null
I can’t find much in the way of reference about this. Can anyone help?
Thanks
Tom
Subject: JSP Help: 4482 Error on Mailto tag
I have nothing to say regarding your issue. Rather, I just thought I would say hello to a fellow Hallett!
Subject: JSP Help: 4482 Error on Mailto tag
The problem has to do with rich text fields. The JSP tags use the Domino Objects for Java, aka backend classes. When the mime type is text/plain, the JSP tags ask the backend’s Document object to create a richtext item. When the mime type is text/html, the expectation is that the rich text field will now store richtext in multipart mime, and so the JSP tags ask the backend session to create a stream, and that is where the exception is thrown.
Keep in mind that the ‘backend objects’ in NCSO.jar are proxying for code that runs on the Domino server. That means that your web app could be using an NCSO.jar file that came from a version of the Domino server that is not the same version as the Domino server your web is currently talking to.
To say it another way, it’s very easy to upgrade your web app to use the jar files from Domino 6.0.3 and then talk to a Domino 5.0.12 server. Some things will work, and some won’t - like multipart mime richtext - because the old server is not capable of responding to the new proxy code’s requests.
As late as 6.0.3 M2 the JSP tags would pass back the exception you are reporting. By the Gold build of 6.0.3, the JSP tags trap that exception, change the mime type to text/plain, and try again to store the text. Not perfect, but it’s what that Domino server can handle using the backend classes.
Hope that helps!