i have similar kind of confusion... i want to get init parameter directly into jsp page (not in servlet)... so in web.xml, what do i specify as <servlet-name> and <servlet-class> any idea??is it possible or not?? thanx in advance... Nishit -----Original Message----- From: Carlos de la Flor [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 27, 2001 4:19 PM To: [EMAIL PROTECTED] Subject: get init parameters in the web.xml i have some init parameters: <param name>name</param-name> param-value>value</param-value> in the jsp page with the <%=request.getInitParameter("name")%> i print the value. But how can i this value put in a string? (String name2 = ... )?? or how can i put the value into this:? <%=w.myservlet(XX)%> the XX must to be the value of the init parameter. Is this posibnle? can anybody help me? thanks Carlos =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
