• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

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: 6926
1316
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: 6926
1316
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: 6926
1316
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???
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic