Hello
Basically what I want to do is write a
servlet that outputs a wml page that will tell me if I have new mail or not. The problem is that all servlets are run as the apache user instead of as me so all processes will be run as apache processes, ie 'frm -S -q' will say whether apache has been mailed anything and not me.
To solve this I do not wish to save the relavent information to a file and have apache access the file, I want the servlet to pass a
string to a class run by my account and this class will return a string with the proper results. I do not have access to sockets on the system, but the class wouldn't really be remotely accessed anyway.
What I want to know is the way(if there is one) to comunicate between classes if they're not compiled together or part of the same package or even owned by the same user. I've looked at using Objectoutput/inputstream but it seems to use an intermediary socket which I don't have access to.
Sorry if this is the wrong board to post this, but I don't think it's really a servlet question..
Thanks,
Brendan