• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web apps security

 
appu sharma
Ranch Hand
Posts: 104
Java Netbeans IDE Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4416
252
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vendor-specific configurations are not in the scope of SCWCD. Moving to the Tomcat forum...
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4416
252
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 104
Java Netbeans IDE Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Pie
Posts: 4416
252
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 104
Java Netbeans IDE Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and try to authenticate which directory(ROOT or WEB-INF or classes) and can any one give more code on it???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic