Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Logon java bean using xml


Message #1 by "Grant Priestley" <gpriestley@l...> on Fri, 26 Apr 2002 02:52:11
Hi guys...

I've recently updated to the new jdk (1.4) and i'm trying to convert some 
of the classes i had written previously to work in the new environment.

I'm running into problems because i don't need the old javax class that i 
bolted on for 1.32, because the new jdk has it's own xml parsers.

this is my example:

package logonBean;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.*;

  public class logon 
  {
	  String userID = "";
	  boolean secure = false;

  	public String getUserID()
	  {
		  return userID;
	  }

    public void setUserID(String userID)
    {
      this.userID = userID;
	  }

    public void setSecure()
    {
		  secure = true;
    }

    public boolean getSecure()
    {
      return secure;
    }
  }

anyone go an idea of how to format this code into the new jdk 1.4..??

g!

  Return to Index