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 Thakur Vishwesh Singh
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


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: Query on Struts

2005-04-07 Thread Thakur Vishwesh Singh
try searching google with Struts Tutorial.
I got the following ones :
http://javaboutique.internet.com/tutorials/Struts/
http://www.coreservlets.com/Apache-Struts-Tutorial/ - This one appears to be
a better one.



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


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

===
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-05 Thread Neetu S.
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


Re: Query on Struts

2003-06-05 Thread Veerendra Jote
Thanks for the help Sen,
but I have the ApplicationResources.properties file in the following dir
C:\Program Files\Apache Tomcat 4.0\webapps\registeruser\WEB-INF\classes
the contents of the file are as follows:

index.title = My first Struts application!
index.text1 = This is my first Struts application.
---

I have my index.jsp page in
C:\Program Files\Apache Tomcat 4.0\webapps\registeruser

And still its not working

waiting for reply.

Regards
Veeren


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED] Behalf Of Thangamuthu, Sen
Sent: Wednesday, June 04, 2003 10:30 PM
To: [EMAIL PROTECTED]
Subject: Re: Query on Struts


Hi,

Make sure you have proper ApplicationResources.properties file under
WEB-INF/classes. It should contain your message keys and their values
separated by = sign, for e.g.,

myApp.login.userid.required = A valid user ID is required.

Hope this helps,
Sen

-Original Message-
From: Veerendra Jote [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 6:53 AM
To: [EMAIL PROTECTED]
Subject: Query on Struts


Hi Guys,
i'm a newbie to struts and i'm following the following tutorial.

http://www.isabelle-hurbain.com/repository/docs/struts-onefile/ (kindly
refer to it.)

I do the required setups as directed and then start the Tomcat Server 4.0 it
gives this screen dump:
Starting service Tomcat-Standalone
Apache Tomcat/4.0.3
Jun 4, 2003 6:56:42 PM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Jun 4, 2003 6:56:42 PM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Jun 4, 2003 6:56:43 PM org.apache.struts.action.ActionServlet
initModuleConfig
SEVERE: Parsing error processing resource path
java.lang.NullPointerException
at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:9
41)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
6)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
.
.
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
Starting service Tomcat-Apache
Apache Tomcat/4.0.3

The basic jsp page created works fine.
When I try to inculde the internationalization features it gives the
following error in the web-browser
Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error




type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error)
that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:463)
at org.apache.jsp.index$jsp._jspService(index$jsp.java:175)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:202)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
.
.
.

root cause
javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at
org.apache.struts.util.RequestUtils.message(RequestUtils.java:939)
at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:294)
at org.apache.jsp.index$jsp._jspService(index$jsp.java:92)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:202)
.
.
.

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1012)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107
)
at java.lang.Thread.run(Thread.java:536)


along the above error the console also shows the following dump.

Jun 4, 2003 7:04:50 PM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing, config='org.apache.struts.taglib.bean.LocalStrings',
returnNull=true
(Above console dump repeated 3 times)

Can anyone help me to nullify these errors

Re: Query on Struts

2003-06-05 Thread Thangamuthu, Sen
Hi,

Make sure you have proper ApplicationResources.properties file under
WEB-INF/classes. It should contain your message keys and their values
separated by = sign, for e.g.,

myApp.login.userid.required = A valid user ID is required.

Hope this helps,
Sen

-Original Message-
From: Veerendra Jote [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 6:53 AM
To: [EMAIL PROTECTED]
Subject: Query on Struts


Hi Guys,
i'm a newbie to struts and i'm following the following tutorial.

http://www.isabelle-hurbain.com/repository/docs/struts-onefile/ (kindly
refer to it.)

I do the required setups as directed and then start the Tomcat Server 4.0 it
gives this screen dump:
Starting service Tomcat-Standalone
Apache Tomcat/4.0.3
Jun 4, 2003 6:56:42 PM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Jun 4, 2003 6:56:42 PM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Jun 4, 2003 6:56:43 PM org.apache.struts.action.ActionServlet
initModuleConfig
SEVERE: Parsing error processing resource path
java.lang.NullPointerException
at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:9
41)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
6)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
.
.
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
Starting service Tomcat-Apache
Apache Tomcat/4.0.3

The basic jsp page created works fine.
When I try to inculde the internationalization features it gives the
following error in the web-browser
Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error




type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error)
that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:463)
at org.apache.jsp.index$jsp._jspService(index$jsp.java:175)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:202)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
.
.
.

root cause
javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at
org.apache.struts.util.RequestUtils.message(RequestUtils.java:939)
at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:294)
at org.apache.jsp.index$jsp._jspService(index$jsp.java:92)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:202)
.
.
.

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1012)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107
)
at java.lang.Thread.run(Thread.java:536)


along the above error the console also shows the following dump.

Jun 4, 2003 7:04:50 PM org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing, config='org.apache.struts.taglib.bean.LocalStrings',
returnNull=true
(Above console dump repeated 3 times)

Can anyone help me to nullify these errors and get me working .
Thanks in advance :)
Regards
Veeren

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