Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

WAR file problems in sun J2EE RI server  RSS feed

Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am tryin to deploy an application on Sun J2EE RI Server.My application has 2 web components(war files) one containing servlet and html file and the other containing a jsp and html file.My application also consists of a EJB.
My problem is that i want to pass control from the jsp file to the servlet and have to specify a context root(borrower(for the servlet web component),borrower1 (for the jsp component)).I have to specify 2 different context root for the 2 diff web components else i get an error from the server but when i specify 2 different context roots then the control doesnt pass properly from the jsp file to the servlet.E.g.The servlet has the alias BorrowerAlias and the jsp file BorrowerAlias1.So the control should pass from
borrower1/BorrowerAlias1 to borrower/BorrowerAlias.But it goes from borrower1/BorrowerAlias1 to borrower1/BorrowerAlias.Hence the servlet does not get executed.How do i solve the problem.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!