This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

WAR file problems in sun J2EE RI server  RSS feed

 
saahil sinha
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!