put the code like:    yourServletName?parameterName=value in the JSP page,
this should pass the parameter and the value into servlet.

Flora Ding


                                                                                       
                       
                    "Matt Dilley"                                                      
                       
                    <[EMAIL PROTECTED]        To:     <[EMAIL PROTECTED]>      
                       
                    et>                  cc:                                           
                       
                                         Subject:     servlet paramers from web.xml    
                       
                    07/20/01                                                           
                       
                    06:41 AM                                                           
                       
                    Please                                                             
                       
                    respond to                                                         
                       
                    tomcat-user                                                        
                       
                                                                                       
                       
                                                                                       
                       




Does anyone know how to pass parameters onto servlets that have been
launched through the web.xml file?

I have tried adding the parameters as tags into the web.xml file itself,
but to no avail.

Does anyone know what I should do to make this work?

Thanks
Matt



Reply via email to