Win a copy of Spark in Action this week in the Open Source Projects forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

web apps security

 
Ranch Hand
Posts: 104
Netbeans IDE Windows XP Java
  • 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
 
Sheriff
Posts: 6615
1253
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • 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
Sheriff
Posts: 6615
1253
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • 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
Netbeans IDE Windows XP Java
  • 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
Sheriff
Posts: 6615
1253
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • 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
Netbeans IDE Windows XP Java
  • 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???
 
Are you okay? You look a little big. Maybe this tiny ad will help:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic