How to disable a particular checkbox in html:multibox

2003-09-04 Thread Shankar Ranganathan

Hi All,
How can I disable a particular checkbox based on a value in the
selected items. Here is my code.






   
  
   

  
  
   
  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Missing resources attribute org.apache.struts.action.MESSAGE

2003-07-30 Thread gowri shankar
hi,
when i tried to run my first web application using
struts, i got the following error, i got this example
application from
http://www.javaranch.com/newsletter/Mar2002/newslettermar2002.jsp

i have been trying to fix this error for quite some
time and I would really be glad if someone helps me
out.





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: Missing resources
attribute org.apache.struts.action.MESSAGE
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
at
org.apache.jsp.LoginView$jsp._jspService(LoginView$jsp.java:106)
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.java:201)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
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:1027)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:484)


root cause 

javax.servlet.jsp.JspException: Missing resources
attribute org.apache.struts.action.MESSAGE
at
org.apache.struts.taglib.MessageTag.doStartTag(MessageTag.java:360)
at
org.apache.jsp.LoginView$jsp._jspService(LoginView$jsp.java:83)
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.java:201)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.

Re: Error Msg:Internal Server Error

2003-07-29 Thread gowri shankar
hi,
i tried to do as u said , but still i am  getting the
same error messge. i have sent struts-config.xml file
for your perusal.




http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>



  
  

  


  
  
  


  
  





  


  
   





 --- R Balaji <[EMAIL PROTECTED]> wrote: >
check whether u have the
> *MessageResources.properties  *in the right 
> place and being configutred in the
> struts-config.xml.
> 
> balaji
> 
> gowri shankar wrote:
> 
> >Hi,
> >
> >This is Gowri Shankar.I tried to run a struts
> >application (A basic web Application)which was
> given
> >in the site ---
>
>http://www.javaranch.com/newsletter/Mar2002/newslettermar2002.jsp#struts
> >
> >
> >I compiled the application and when i tried to run
> it
> >I got the following error.
> >
> >Can anyone please help me out in fixing this bug.
> >
> >
> >The error in the browser was 
> >
> >Apache Tomcat/4.0.6 - 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: Missing resources
> >attribute org.apache.struts.action.MESSAGE
> > at
>
>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
> > at
>
>org.apache.jsp.LoginView$jsp._jspService(LoginView$jsp.java:365)
> > 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.java:201)
> > at
>
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
> > at
>
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
> > at
>
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
>
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
> > at
>
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> > at
>
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
> > at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> > at
>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> > at
>
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > at
>
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
> > at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> > at
>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> > at
>
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > at
>
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
> > at
>
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> > at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> > at
>
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
> > at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> > at
>
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
> > at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> > at
>
>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
> > at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> > at
>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> > at
>
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > at
>
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> > at
>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> > at
>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> > at
>
>org.apac

Error Msg:Internal Server Error

2003-07-28 Thread gowri shankar
Hi,

This is Gowri Shankar.I tried to run a struts
application (A basic web Application)which was given
in the site ---
http://www.javaranch.com/newsletter/Mar2002/newslettermar2002.jsp#struts


I compiled the application and when i tried to run it
I got the following error.

Can anyone please help me out in fixing this bug.


The error in the browser was 

Apache Tomcat/4.0.6 - 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: Missing resources
attribute org.apache.struts.action.MESSAGE
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
at
org.apache.jsp.LoginView$jsp._jspService(LoginView$jsp.java:365)
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.java:201)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
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:1027)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:484)


root cause 

javax.servlet.jsp.JspException: Missing resources
attribute org.apache.struts.action.MESSAGE
at
org.apache.struts.taglib.MessageTag.doStartTag(MessageTag.java:360)
at
org.apache.jsp.LoginView$jsp._jspService(LoginView$jsp.java:76)
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.java:201)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at
org.apache.cata

hi a problem - Shank

2003-03-21 Thread Jaya Shankar
Hi all

How do I populate a jsp with DB field values, just up on loading the page in
the browser using struts framework?

Thanks in advance
shank

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 21, 2003 3:09 PM
Subject: RE: creating my Class


That depends, if you are going to have 1 Class per Record, then you could do
something like:
But if you need to reference each record by name, then you can either add a
"name Attribute to the Record like:

class Record {
private String name;
private ArrayList record;

public void setSubRecord(Record subRecord){...}
public Record getSubRecord(String recordName){
   loop...
   if( record.getName().equals(recordName) )
   return record;
}

public void setName(String name){...}
public String getName(){...}

}

Then you can just search each RecordObject in the ArrayList.

Of coarse you can always look at a HashMap as well.

  _

Thank You

Mick Knutson

Sr. Designer - Project Trust
aUBS AG, Financial - Zürich
Office: +41 (0)1/234.42.75
Internal: 48194
Mobile: 079.726.14.26
  _



-Original Message-
From: Richard Raquepo [mailto:[EMAIL PROTECTED]
Sent: Friday, March 21, 2003 10:22 AM
To: Struts Users Mailing List
Subject: Re: creating my Class


how can show my record-subrecord?

Record1blahblah
Record1_sub_detail1blah
Record1_sub_detail1blah
Record1_sub_detail1blah
Record2blah
Record3blah
Record3_sub_detail1blah

how will i put data and how will the matching be made.
i mean assuming i have a integer key, how is it done then.

 maybe you can show me some java code i will really appreciate it. thanks.


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 21, 2003 5:08 PM
Subject: RE: creating my Class


an ArrayList will hold Objects. an ArrayList is an object itself. So, the
ArrayList could contain other ArrayList's in it.


  _

Thank You

Mick Knutson

Sr. Designer - Project Trust
aUBS AG, Financial - Zürich
Office: +41 (0)1/234.42.75
Internal: 48194
Mobile: 079.726.14.26
  _



-Original Message-
From: Richard Raquepo [mailto:[EMAIL PROTECTED]
Sent: Friday, March 21, 2003 10:12 AM
To: Struts Users Mailing List
Subject: creating my Class


I am in the process of designing a class but coudn't figure out how to start
it because i'm thinking how
struts tags will display my info.

My expected output is like this

Record1blahblah
Record1_sub_detail1blah
Record1_sub_detail1blah
Record1_sub_detail1blah
Record2blah
Record3blah
Record3_sub_detail1blah

I don't how will be the data type of my class probably it will look like
this:

class Record {
ArrayList record;
ArrayList subrecord[];
}


r really don't what to use really. Can someone give me some idea and also
how will i be able to display it in
my JSP using struts tags.

thanks a lot.

-Richard

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a 

Re: "javax.servlet.ServletException: Missing message for key index.title"

2002-11-25 Thread ravi shankar
pls help me in fixing this problem.. i am stuck badly


rs
- Original Message -
From: kiuma <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Sent: Monday, November 25, 2002 6:42 PM
Subject: Re: "javax.servlet.ServletException: Missing message for key
index.title"


> I suppose you haven't defined the index.title value in your
> MessageResources.porperties.
>
> ravi shankar wrote:
>
> >Hi friends,
> >I've got the following error, which i got while opening a jsp file.
> >
> >javax.servlet.ServletException: Missing message for key index.title
> > at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:461)
> > at
jsp._0002fjsp_0002fBookView_0002ejspBookView_jsp_3._jspService(_0002fjsp_000
2fBookView_0002ejspBookView_jsp_3.java:150)
> > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
va:130)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:282)
> > at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
> > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
> > at org.apache.tomcat.core.Handler.service(Handler.java:287)
> >...
> >
> >pls help me solving the problem, i've checked the classpaths and files,
which seems to be in place.
> >
> >ravi
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: "javax.servlet.ServletException: Missing message for key index.title"

2002-11-25 Thread ravi shankar
> I suppose you haven't defined the index.title value in your
> MessageResources.porperties.
>

Hi
thanx for replying.
Yup, I've the file and the 'index.title' is defined. i am using
'ApplicationResources.properties' file which i got it in struts-example
application which i downloaded from the site.

pls could you tell me what files has to be in which folder..

thanx
ravi



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




"javax.servlet.ServletException: Missing message for key index.title"

2002-11-25 Thread ravi shankar
Hi friends,
I've got the following error, which i got while opening a jsp file.

javax.servlet.ServletException: Missing message for key index.title
at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:461)
at 
jsp._0002fjsp_0002fBookView_0002ejspBookView_jsp_3._jspService(_0002fjsp_0002fBookView_0002ejspBookView_jsp_3.java:150)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
...

pls help me solving the problem, i've checked the classpaths and files, which seems to 
be in place.

ravi




RE: struts-user Digest 22 Jul 2002 20:10:07 -0000 Issue 1701

2002-07-22 Thread Shankar, Lakshmi

Please remove my mail id for the list.

> -Original Message-
> From: James Turner [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, July 23, 2002 2:44 AM
> To:   Struts Users Mailing List
> Subject:  Re: struts-user Digest 22 Jul 2002 20:10:07 - Issue 1701
> 
> 
> >Chappell, Simon P wrote:
> > > I say that we ask Craig McClanahan if he has a favourite animal ... it
> >worked for Linus Torvalds.
> > >
> > > My second vote was going to be for a Rhino (my favourite), but that
> one's
> >taken. The only other vote I could cast would be to use a picture of Mark
> >Galbreath! ;-)
> > >
> 
> You guys are lucky, SAMS made me take a crystal for my JSP book (I was 
> Vanilin, BTW)
> 
> Our Struts book is going to come out under a new SAMS line, "Rapid Working
> 
> Knowledge", I  have no idea what the cover style is going to be for 
> those.  The Yellow Bellied Marmot would be tempting though, given the
> choice.
> 
> James
> 
> 
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
WARNING: The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee.  Access to this message
by anyone else is unauthorised.  If you are not the intended recipient, any
disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it, is prohibited and may be unlawful.
Please immediately contact the sender if you have received this message in
error. Thank you.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Need help in Running employeelist example in VAJ3.5.3 and WTE

2001-12-03 Thread Shankar . N . Kodavanti

We are planning to develop an intranet web application and we want to use
struts for it.

For that i am testing Struts in VAJ3.5.3 in WTE and WebSphere 3.5.4  .i want
to run emploee list example. in VAJ and WTE first.

I think i did set every thing properly.I am using Xerces1.4.4 and Struts1.0
src .

when i try to acess the application in browser

http://localhost:808/employeelist/index.jsp

it says  following error.

An error has occured while processing
request:http://localhost:8080/employeelist/index.jsp
Message: Server caught unhandled exception from servlet [jsp]: Missing
message for key index.heading
Target Servlet: jsp
StackTrace: 
Root Error-1: Missing message for key index.heading
javax.servlet.jsp.JspException: Missing message for key index.heading
java.lang.Throwable(java.lang.String) java.lang.Exception(java.lang.String)
javax.servlet.jsp.JspException(java.lang.String) int
org.apache.struts.taglib.bean.MessageTag.doStartTag() 

can you suggest me how to get around with this.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Slow execution time using struts

2000-12-07 Thread shankar

Hi,
We are developing an app using struts and find the execution time is
agonizingly slow. We are using Struts 0.5 and tomcat 3.2. M/cs are 64 mb.
The initialization seems to take forever(sometimes more than 1-2 minutes)
and is highly frustrating. One of my co-developers was using an older ver of
Tomcat and the app seemed to be much much faster on his m/c. He recently
shifted to tomcat 3.2 and that brought down his execution speeds  and has
been cursing everyone who forced him to do the shift eversince.
Is this a Tomcat prob or is it struts in general? Anybody have the same
prob? Would shifting to Resin bring about any drastic improvement? Does
tomcat have any features that give an edge over Resin or vice-versa? Is
there any other good combination out there? Any sugg/help would be highly
appreciated.

Thanks everybody,
Shankar.





Re: Struts docs on informit

2000-11-04 Thread shankar

Found it. Thanks.
Shankar
- Original Message -
From: Nikolaus Rumm <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 04, 2000 5:22 PM
Subject: Re: Struts docs on informit


> - Original Message -
> From: "shankar" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, November 02, 2000 11:52 AM
> Subject: Struts docs on informit
>
>
> > Hi,
> > The struts article on informit no longer seems to be there.  I would
> really
> > appreciate it if someone could send me a copy of the article?
> > Thanks,
> > Shankar
>
> It is still there, but you'll have to find it. Open
http://www.informit.com/
> and click on the hyperlink Programming / Java on the navigation panel on
the
> left side. On the top of the resulting page you'll see a picture of Mr.
> Maneesh Sahu and a hyperlink labeled 'More'. Click it and get happy.
>
> regards
>
> Nikolaus Rumm




Struts docs on informit

2000-11-04 Thread shankar

Hi,
The struts article on informit no longer seems to be there.  I would really
appreciate it if someone could send me a copy of the article?
Thanks,
Shankar
- Original Message -
From: Nikolaus Rumm <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 04, 2000 4:35 AM
Subject: Re: Struts docs?


> - Original Message -
> From: "Mike Campbell" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, November 03, 2000 10:53 PM
> Subject: Struts docs?
>
>
> > Are the docs on the jakarta site (the user guide) and the example app
> about all the documentation there is for struts?
> >
> > I'm new to a lot of this and the going is a bit slow for me, so a little
> hand-holding; maybe the most small, basic app I could look
> > might be helpful.
> >
> > Thanks.
> >
> >
>
> InformIT had an introduction example. Due to the session-based site layout
I
> can't send you the exact URL, but go to http://www.informit.com/,
> Programming/Java and look for Maneesh Sahu's article on struts. It
describes
> how to build a discussion board based on struts.
>
> kind regards
>
> Nikolaus Rumm




Re: Poll: How important is JDK 1.1 compatibility for you ?

2000-10-31 Thread shankar

I would like Struts to be JDK1.1 compatible 
NO
> I'm actually using Struts in a JDK1.1 environment 
NO(I'm using 1.3)
- Original Message - 
From: Matthias Kerkhoff <[EMAIL PROTECTED]>
To: Matthias Kerkhoff <[EMAIL PROTECTED]>
Sent: Wednesday, November 01, 2000 7:56 AM
Subject: Re: Poll: How important is JDK 1.1 compatibility for you ?


> Until today I've received 21 answers. The opinions have been...
> 
> > I would like Struts to be JDK1.1 compatible (YES/NO).
> 
> YES:1 NO:20
> 
> > I'm actually using Struts in a JDK1.1 environment (YES/NO).
> 
> YES:0 NO:21
> 
> -- 
> Matthias(mailto:[EMAIL PROTECTED])
> 




Re: Which connection pool ??

2000-10-31 Thread shankar
Title: Which connection pool ??



Hi,
It was a microsoft tool. I used a servlet 
and created the brokers in the init method.
The servlet was loaded before the test began(so no 
init time). A simple nested query was used. I tried out 5 diff tests varying the 
threads from 20 to 500 and time from 1 min - 5 min. Can't say it's conclusive 
but hope its good enough. Bit Mechanic had a few add params that the others 
did'nt have. Performance will probably vary if these are changed. For this test 
I used a min of 2 connections and max of 10. 
If u do know of any better product please do tell 
us,I'm trying to figure out the best option for an app we are 
doing.
thanks,
Shankar.

  - Original Message - 
  From: 
  Dan 
  Kesler 
  To: '[EMAIL PROTECTED]' 
  
  Sent: Wednesday, November 01, 2000 1:59 
  AM
  Subject: RE: Which connection pool ?? 
  
  
  Shankar,
  Which stress tools did you use?
  Danny Kesler
  
-----Original Message-From: shankar [mailto:[EMAIL PROTECTED]]Sent: 
Tuesday, October 31, 2000 2:27 PMTo: [EMAIL PROTECTED]Subject: 
Re: Which connection pool ?? 
Hi there,
I trying to figure out the same thing and since 
I could'nt get a good answer anywhere, I tried out a stress test for diff 
drivers. I tried out DbConnectionBroker,BitMechanic,StanWeb(not sure of the 
name) and Oracles driver( which supports JDBC 2.0 SE ). DBConnectionBroker 
and Oracle came out tops(Oracles seemed the best). I used Microsofts stress 
testing tool and used the same set of parameters for all of them. If u do 
plan to use Oracle go in for 8.1.7 since 8.1.6 has'nt been properly tested 
and is just a sample implementation according to their JDBC team. Will send 
u the exact results if u do want them(will have to wait a day though- won't 
be in tomm). Here's my id - [EMAIL PROTECTED]. If u do manage to 
find something better please mail me.
Hope this helps.
Shankar.

  - Original Message - 
  From: 
  Arnout Kuiper 
  To: [EMAIL PROTECTED] 
  
  Sent: Tuesday, October 31, 2000 9:10 
  PM
  Subject: RE: Which connection pool ?? 
  
  
  I use JDBCPool from http://www.bitmechanic.com/.
   
    --Arnout
  
-Original Message-From: Kieffer, Guillaume [mailto:[EMAIL PROTECTED]]Sent: 
dinsdag 31 oktober 2000 16:20To: '[EMAIL PROTECTED]'Subject: 
RE: Which connection pool ?? 
I do not know if it is th elatest version, but 
it works great...
Regards,

  -Original Message-From: Laufer, Michael 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, October 
  31, 2000 3:34 PMTo: 'Struts'Subject: Which 
  connection pool ?? 
  Hi, 
  I'm programming with Struts. 
  Since I have a lot of 'database traffic', 
  I'm thinking about using a 
  connection pool. Has anybody any 
  experience in using connection pools with Struts. Even better, if there would be a freeware connection 
  pool. 
  Any help would be appreciated. 
  Thanks, 
  Mike  



Re: Struts and Resin

2000-10-31 Thread shankar

Hi,
Sorry I was using 1.1.3 not 1.3. Thats probably the reason. Will try out
1.2beta. Thanks a lot.
Shankar.
- Original Message -
From: Colin Sampaleanu <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 01, 2000 1:42 AM
Subject: RE: Struts and Resin


> Are you sure you're using 1.3? There's no such thing as far as I know,
only
> 1.1.x and 1.2betaX. Are you maybe using 1.1.3? If that's the case, then I
> think you should switch to 1.1.5 (the current version in the 1.1 branch,
or
> the 1.2beta3). Somewhere around 1.1.4 and 1.2beta 2 they made changes to
the
> codebase that takes account of an ambiguity in the JSP tag standard that
> struts relies on, and caused older versions of Resin to choke with Struts.
> W/regards to automatic .war file expansion, it definitely works great with
> 1.2beta, but I don't know if the feature is there in the 1.1 branch.
>
>
>
> > -Original Message-
> > From: shankar [mailto:[EMAIL PROTECTED]]
> > Sent: October 31, 2000 2:23 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Struts and Resin
> >
> >
> > Hi,
> > Thanks for the quick response. I'm using Resin 1.3. One of
> > Craigs earlier
> > mails mentions some problems with struts tags in Resin. Does
> > that problem
> > still exist?
> > Thanks,
> >  Shankar.
> > - Original Message -
> > From: Colin Sampaleanu <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, November 01, 2000 12:04 AM
> > Subject: RE: Struts and Resin
> >
> >
> > > Which version of Resin are you using? Struts works great
> > with Resin 1.2
> > beta
> > > 2 and up (currently up to beta 3).
> > >
> > > With the 1.2beta, Resin _can_ do auto expand of .war files.
> > Just configure
> > a
> > > 'war-dir' element in your resin.conf file...
> > >
> > >
> > >
> > > > -Original Message-
> > > > From: shankar [mailto:[EMAIL PROTECTED]]
> > > > Sent: October 31, 2000 1:26 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Struts and Resin
> > > >
> > > >
> > > > Hi,
> > > > I'm having a prob getting struts up on resin. I could'nt even
> > > > get the doc up
> > > > properly. Tinkering with the conf file did'nt get me
> > > > anywhere. The .war
> > > > files are not extracted automatically as in tomcat. Where
> > > > should they be
> > > > placed and is it any different from tomcat. Could someone
> > > > give me a few
> > > > guidelines please?
> > > >
> > > > Thanks ,
> > > > Shankar
> > > >
> > > >
> >




Re: Which connection pool ??

2000-10-31 Thread shankar
Title: Which connection pool ??



Hi there,
I trying to figure out the same thing and since I 
could'nt get a good answer anywhere, I tried out a stress test for diff drivers. 
I tried out DbConnectionBroker,BitMechanic,StanWeb(not sure of the name) and 
Oracles driver( which supports JDBC 2.0 SE ). DBConnectionBroker and Oracle came 
out tops(Oracles seemed the best). I used Microsofts stress testing tool and 
used the same set of parameters for all of them. If u do plan to use Oracle go 
in for 8.1.7 since 8.1.6 has'nt been properly tested and is just a sample 
implementation according to their JDBC team. Will send u the exact results if u 
do want them(will have to wait a day though- won't be in tomm). Here's my id - 
[EMAIL PROTECTED]. If u do manage to 
find something better please mail me.
Hope this helps.
Shankar.

  - Original Message - 
  From: 
  Arnout Kuiper 
  To: [EMAIL PROTECTED] 
  Sent: Tuesday, October 31, 2000 9:10 
  PM
  Subject: RE: Which connection pool ?? 
  
  
  I 
  use JDBCPool from http://www.bitmechanic.com/.
   
    --Arnout
  
-Original Message-From: Kieffer, Guillaume [mailto:[EMAIL PROTECTED]]Sent: 
dinsdag 31 oktober 2000 16:20To: '[EMAIL PROTECTED]'Subject: 
RE: Which connection pool ?? 
I 
do not know if it is th elatest version, but it works 
great...
Regards,

  -Original Message-From: Laufer, Michael 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, October 31, 
  2000 3:34 PMTo: 'Struts'Subject: Which connection 
  pool ?? 
  Hi, 
  I'm programming with Struts. Since I have a lot of 'database traffic', I'm thinking 
  about using a connection pool. 
  Has anybody any experience in using connection 
  pools with Struts. Even better, if 
  there would be a freeware connection pool. 
  Any help would be appreciated. 
  Thanks, 
  Mike  



Re: Struts and Resin

2000-10-31 Thread shankar

Hey Martin,

I did try that out, but when I try evoking the example it tries to download
it and the entire file(junk) is displayed in my browser. Did I miss anything
in my conf file?
Thanks,
Shankar
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 01, 2000 12:36 AM
Subject: Re: Struts and Resin


> All you should need to do is:
>
> 1) Copy the .war files to your resin\doc directory
> 2) Add a line to your resin.conf for each webapp that looks like this:
>
> 
>
> This has worked for me for several versions of Resin and Struts.
>
> --
> Martin Cooper
> Tumbleweed Communications
>
>
> At 11:56 PM 10/31/00 +0530, shankar wrote:
> >Hi,
> >I'm having a prob getting struts up on resin. I could'nt even get the doc
up
> >properly. Tinkering with the conf file did'nt get me anywhere. The .war
> >files are not extracted automatically as in tomcat. Where should they be
> >placed and is it any different from tomcat. Could someone give me a few
> >guidelines please?
> >
> >Thanks ,
> >Shankar
>
> --
> Martin Cooper
> Tumbleweed Communications
>




Re: Struts and Resin

2000-10-31 Thread shankar

Hi,
Thanks for the quick response. I'm using Resin 1.3. One of Craigs earlier
mails mentions some problems with struts tags in Resin. Does that problem
still exist?
Thanks,
 Shankar.
- Original Message -
From: Colin Sampaleanu <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 01, 2000 12:04 AM
Subject: RE: Struts and Resin


> Which version of Resin are you using? Struts works great with Resin 1.2
beta
> 2 and up (currently up to beta 3).
>
> With the 1.2beta, Resin _can_ do auto expand of .war files. Just configure
a
> 'war-dir' element in your resin.conf file...
>
>
>
> > -Original Message-
> > From: shankar [mailto:[EMAIL PROTECTED]]
> > Sent: October 31, 2000 1:26 PM
> > To: [EMAIL PROTECTED]
> > Subject: Struts and Resin
> >
> >
> > Hi,
> > I'm having a prob getting struts up on resin. I could'nt even
> > get the doc up
> > properly. Tinkering with the conf file did'nt get me
> > anywhere. The .war
> > files are not extracted automatically as in tomcat. Where
> > should they be
> > placed and is it any different from tomcat. Could someone
> > give me a few
> > guidelines please?
> >
> > Thanks ,
> > Shankar
> >
> >




Struts and Resin

2000-10-31 Thread shankar

Hi,
I'm having a prob getting struts up on resin. I could'nt even get the doc up
properly. Tinkering with the conf file did'nt get me anywhere. The .war
files are not extracted automatically as in tomcat. Where should they be
placed and is it any different from tomcat. Could someone give me a few
guidelines please?

Thanks ,
Shankar