Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: crguy
  • Order by date
  1. crguy

    Active Directory Service access?

    Hi, Maybe you can help me with this problem. I am writing a JSP Application and need to have a login form. I want to leverage the accounts that are already created in our Active Directory. Can this be done? Is there any good examples I can follow? Thanks VC
  2. crguy

    Sending Email to multiple TO

    Figured it out using JDBC. Thanks
  3. crguy

    Sending Email to multiple TO

    Hi hologram, I am sorry I posted the wrong code above. package JavaBean; import java.util.Date; import java.util.Properties; import javax.mail.*; import javax.mail.internet.*; import javax.activation.*; public class SendMail { // Sender, Recipient, CCRecipient, and BccRecipient...
  4. crguy

    Sending Email to multiple TO

    Hi hologram, I get this error when I try to execute it: javax.mail.internet.AddressException: Illegal address in string ``john.smith@aol.com,john.smith@aol.com'' I will paste the revised code for SendMail.java any code examples would be great. Thanks in advance...
  5. crguy

    Sending Email to multiple TO

    Hi hologram, If I use Vectors, what do I put in my SendMail.jsp page? I am confused all how it all ties in together. Any detailed example would be greatful. crguy
  6. crguy

    Sending Email to multiple TO

    Hi, I have a Java class SendMail.java (code below). I have a jsp page that send the required parameters to the Java class. (code below). Everything works as it should except when I try to send it to multiple people in the TO field. Can anybody direct me on how to fix this problem? Thanks...
  7. crguy

    Hi, I apologize in advance for t

    Hi, I apologize in advance for the multiple questions. I have a JSP application that is located in the following directory c:\jsp The application has the regular directory structure (WEB-INF etc.) I create an Oracle report, and placed the reports_tld.jar in my lib folder within my web...
  8. crguy

    JSP Report

    Hi, Thank you I think that did the trick. VC
  9. crguy

    JSP Report

    Hi, Sorry for all the questions. After modifying the code as you suggested I get an "Incompatible type for method. Can't convert java.util.Vector to java.lang.String" Any suggestions? I will look on the net for examples. Thanks for your help. VC
  10. crguy

    JSP Report

    Hi, How can I pick up these values dynamically? Vector designation = new Vector(); designation.addElement("Manager"); designation.addElement("Manager"); designation.addElement("Clerk")...
  11. crguy

    JSP Report

    Hi, Putting distinct will not help, as every row is distinct. Thie is what happens: Manager Joe Smith Manager John James This is what I would like: Manager Joe Smith John James etc: I would like to do this in JSP. Thanks
  12. crguy

    JSP Report

    Hi, I am creating a report in JSP with Oracle backend. My report needs to be displayed in a html table (this is not a problem). Unfortunately, the first column repeats itself over and over again. Is there anyway to suppress duplicated values in JSP? Thanks in advance. VC
  13. crguy

    Update Statement Help

    Hi, I manage to read the records fine. I am not sure about filling in my StudentInformation class. Thanks Vito
  14. crguy

    Update Statement Help

    Hi Salih, I am sorry for all the questions. I have a method (updateStudentInformation) and a class (StudentInformation). Where do I need to create a new instance, in my StudentInformation class? Also, my values for si.id come from a database so I am not sure what I need to put for si.id = 5. I...
  15. crguy

    Update Statement Help

    Hi Salih, Can you please provide an example? I am getting confused about this. Thanks
  16. crguy

    Update Statement Help

    I have the following method, what I don't understand is how I need to process the statement. Can anybody direct me on how to do this? Thanks public void updateStudentInformation(StudentInformation stInformation) throws Exception { if (conn != null) { try {...
  17. crguy

    Scrollable ResultSet

    Hi, Here is a part of my code: Statement myStatement = conn.createStatement( ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE) ResultSet customerResultSet = myStatment.exceuteQuery( SELECT ID, NAME FROM EMP WHERE ID = 2 ); Do I need to create a separate class that will do the...
  18. crguy

    JSP and JavaBeans

    Hi, Thanks for the comments, but I think I solved my problem. This is what I did, I created a Java class (javaClass.java). I placed all my business logic in this class. I then use the <jsp: include...> and <jsp: foward...> in my JSP pages. Not sure if this is the correct approach, but it...
  19. crguy

    JSP and JavaBeans

    I assume I could use the <form> tag to submit the custID from one JSP to another. Is this correct? ThanksVC
  20. crguy

    JSP and JavaBeans

    Hi, I am new to Java. I have a JSP page that will pass a customer ID to getCustName.java. I do not know how to write a simple select statement JavaBean that will take the custID and select the custName and then in turn send it to another JSP page. Can anybody help with this? Thanks VC

Part and Inventory Search

Back
Top