• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

web apps security

 
Ranch Hand
Posts: 104
Netbeans IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 7413
1423
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Vendor-specific configurations are not in the scope of SCWCD. Moving to the Tomcat forum...
 
Devaka Cooray
Sheriff
Posts: 7413
1423
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Netbeans IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 7413
1423
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Netbeans IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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???
 
reply
    Bookmark Topic Watch Topic
  • New Topic