Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

servlet  RSS feed

 
mukthala vijay kumar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is servlet ?
Is it possible to create an object to servlet?
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A servlet is hosted in a web container and can be used as a controller in the MVC architecture. Here is more

http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Servlets2.html
 
Saravanan Thoppae
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may need to first compile all the java files of that example project. Please use ant tool.
[ July 07, 2007: Message edited by: Saravanan Thoppae ]
 
Ashish Modi
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I downloaded Ant tool, but it looks like this is a big time thing. I must make it known that i am really a novice java learner.

It would be really nice if someone help me an easier way.

As for the code i had posted earlier, the BeerExpert.java (model) compiled fine. Now i am trying to compile the BeerSelectModel.java (servlet). Also these are the only two files in the application.

Can someone please reply.
 
Ashish Modi
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am really stuck.
It's eating a lot of time.

Can someone please helllllppppp.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read this.

Also, in the future please start new topics when you have a question rather than hi-jacking someone else's post.
[ July 07, 2007: Message edited by: Bear Bibeault ]
 
Ashish Modi
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the guiding link. That was really informative.
I got your point.

Well with the success of the first query, maybe i got more demanding.
Will try to be more patient in future.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. You will find that you will get more out of the Ranch when following the guidelines -- which is exactly their purpose.
 
Ashish Modi
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I thought that when the thread gets lengthier, clicking on the next button would show the further replies. This is precisely what i did. I didn't check that the thread has changed. I thought someone else has already hijecked my post, so i again posted my request so that it could be answered

Will take care from next time, now that i know.

Thanks for the guidance.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, as you can see you tacked your question onto a topic opened by mukthala vijay kumar. Please be sure to use the Post New Topic button when starting your own question. Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!