fix: 회원 가입 화면에서 로그인 안 되는 오류 수정

main
thkim 2024-07-23 16:36:24 +09:00
parent 7a048c66f4
commit 5ae9b432ff
4 changed files with 17 additions and 35 deletions

View File

@ -28,7 +28,7 @@ public class WebConfirm
String pw = "geoinfo"; String pw = "geoinfo";
//String url = "jdbc:oracle:thin:@192.168.0.71:1521:orcl"; //String url = "jdbc:oracle:thin:@192.168.0.71:1521:orcl";
/*String url = "jdbc:oracle:thin:@192.168.0.29:1521:xe";이전*/ /*String url = "jdbc:oracle:thin:@192.168.0.29:1521:xe";이전*/
//String url = "jdbc:oracle:thin:@192.168.0.8:3452:orcl"; // 실서버 //String url = "jdbc:oracle:thin:@218.232.234.200:1521:orcl"; // 실서버
String url = "jdbc:oracle:thin:@118.219.150.34:1521:ORAGEODEV"; // DBNT 개발 서버 String url = "jdbc:oracle:thin:@118.219.150.34:1521:ORAGEODEV"; // DBNT 개발 서버
/* /*
* public WebConfirm() { this.connection = null; this.connectionPool = null; * public WebConfirm() { this.connection = null; this.connectionPool = null;

View File

@ -29,10 +29,10 @@ Oracle.Password=geoinfo
############################################### ###############################################
#Geoinfo.FilePath=D:\\Tomcat6\\geoinfoEgov\\webapps\\geoinfo\\files\\ #Geoinfo.FilePath=D:\\Tomcat6\\geoinfoEgov\\webapps\\geoinfo\\files\\
Geoinfo.FilePath=C:\\app\\files\\ Geoinfo.FilePath=D:\\app_geoinfo\\app\\files\\
#\uac80\uc0c9\uc720\ud1b5 3\ucc28\uc6d0 #\uac80\uc0c9\uc720\ud1b5 3\ucc28\uc6d0
#Geoinfo.FilePath3D=files\\4dim\\2014\\ #Geoinfo.FilePath3D=files\\4dim\\2014\\
Geoinfo.FilePath3D=C:\\app\\files\\4dim\\2014\\ Geoinfo.FilePath3D=D:\\app_geoinfo\\app\\files\\4dim\\2014\\
#\uc804\ubb38\uac00\uc758\uacac #\uc804\ubb38\uac00\uc758\uacac
Geoinfo.Report=files\\report\\ Geoinfo.Report=files\\report\\

View File

@ -891,7 +891,7 @@
<tr> <tr>
<th class="td-head">프로젝트명(사업명)</th> <th class="td-head">프로젝트명(사업명)</th>
<td colspan="4"> <td colspan="4">
<input id="PROJECT_NAME" name="PROJECT_NAME" type="text" style="width: 100%;" value="${result.project.projectName}" maxlength="2000" valid="notnull" validNm="프로젝트명" readonly disabled /> <input id="PROJECT_NAME" name="PROJECT_NAME" type="text" style="width: 100%;" value="${result.project.projectName}" maxlength="2000" valid="notnull" validNm="프로젝트명" />
</td> </td>
</tr> </tr>
<tr> <tr>

View File

@ -1,18 +1,18 @@
/************************************************************************************************* /*************************************************************************************************
* 공통 스크립트 * 공통 스크립트
* 2006-11-06 ljy * 2006-11-06 ljy
***************************************************************************************************/ ***************************************************************************************************/
/** 데이타로딩중 팝업위치 **/ /** 데이타로딩중 팝업위치 **/
var leftVal = (screen.width)/2 -100; var leftVal = (screen.width)/2 -100;
var topVal = (screen.height)/2 -100; var topVal = (screen.height)/2 -100;
/** 데이타로딩중 팝업열기 **/ /** 데이타로딩중 팝업열기 **/
function openWaitWin(){ function openWaitWin(){
waitWin = window.open("/home/wait.jsp",'waitWin','scrollbars=no,titlebar=no,width=300,height=130,left=' + leftVal + ',top=' + topVal, true); waitWin = window.open("/home/wait.jsp",'waitWin','scrollbars=no,titlebar=no,width=300,height=130,left=' + leftVal + ',top=' + topVal, true);
} }
/** 데이타로딩중 팝업닫기 **/ /** 데이타로딩중 팝업닫기 **/
function closeWaitWin(){ function closeWaitWin(){
if(waitWin != null){ if(waitWin != null){
waitWin.close(); waitWin.close();
@ -33,7 +33,7 @@ function trim(astring)
return result; return result;
} }
/** 한글체크 **/ /** 한글체크 **/
function korean_check(str) function korean_check(str)
{ {
var i; var i;
@ -42,12 +42,12 @@ function korean_check(str)
for (i=0;i<str.length;i++) for (i=0;i<str.length;i++)
{ {
ch = escape(str.charAt(i)); //ISO-Latin-1 문자셋으로 변경 ch = escape(str.charAt(i)); //ISO-Latin-1 문자셋으로 변경
//가 ==> %uAC00 //가 ==> %uAC00
//힝 ==> %uD79D //힝 ==> %uD79D
// ==> %uD7A3 // ==> %uD7A3
//한글이면 //한글이면
if (strCharByte(ch) == 2) if (strCharByte(ch) == 2)
{ {
result = true; result = true;
@ -65,13 +65,13 @@ function strCharByte(chStr)
if (chStr.substring(2,4) == '00') if (chStr.substring(2,4) == '00')
return 1; return 1;
else else
return 2; //한글 return 2; //한글
} }
else if (chStr.substring(0,1) == '%') else if (chStr.substring(0,1) == '%')
{ {
//alert (parseInt(chStr.substring(1,3), 16)); //alert (parseInt(chStr.substring(1,3), 16));
if (parseInt(chStr.substring(1,3), 16) > 127) if (parseInt(chStr.substring(1,3), 16) > 127)
return 2; //한글 return 2; //한글
else else
return 1; return 1;
} }
@ -81,26 +81,8 @@ function strCharByte(chStr)
} }
} }
/** 로그인 **/
function login()
{
if(loginForm.userId.value == "")
{
alert("아이디를 입력하세요");
return false;
}
else if(loginForm.password.value == "")
{
alert("비밀번호를 입력하세요");
return false;
}
else
{
return true;
}
}
/** 메뉴이동 **/ /** 메뉴이동 **/
function goMenu(menuId,contentUrl) function goMenu(menuId,contentUrl)
{ {
top.location.href = "/main.jsp?id=" + menuId + "&url=" + contentUrl; top.location.href = "/main.jsp?id=" + menuId + "&url=" + contentUrl;