aspose file tools*
The moose likes Tomcat and the fly likes web apps security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "web apps security" Watch "web apps security" New topic
Author

web apps security

appu sharma
Ranch Hand

Joined: Sep 20, 2009
Posts: 104

In HF servlet & JSP(CH 12) it is given that to configure tomcat-user.xml file but i am using netbeans 6.7 and tomcat 6 is in built in it so where can i search for tomcat-user.xml file through netbeans???

when i add thse lines in tomcat-user.xml
and in web.xml

Netbeans gives the following error -

Incrementally deploying http://localhost:8084/WebApplication2
Completed incremental distribution of http://localhost:8084/WebApplication2
Incrementally redeploying http://localhost:8084/WebApplication2
Start is in progress...
start?path=/WebApplication2
FAIL - Application at context path /WebApplication2 could not be started
C:\Documents and Settings\vinit\My Documents\NetBeansProjects\WebApplication2\nbproject\build-impl.xml:572: The module has not been deployed.
BUILD FAILED (total time: 0 seconds)
so what i do to remove thse error
thank you
vinit


It doesn't matter if you win by an inch or a mile; winning's winning.
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 2885
    
  13

Vendor-specific configurations are not in the scope of SCWCD. Moving to the Tomcat forum...


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
My Home Page -- Twitter Profile -- JavaRanch FAQ -- How to Ask a Question
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 2885
    
  13

You can find the tomcat-uses.xml in the 'conf' directory, which is a sub directory of the Tomcat Home directory.
appu sharma
Ranch Hand

Joined: Sep 20, 2009
Posts: 104

but i am using to implement the page number 664 and 665 of HF servlet & JSP??? and i cannt configure it but got an error???
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 2885
    
  13

vinit sharma wrote:but i am using to implement the page number 664 and 665 of HF servlet & JSP

Please note that not everyone have that book. You better quote it down here.

vinit sharma wrote:but got an error???

Please TellTheDetails
appu sharma
Ranch Hand

Joined: Sep 20, 2009
Posts: 104

and try to authenticate which directory(ROOT or WEB-INF or classes) and can any one give more code on it???
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web apps security
 
Similar Threads
The DD security-role element in web.xml
Problem with security constraints while doing authentication & authorization
web security not working as expected,
HTTP Status 403 Access to the requested resource has been denied
Basic Authentication Does Not Work Properly