Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Create a New Web Site???

 
XJie Tu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The configure is:
DearmWeaver+Tomcat+JBuilder+JDK1.3.1
I want to create a new web Site not under of the Tomcat.And I know how to use Context Admin to point to a new route.But many JavaBean can't work as not like it can work at ROOT.
Why???
Maybe have to setup other? What? How?
 
Shraga van Shufel
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am using Resin as the Servlet container so I can't help you much with the Tomcat configuration.
I do know that Tomcat can configure your site automatically when you deploy your war file.
create a web application in Jbuilder and create a war file on each build.
Deploy the war in Tomcat and it will pick up your site configuration.
hope it helps
/Shraga.
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java beans and servlets shouldn't be directly in the root of your web app...
all java classes should be in the /WEB-INF/classes directory
all java jar's should be in the /WEB-INF/lib directory
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic