tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From FD...@dis-research.com
Subject Re: servlet paramers from web.xml
Date Fri, 20 Jul 2001 13:20:20 GMT

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"                                                        
                    
                    <matt@coins.n        To:     <tomcat-user@jakarta.apache.org>
                            
                    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




Mime
View raw message