I am trying to invoke a native method from within a java class. The Dll is in
the winnt/system32 dir.
This works if the class ist run from the commandline.
As soon as if i run the same class from within a JSP file, it doesn't work!


Sample:
<jsp:useBean id="obj" class="my.UseObjects" scope="session"/>
<jsp:setProperty name="obj" property="*"/>

<html>
<head>
     <title>Untitled</title>
</head>

<body>
<%= obj.invoke("teststring") %>



There is an error:


Error: 500
Location: /examples/jsp/max/02.jsp
Internal Servlet Error:

java.lang.IllegalStateException: Response has already been committed





What is the reason for this? Is the Tomcat engine not working correctly?


Help needed!
Herbert

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to