Hey Tom,

Another java developer has sugested another avenue of attack

I have replace that last code snippet with ;

                    if(TxtCheck1.equals(User_Name)) {
                        // User join1 data has been added to Database
                        String Redirect_String = "./ValidUser?firstname=" +
User_Name;
                        WltRedirect myRedirect = new
WltRedirect(Redirect_String);
                        out.println(myRedirect.getRedirect());
                        }

And then built an object;

public class WltRedirect
{
    String redirect;
    String fixedA = "<html><head><META HTTP-EQUIV=\"Expires\" CONTENT=\"Tue,
01 Jan 1980 1:00:00 GMT\">";
    String fixedB = "<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\"><meta
http-equiv=\"Refresh\" Content=\"0; URL=";
    String PassedIn;
    String fixedD = "\"><title>Weekly Love
Tips</title></head><body></body></html>";

    public WltRedirect (String PassedIn)
    {
        redirect = fixedA + fixedB + PassedIn + fixedD;
    }

    public String getRedirect()
    {
        return redirect;
    }
}

This seems to be operating smoothly.


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to