Re: Query on Struts

2005-04-07 Thread sagar
kindly throw some light on struts.
sandeep.







On Tue, 5 Apr 2005, Neetu S. wrote:

 Hi Veerendra,

 I am also getting the same error which u got while starting ur first strut
 application.
 pls help me for resolving the errors.

 Thanx in advance,
 neetu

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
 For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

 Some relevant archives, FAQs and Forums on JSPs can be found at:

  http://java.sun.com/products/jsp
  http://archives.java.sun.com/jsp-interest.html
  http://forums.java.sun.com
  http://www.jspinsider.com


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


Re: Query on Struts

2005-04-07 Thread sagar
On Thu, 7 Apr 2005, Thakur Vishwesh Singh wrote:
Dear Thakur,
yep i have been working on java and jsp i have tried going on a book on
struts.
it says about login and action and to do.
i will try the internet and then get back.




sandeep.




 Hello Sandeep,
  There is enough documentation on the site and over the internet as well.
 And after you've set up an application on struts it would be better if you
 build the source code and analyse the same along with your web application.

 -Thakur



 -Original Message-
 From: sagar [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 07, 2005 3:30 PM
 To: JSP-INTEREST@JAVA.SUN.COM
 Subject: Re: Query on Struts


 kindly throw some light on struts.
 sandeep.







 On Tue, 5 Apr 2005, Neetu S. wrote:

  Hi Veerendra,
 
  I am also getting the same error which u got while starting ur first strut
  application.
  pls help me for resolving the errors.
 
  Thanx in advance,
  neetu
 
 
 ===
  To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
 JSP-INTEREST.
  For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
 DIGEST.
 
  Some relevant archives, FAQs and Forums on JSPs can be found at:
 
   http://java.sun.com/products/jsp
   http://archives.java.sun.com/jsp-interest.html
   http://forums.java.sun.com
   http://www.jspinsider.com
 

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
 JSP-INTEREST.
 For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
 DIGEST.

 Some relevant archives, FAQs and Forums on JSPs can be found at:

  http://java.sun.com/products/jsp
  http://archives.java.sun.com/jsp-interest.html
  http://forums.java.sun.com
  http://www.jspinsider.com

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
 For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

 Some relevant archives, FAQs and Forums on JSPs can be found at:

  http://java.sun.com/products/jsp
  http://archives.java.sun.com/jsp-interest.html
  http://forums.java.sun.com
  http://www.jspinsider.com


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


Re: Need help related to JSP + JDBC + Oracle !

2002-05-27 Thread sagar arora

Hi Shamshad,

You have two solutions to this problem :

1) Just copy the Oracle driver jar to common/lib directory of tomcat  try.

2)In the tomcat.bat file specify the path in which your oracle driver
islocated.

This needs to be done because the tomcate 4.0 does not picks your system
class path.Rather it picks the path specified in tomcat.bat. Also, it
implicitly includes all jars in the class path which are in the common/lib
directory of tomcat.

Hope it helps.

Cheers

Sagar
- Original Message -
From: Shamshad Alam [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 28, 2002 5:38 AM
Subject: Need help related to JSP + JDBC + Oracle !


 Dear All,
 I am using Tomcat 4.0, J2SDK 1.4.0 and Oracle 8i. The Operating system is
 Windows 2000. Both Oracle and J2SDK are in C:\ drive. I wrote a simple
Java
 code which connects to Oracle database and updates it. The program is
working
 absolutely fine. I compiled and kept the .class file of this program under
 C:\tommy\webapps\shamshad\WEB-INF\classes and I kept one jsp file, which
 includes the java file, under C:\tommy\webapps\shamshad\jsp.Through an
HTML
 form I tried to write some data in Oracle database and get error like
 Error,Class Not Found
 java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
 at org.apache.catalina.loader.WebappClassLoader.loadClass
 der.java:1307)

 I have set the classpath and tried with different combinations but it is
yet
 not working. I have wasted my 3 days in making it run.I beg for help.
 Please,sugegst me how to solve this problem.

 Looking forward to your responses.
 Thanking you
 --Shamshad
 Alam

 -
 This message was sent using Endymion MailMan.
 http://www.endymion.com/products/mailman/


===
 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://archives.java.sun.com/jsp-interest.html
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.jsp
  http://www.jguru.com/faq/index.jsp
  http://www.jspinsider.com


===
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Images problem

2002-05-23 Thread sagar arora

Hi,

We used to face the same problem as well.This is  a bug in Tomcat 3.2.2. My
suggetsion is that u migrate to Tomcat 4.0.3, bacause in this version this
bug has been removed.Another benefit you get is that it dynamically loads
your class files so u need not restart it when u compile a java file.

Regards

Sagar


- Original Message -
From: Jagan K Samuel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 1:32 PM
Subject: Images problem


 Hi

 I have a web appln deployed in Tomcat 3.2.2
 This appln has a number of images.
 When this appln starts up in the browser, for some images i get.

 Connection aborted by peer: Socket write Error

 This happens for some of the js(script) files also.
 Anybody has a clue


 With Best Regards
 Jagan K Samuel


===
 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://archives.java.sun.com/jsp-interest.html
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.jsp
  http://www.jguru.com/faq/index.jsp
  http://www.jspinsider.com


===
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: How is the forward directive supposed to work?

2002-05-23 Thread sagar arora

Hi Julia,

Actually forward is being executed on the server side  same request gets
forwarded to the page so the page does not gets refreshed. Your solution
therefore lies in response.sendRedirect.Using this the browser will be
requesting new page from the server because this is altogether a new request
 hence you will get the correct results.

So from pageB u reach to page A using response.sendRedirect rather than
forward.

I hope I understood your question properly.


Cheers

Sagar




- Original Message -
From: Villén Pizarro; Julia [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 8:20 PM
Subject: How is the forward directive supposed to work?


Hi:
I have something like the following situation:
Page A : inteface that lets the user ask for different
values: name, number, etc
Page B : auxiliar page that ask database for values.
When the user ask for a value at page A, page A asks page B by a
form, when B solves the value
it passess it to page A as a parameter by doing forward.

It usually works but the problem is that parameter values don't
refresh correctly.
Example:
1) user asks for a name.
2) user asks for a number. Name should refresh but I still
keep the old value.

Could this have something to do with passing paramaters by forward
instead of by a form?
I hope someone understands what I'm trying to say,

Thanks in advance,
Julia


-
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo,
contiene información de carácter confidencial exclusivamente dirigida a su
destinatario o destinatarios. Queda prohibida su divulgación, copia o
distribución a terceros sin la previa autorización escrita de Indra. En el
caso de haber recibido este correo electrónico por error, se ruega notificar
inmediatamente esta circunstancia mediante reenvío a la dirección
electrónica del remitente.
-
The information in this e-mail and in any attachments is confidential and
solely for the attention and use of the named addressee(s). You are hereby
notified that any dissemination, distribution or copy of this communication
is prohibited without the prior written consent of Indra. If you have
received this communication in error, please, notify the sender by reply
e-mail.
-

=
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: Date() giving problems in jsp

2001-10-31 Thread Sagar Pandit

Charu:

Date startdate=Date(); is incorrect

You have to instantiate using the new operator

Date startdate = new Date();

Also, be sure you import the right package
java.sql or java.util

Hope this helps.

Sagar


-Original Message-
From: charu gupta [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 31, 2001 11:05 AM
To: [EMAIL PROTECTED]
Subject: Date() giving problems in jsp


Hi all,

In my jsp page I am passing date as a parameter.

The code is as follows:-
Date startdate=Date();
if(request.getParameter(date)!=null)
{
   startdate=request.getParameter(date);
}

I am getting the following error message on
compilation:-

D:\bea\wlserver6.0\config\EAIDOMAIN\applications\emd\WEB-INF\_tmp_war_EAI1_E
AI1_EMD\jsp_servlet\_test2.java:169:
reference to Date is ambiguous, both class
java.sql.Date in java.sql and class java.util.Date in
java.util match
Date startdate= new java.util.Date(); //[
/test2.jsp; Line: 10]


