• Post Reply Bookmark Topic Watch Topic
  • New Topic

Registration Page and Login Page using servlets and jsp  RSS feed

 
ayesha tahseen
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I made 2 different projects for Registration and Login

But I want these 2 projects as a single project.

Here are my files..
please help me out!

Project1



Project2





 
Tim Moores
Saloon Keeper
Posts: 3835
80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think I understand the problem - if you want a single web app for both servlets, why did you create two? Web apps -and the web.xml file- can support any number of servlets.
 
Sateesh Kumar Allu
Greenhorn
Posts: 9
Chrome Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may use RequestDispatcher to combine those two webapps into single app
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66158
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sateesh Kumar Allu wrote:You may use RequestDispatcher to combine those two webapps into single app


That's seems a bit of a non sequitur. The RequestDispatcher dispatcher is a class for transferring control to resources within a web application; not some tool for combining separate web apps.
 
Sateesh Kumar Allu
Greenhorn
Posts: 9
Chrome Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then ,is there any such thing to combine those two servlets
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66158
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sateesh Kumar Allu wrote:Then ,is there any such thing to combine those two servlets


As already posted, put them into a single web app context.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!