not necessarily a tomcat question, but once-upon-a-time I had a similar
situation accessing JDBC data.  As long as I ran my app directly, I
could do so, but once embedded in servlet it would not.  It turned out
that it was an authorization problem.  While running the app directly, I
was logged in and had authorization, from the servlet, I had not
provided any password or signon.  I had to put a user-id and password
into my servlet-application to gain access to the data.

Robyne K. Vaughn

 
  _____  



-----Original Message-----
From: Anne Milbert [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 27, 2005 9:44 AM
To: tomcat-user@jakarta.apache.org
Subject: save form-data in xml-file


Hi,

I got a problem in saving the data submitted by a form in a xml-file. I
wrote a servlet which uses a method createXML() to put the form-data
into a xml-file. The problem is: I can't run this method in the servlet.
But if I put it in a "normal" class and call it in the main-method
everything works fine. What am I doing wrong?

Regards,
Anne


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to