Please help!
Thanks


__
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

===
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Unicode

2001-07-30 Thread Sagar Pandit




Hello
everybody,
This is what I want to do :
Itype some text in an input element inside
an HTML form in a JSP. I want to know if
the typed text is typed in English or any other language.
The data is posted to a servlet where I
would do a request.getParameter("name"),
which returns a stringi need to find out if it hasbeen typed in English. 
Can
anybody help me with this? I don't mind if this can be done on the client side
too using javascriptplease suggest.
Thanks
Sagar



Re: Tomcat 4.0 w/ Apache in Windows NT

2001-06-21 Thread Sagar Pandit

Erwin,
This might be a useful resource
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-apache-howto.html#int
ro

It explains the steps to be followed for integrating tomcat and apache.

Sagar

-Original Message-
From: Erwin Kodiat [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 1:46 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.0 w/ Apache in Windows NT


Dear all,
Have any experiences or info how to integrate Tomcat 4.0 w/ Apache in
Windows NT?

Erwin Kodiat
Mitrais Software Development Center
Bali, Indonesia
http://www.mitrais.com

===
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



Re: Error page to be displayed on a separate window

2001-04-25 Thread Sagar Pandit

Use the errorPage Attribute in the page used as the form like this:

%@ page errorPage=Relative URL %

and use the isErrorPage Attribute in the page that u want errors to be
displayed like this:

%@ isErrorPage=true %
In this errorPage, u can use the exception variable to print the errors as
u do normally.

Sagar


-Original Message-
From: Nabe Anju [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 9:49 AM
To: [EMAIL PROTECTED]
Subject: Error page to be displayed on a separate window


Hi,

I am using JSP -servlet-bean technology for my application. The requirement
is that when a servlet is invoked from a FORM with a target window, then
the data returned back from the servlet should be displayed onto that ; but
in the case of error, the error msg should be displayed on a separate
window.

Basically, if the user is trying to update some data (in a form) then the
error page should be shown in a separate window giving him an option to
correct the mistakes rather than overlaying the data window .

Is there a way to do it? Pls help.

Thanks.

===
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



Re: How Servlet can hand-off to a JSP page

2000-09-21 Thread VIJAYA SAGAR PATUR

hi ,
if servlet and jsp are in two different m/c


Rajesh Balu wrote:

 Another way i can think of is:
 RequestDispatcher.include("path of jsp");
 The diff between this and forward is that, in this case the jsp will return
 the control to the calling servlet, whereas in case of forward, jsp will
 send the response to the browser.

 - Original Message -
 From: Alok Kumar [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, September 18, 2000 2:33 PM
 Subject: How Servlet can hand-off to a JSP page

  Hi All,
   I wanted to know how any Servlet can forwarded to a JSP page.
   I know one way
  getServletConfig().getServletContext().getRequestDispatcher("path of the
 jsp
  to be called").forward(request, response);
  Is there any other way we can pass forward a from Servlet to JSP.
  waiting for a earliest reply
  alok kumar
 
 
 ===
  To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
  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".
 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".
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



HOW DO I SIGN OFF FROM THIS LIST

2000-05-03 Thread Sagar Ratnakara Nikam

Hi,
Can anybody tell me how do we sign off from this mailing list.
I have been trying it by sending a mail to [EMAIL PROTECTED] with body
"signoff JSP-INTEREST" .
I am getting a mail from the listserver with error message

Unknown command - ""SIGNOFF". Try HELP.

Does any body know how we sign off

Thanks
Regards,
Sagar

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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