Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet" Watch "servlet" New topic
Author

servlet

mukthala vijay kumar
Greenhorn

Joined: Jul 07, 2007
Posts: 4
what is servlet ?
Is it possible to create an object to servlet?
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

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


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Saravanan Thoppae
Greenhorn

Joined: Jun 30, 2007
Posts: 13
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

Joined: Jun 11, 2007
Posts: 10
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

Joined: Jun 11, 2007
Posts: 10
I am really stuck.
It's eating a lot of time.

Can someone please helllllppppp.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60997
    
  65

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 ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ashish Modi
Greenhorn

Joined: Jun 11, 2007
Posts: 10
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

Joined: Jan 10, 2002
Posts: 60997
    
  65

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

Joined: Jun 11, 2007
Posts: 10
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

Joined: Jan 10, 2002
Posts: 60997
    
  65

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet