Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

servlet question  RSS feed

 
Amelia Martin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is a complicated code difficult to understand.I am describing a servlet code which is used to create an user main page


FirstServlet.java

LoginDao.java

WelcomeServlet.java
 
J. Kevin Robbins
Bartender
Posts: 1801
28
Chrome Eclipse IDE Firefox Browser jQuery Linux MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've split your post off into it's own topic and added code tags. Looks much better, eh?

It still needs a better title, but I'm not sure what you're asking. Please TellTheDetails. What happens when you run this code? How is it different from what you expected? Any errors?
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Like mentioned above, you need to tell us more about your problem. But a quick suggestion comes to mind.
It is not a good idea to try print to the output and forward at the same time.
Once the output is flushed or forward takes place you will land up with IllegalStateException.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!