dcsimg
J_security_check and Web.xml Problem
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Budi_Tasripin
Posted On:   Sunday, September 23, 2001 06:49 AM

Hi. i got problem with THE fORM Based login.. i try to check what wrong but can not find it, give up :( i have defined the in the tomcat-users.xml but when i try to access using my login page it always return unauthorized user .. here is my login page code username password and here is my web.xml code <?xml version="1.0" encoding="ISO-8859-1"?> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"   More>>

Hi.


i got problem with THE fORM Based login..

i try to check what wrong but can not find it, give up :(


i have defined the


			



in the tomcat-users.xml

but when i try to access using my login page it always return unauthorized user
..

here is my login page code

			

username
password





and here is my web.xml code

			
<?xml version="1.0" encoding="ISO-8859-1"?>


PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">






LoadTracker


Tracker





LoadTracker


LoadTracker









Tracker



/LoadTracker



GET



POST






guru











FORM





/loginpage.html



/error.html








guru









i really can not find what wrong with them.. :(

sorry to bother u guys..

i just start learning today....


Thanks in advance

Regards,


Budi    <<Less
About | Sitemap | Contact