Hi, I tried
http://localhost:8080/hello_initparam_context/GreetingServlet That also did not work. There are three servlets in this example GreetingServlet<http://localhost:8080/hello_initparam_context/GreetingServlet> GreetingServlet<http://localhost:8080/hello_initparam_context/GreetingServlet> 2 ResponseServlet<http://localhost:8080/hello_initparam_context/GreetingServlet> Not sure how to make it work. How to change the context name so that when I run the application directly following url run http://localhost:8080/hello_initparam_context/GreetingServlet Thanks, Praveen On Mon, Mar 26, 2012 at 1:51 PM, Icon Web Solutions <[email protected]>wrote: > http://localhost:8080/hello_initparam_servlet/ > > The above URL indicates that hello_initparam_servlet is the name of the > Web Application, however it seems it is actually the url-pattern for the > Servlet! > > Which means you have missed putting the Web Application Name. Your correct > URL would be something like this: > > http://localhost:8080/WebAppName/hello_initparam_servlet > > replace WebAppName with the name of the Web Application in your case. > > > On Sun, Mar 25, 2012 at 7:19 PM, prav g <[email protected]> wrote: > >> I was trying to run following Lab examples like >> >> hello_initparam_context >> hello_initparam_servlet >> hello_response_sendError >> hello_scope_context >> hello_scope_request >> hello_scope_request >> hello_scope_session >> hello_servlet_dispatcher_include >> hello_servlet_errorhandling >> hello_servlet_logging >> >> >> C:\ workspace\web >> \4007_servlet_basics2\servlet_basics2\samples_netbeans >> >> >> I clean built, deploy, run the main applications(http://localhost: >> 8080/hello_initparam_servlet/) i am getting error like >> > -- > ----------------------------------------------------- > Dinesh Chanchalani > ~USA~ 718-408-4482 > ~India~ 99696-13412 > > *Facebook Pages* > *http://www.facebook.com/icon.web.solutions* > *http://www.facebook.com/icon.training* > *http://www.facebook.com/mumbai.projector > * > www.IconWebSolutions.info > www.IconTraining.info > www.FreeWebServicesX.com > www.JavaIssues.com > www.DotnetIssues.com > <http://www.DotnetIssues.com>www.RentProjector.in > > > "The fundamental principle of economic activity is that no man you > transact with will lose; then you shall not" > - Chanakya in Arthashastra > > “Success seems to be connected with action. Successful people keep moving. > They make mistakes, but they don’t quit” - Conrad Hilton > > कदम निरंतर बढ़ते जिनके, श्रम जिनका अविराम है, > विजय सुनिश्चित होती उनकी, घोषित यह परिणाम है | > > -- Thanks & Regards, Praveen -- You received this message because you are subscribed to the Google Groups "JPassion.com: Web Programming Basics" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jpassion_web?hl=en.
