Forums Register Login

WAR file problems in sun J2EE RI server

+Pie Number of slices to send: Send
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.
Good night. Drive safely. Here's a tiny ad for the road:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 473 times.
Similar Threads
Problem with calling of servlet from browser??
WAR file problems in sun J2EE RI server
ICE Test 285 solved 100 %
long post IBM.158
using J2EE, unknown warning received from verifier
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 02:55:58.