Only 49 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

make war file  RSS feed

 
zhebincong
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
one of my book tell me that i must add the "html" file first then add servlet file to war file when i use the deploy tool built-in j2ee platform to package my j2ee project(ear file),but when i reversely add the two files(servlet first and html file second),it still work well,i don't know why,i wonder if the order that is used to add files is sensitive,i can't find any difference between them,who can answer me?
thank you!
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
zhebincong
Please note that javaRanch has a naming standard that you must follow (it was prominently displayed when you registered). You must use your real first name - space -real last name as your display name. You will not be eligible for the book give-away unless you follow this standard. Thanks.
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A war file is just another type of zip file. The actual order that you add files to it only matters if they have the same name. In that case the second copy overwrites the first copy.
 
Ram Dhan Yadav K
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This link in SCWCD forum might help you!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!