Re: properties file for JSP(Urgent help reqd)

2000-09-07 Thread Manish Kabra
You can do this by: In JSP: And Create a separate class file , like this: public class ServletNames { public static final StringMY_SERVLET = "RelativePath/MyServlet" ; } - Original Message - From: Kumar, Ashutosh(sdc) <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday,

Re: Two actions for HTML form

2000-08-24 Thread Manish Kabra
In onSubmit event call a function. Based on your requirement , the function will set the value of the action and submit the form. See hint: function callMe() { if (cond1) document.test.action = "Servlet1"; else document.test.action = "Servlet2"; document.test.submit(); }

Re: Application Scope Objects in Servlets

2000-08-24 Thread Manish Kabra
You can do it by using getServletContext().setAttribute("varName",actualVarName); - Original Message - From: Raja Nagendra Kumar <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 24, 2000 12:41 PM Subject: Application Scope Objects in Servlets > Hi! > > Can any one poin

Re: change the "selected" option of select option

2000-08-19 Thread Manish Kabra
Make it document.myform.D1.selected ="val3"; - Original Message - From: Leena Diwan <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 19, 2000 3:00 PM Subject: change the "selected" option of select option > hello ! > > Sorry this is a bit off the topic. > > I want to