User Profile

Collapse

Profile Sidebar

Collapse
newlearner
newlearner
Last Activity: Jan 19 '12, 02:11 PM
Joined: May 15 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • newlearner
    started a topic webservice as a NT service
    in Java

    webservice as a NT service

    Hi All,

    I have developed a web service and deployed successfully into tomcat and is working properly.

    it can be accessed as
    http://localhost:9091/helloService/hello?wsdl

    Now i need to expose this web service as a NT service,Also i need to access this service as the same way as above.

    I tried windows wrapper service ... but i was not able figure out on which port it runs and how to...
    See more | Go to post

  • newlearner
    replied to How to connect to smtp server?
    in Java
    i fixed the issue, it was due to the firewall in my network
    See more | Go to post

    Leave a comment:


  • newlearner
    replied to How to connect to smtp server?
    in Java
    can any one give some idea on this, I also tried by setting the auth as true and setting up the authentication details
    See more | Go to post

    Leave a comment:


  • newlearner
    started a topic How to connect to smtp server?
    in Java

    How to connect to smtp server?

    hi,
    I am new to java networking, i tried to send a mail from my java program,in the code i set debug to true

    i get the following error

    DEBUG SMTP: useEhlo true, useAuth false
    DEBUG SMTP: trying to connect to host "smtp.gmail.com ", port 465, isSSL false

    i have no idea why this is coming even after i set the proper server name and the port.

    any suggestion is most welcome,...
    See more | Go to post

  • newlearner
    replied to what is the problem in the following code?
    in Java
    Code:
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    
    
    public class SysRead {
    	public static void main(String[] args) { 
    		String x; 
    		System.out.println("Enter a digit"); 
    		try { 
    			BufferedReader x1 = new BufferedReader(new InputStreamReader(System.in));
    			System.out.println("Entered Value:" + Integer.parseInt(x1.readLine())); 
    		} catch
    ...
    See more | Go to post

    Leave a comment:


  • newlearner
    replied to unable to get the output value in format
    in Java
    try this

    if(document.get ElementById('ch kA').checked) {
    var txt = document.getEle mentById('txtA' ).value;
    if(txt.length<1 ) {
    window.alert("E nter Fresh Activation Days");
    txt.focus();
    return false;
    }
    }
    See more | Go to post

    Leave a comment:


  • newlearner
    started a topic How Build Class Hirearchy
    in Java

    How Build Class Hirearchy

    I have three entities
    1.Subject
    2.Teacher
    3.Student

    relationship is
    A student can have n number of teachers
    A Teacher can have n number of students
    Both Student and Teacher can have n number of subjects.

    How would i build the class Hierarchy.

    Thanks in advance
    See more | Go to post

  • thanks Frinavale
    if i am not wrong... it would get submitted twice,but since the object is already found in the session another instance is not created.so there is no response to the second click.

    please clarify
    See more | Go to post

    Leave a comment:


  • JSP what will happen if i click submit button twice

    Hi All
    I have an interview question
    What will happen if i click the submit button twice in a JSP. Will the second request be processed or not.

    Thanks
    new learner
    See more | Go to post

  • can any body help me out?
    See more | Go to post

    Leave a comment:


  • newlearner
    replied to get the label value of an output text
    in Java
    I am sure that my question speaks JAVA. If you can understand ... I am speaking about JSF component and not awt.

    I need to read labelname of a JSF COMPONENT.... understood??...
    See more | Go to post

    Leave a comment:


  • newlearner
    started a topic get the label value of an output text
    in Java

    get the label value of an output text

    Hi All,
    I am using JSF frame work.... and need to get the value of a output label

    I tried getcomponent.ge tvalue and many more.....
    Nothing has worked out...

    i there any way to get the label parameter

    I set the value of the label through label properties .. it would be great if i can get the path of the value atleast


    Thanks

    Shasi
    See more | Go to post

  • newlearner
    started a topic set focus for a component from action class JSF
    in Java

    set focus for a component from action class JSF

    Hi all,
    is there any way to set focus for a HTML component from action class in JSF frame work.

    The Requirement is
    I validate a input text using a4j . if there is a validation error then i need to set focus back to the same component where the error occurred.

    OR is there any way to set foucs dynamically in a4j tag itself.


    Thanks
    Shasi
    See more | Go to post

  • Can u give the structure of the XML that has the city and state combination.

    Are u parsing the XML using javascript or PHP?
    See more | Go to post

    Leave a comment:


  • newlearner
    replied to assinging objects
    in Java
    thts fine... thanks...

    but my concern is after c2=c3... since both are one and the same. will there be a garbage collection on either c2 or c3.

    If c3 is collected is c2 still valid bcoz c2 & c3 are pointing to the same point

    Another doubut too....

    If either c2 or c3 is deleted... will c1 will also be deleted as c1 is also the same as c3 and c2

    Eagerly waiting...
    See more | Go to post

    Leave a comment:


  • newlearner
    replied to assinging objects
    in Java
    if c2 and c3 are pointing to the same block of memory... thn, if suppose c3 is deleted by garbage collection . is c2 still a valid object and can the methods be accessed even when c3 is not available.
    See more | Go to post

    Leave a comment:


  • newlearner
    started a topic assinging objects
    in Java

    assinging objects

    i have the following code


    public class Check_Garbage {
    String a ="Check_Garb age ";
    public static void main(String args[]){
    Check_Garbage c1 = new Check_Garbage() ;
    Check_Garbage c2 = m1(c1);
    Check_Garbage c3 = new Check_Garbage() ;
    c2 = c3;
    }

    static Check_Garbage m1(Check_Garbag e obj1){
    ...
    See more | Go to post

  • tnx for the reply... i was going around for this for the past two days...
    See more | Go to post

    Leave a comment:


  • what object to create in firefox to access a file

    hi all,

    what object to create in firefox to access a file in the client system.

    Looking forward ...

    Thanks in advance for the reply..
    See more | Go to post

  • newlearner
    replied to HTTP request failed! HTTP/1.0 400
    in PHP
    HTTP request failed! HTTP/1.0 400 invalid headers received from the browser


    Yes
    my code is


    $url = 'http://www.bbc.com';
    $page = file_get_conten ts($url);
    echo "Type of ".gettype($page );...
    See more | Go to post
    Last edited by newlearner; Sep 20 '07, 06:04 AM. Reason: suit the title to the question

    Leave a comment:

No activity results to display
Show More
Working...