Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Asp call java class file.

Reply
Thread Tools

Asp call java class file.

 
 
Ethics
Guest
Posts: n/a
 
      09-20-2004
Hi,

I would like to use asp to call a java class file with arguments in methods
for a web database application. May I know how to call the following class ?
say :

package wkflow;
//all the imports here
public class clsMail(){
public void sendMail(String subject, String Content, String Recipient){
//Some command to post mail;
}
}

I am using Win2000 server's IIS.


Regards,
 
Reply With Quote
 
 
 
 
Patrice
Guest
Posts: n/a
 
      09-20-2004
Not an expert but how do you expose the class to the ASP environment ? AFAIK
it could be exposed as a COM object that you can then call as usual.

As a side note CDOSYS should provide already a way to send mail messages
without installing anything else... (seach msdn for "CDONTS.NewMail" if NT,
"CDO.Message" if Windows 2000 or later).

Patrice

--

"Ethics" <> a écrit dans le message de
news:B35E69E8-9BD5-45E8-9A51-...
> Hi,
>
> I would like to use asp to call a java class file with arguments in

methods
> for a web database application. May I know how to call the following class

?
> say :
>
> package wkflow;
> //all the imports here
> public class clsMail(){
> public void sendMail(String subject, String Content, String

Recipient){
> //Some command to post mail;
> }
> }
>
> I am using Win2000 server's IIS.
>
>
> Regards,



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Class Function call vs Normal Function call THAKUR PRASHANT SINGH Ruby 7 02-27-2010 07:04 AM
Class A contains class B, class B points to class A Joseph Turian C++ 5 12-30-2005 03:24 PM
Nested Class, Member Class, Inner Class, Local Class, Anonymous Class E11 Java 1 10-12-2005 03:34 PM
A parameterized class (i.e. template class / class template) is not a class? christopher diggins C++ 16 05-04-2005 12:26 AM
help: need to call call web service from java bill sandner Java 1 07-01-2004 02:57 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57