RE: struts sequence diagrams

2003-08-17 Thread Rakesh Ayilliath

This cud be a good starting point

http://rollerjm.free.fr/pro/StrutsExample.htm

regds,
Rakesh Ayilliath



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 Sent: Sunday, August 17, 2003 3:57 PM
 To: [EMAIL PROTECTED]
 Subject: FW: struts sequence diagrams
 
 I am trying to make Sequence diagrams for typical add customer,
delete
 customer, delete customer . Can you give me some guidance for
 struts1.1.
 Best REGARDS,
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]




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



Dynamic Action Form Samples

2002-08-13 Thread Rakesh Menon

Hi ,

Can you please give pointers to sample implementation / tutorial of dynamic
forms using DynaActionForm available in struts 1.1.

Thanks in advance
Rakesh


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




How to create dynamic list of checkboxes

2002-06-12 Thread Rakesh N R

Hi,

  I am a newcomer to Struts. I have a requirement where in which i have
to create a dynamic list of checkboxes(the number of checkboxes will
vary at each request). From my knowledge of Struts i was able to
comprehend that i would have to create a FormBean for the form i have
with properties corresponding to all the checkboxes. Since i dont know
beforehand how many checkboxes will be there how can i develop the
FormBean which caters to such dynamic number of checkboxes. Can i have a
ArrayList the way select tag is used.

Thanks in Advance
Rakesh



**Disclaimer

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***



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


struts not running with weblogic SP6

2002-06-10 Thread Rakesh N R

Hi,

  I am using Weblogic with SP6, while running the strutsexample i am
getting an exception the stack trace I have pasted in the bottom. After
doing some resarch i was able to find out that this is caused because
the Resource Bundle is not being read. Has any one used Struts with
Weblogic SP6? How can this problem be resolved.

***
javax.servlet.ServletException: runtime failure in custom tag 'message'
at jsp_servlet._index._jspService(_index.java, Compiled Code)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:123)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:141)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet
(ServletContextImpl.java:761)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet
(ServletContextImpl.java:708)
at weblogic.servlet.internal.ServletContextManager.invokeServlet

(ServletContextManager.java:252)
at weblogic.socket.MuxableSocketHTTP.invokeServlet
(MuxableSocketHTTP.java:346)
at weblogic.socket.MuxableSocketHTTP.execute
(MuxableSocketHTTP.java:246)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
Compiled Code)
*
Regards and Thanks
Rakesh



**Disclaimer

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***



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


[Fwd: struts not running with weblogic SP6]

2002-06-10 Thread Rakesh N R

I had missed out the versionThe version of Weblogic is 5.1



---BeginMessage---

Hi,

  I am using Weblogic with SP6, while running the strutsexample i am
getting an exception the stack trace I have pasted in the bottom. After
doing some resarch i was able to find out that this is caused because
the Resource Bundle is not being read. Has any one used Struts with
Weblogic SP6? How can this problem be resolved.

***
javax.servlet.ServletException: runtime failure in custom tag 'message'
at jsp_servlet._index._jspService(_index.java, Compiled Code)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:123)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:141)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet
(ServletContextImpl.java:761)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet
(ServletContextImpl.java:708)
at weblogic.servlet.internal.ServletContextManager.invokeServlet

(ServletContextManager.java:252)
at weblogic.socket.MuxableSocketHTTP.invokeServlet
(MuxableSocketHTTP.java:346)
at weblogic.socket.MuxableSocketHTTP.execute
(MuxableSocketHTTP.java:246)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
Compiled Code)
*
Regards and Thanks
Rakesh



---End Message---

**Disclaimer

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***



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


Re: Sharing information among web apps

2002-05-15 Thread Rakesh Ayilliath

Thats web services buddy...!!

- Original Message - 
From: Roshan Paiva [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 15, 2002 9:44 PM
Subject: Sharing information among web apps


 Hi..
 
 This is not a struts related question.. but I need to know if there is a
 way of sharing information between web applications. for example I have
 a common class.. maybe in the server's classpath .. and one web app
 accesses it and sets some values.. and then another web app accesses it
 and gets those values..
 
 Thanks and Kind Regards
 Roshan
 
 

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




struts and wls5.1sp9 problem

2002-04-17 Thread Rakesh N R

Hi,

 I am using WLServer 5.1 sp9. While running the Struts sample example I
had got an exception

javax.servlet.ServletException: runtime failure in custom tag 'html'

While searching the net i found out that the site had suggested a
workaround
by setting CLASSPATH to WEB-INF/classes in startWeblogic.cmd (I am using

exploded format of war file). I did the same and still the problem of
ApplicationResource.properties not found persists. I also used the patch
for service pack 8 but it doesnt work with sp9. I would request you to
suggest a way to solve the problem. Thanks in Advance.

Rakesh





**Disclaimer
  


Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.



 



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


CactusStrutsTestCase problem

2002-04-17 Thread Rakesh N R

Hi,

 I was trying to run the example application of CactusStrutsTestCase but
i get an exception. What could be the reason for the same.

D:\cactus\strutstest\examplesjava junit.textui.TestRunner
servletunit.struts.ex
amples.cactus.TestCactusLoginAction
.E.E
Time: 0.33
There were 2 errors:
1)
testSuccessfulLogin(servletunit.struts.examples.cactus.TestCactusLoginAction)

javax.servlet.ServletException: Error instanciating class
[servletunit.struts.ex
amples.cactus.TestCactusLoginAction(testSuccessfulLogin)]
at
org.apache.cactus.server.AbstractTestCaller.getTestClassInstance(Abst
ractTestCaller.java:311)
at
org.apache.cactus.server.AbstractTestCaller.doTest(AbstractTestCaller
.java:130)
at
org.apache.cactus.server.AbstractTestController.handleRequest(Abstrac
tTestController.java:122)
at
org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedi
rector.java:134)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:105)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:742)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:686)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:247)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:361)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
2)
testFailedLogin(servletunit.struts.examples.cactus.TestCactusLoginAction)

javax.servlet.ServletException: Error instanciating class
[servletunit.struts.ex
amples.cactus.TestCactusLoginAction(testFailedLogin)]
at
org.apache.cactus.server.AbstractTestCaller.getTestClassInstance(Abst
ractTestCaller.java:311)
at
org.apache.cactus.server.AbstractTestCaller.doTest(AbstractTestCaller
.java:130)
at
org.apache.cactus.server.AbstractTestController.handleRequest(Abstrac
tTestController.java:122)
at
org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedi
rector.java:134)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:105)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:742)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:686)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:247)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:361)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

FAILURES!!!
Tests run: 2,  Failures: 0,  Errors: 2

Rakesh



**Disclaimer
  


Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.



 



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


Re: opening with MS-EXCEL

2002-01-30 Thread Rakesh

Check out:
http://www.servletsuite.com/servlets/exceltag.htm
Its a custom tag library for excel.

-Rakesh
[EMAIL PROTECTED]
www.ayilliath.8m.com

---

- Original Message -
From: Ajay Chitre [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, January 31, 2002 3:49 AM
Subject: RE: opening with MS-EXCEL


Create a Test.jsp as follows and run it.  It will open Excel in a browser.

HTH!





!DOCTYPE HTML PUBLIC -//IETF//DTD HTML//EN
HTML
HEAD
TitleExcel Format/Title
%


response.setContentType(application/vnd.ms-excel);
response.setHeader(Content-Disposition,inline );

ServletOutputStream outStream = response.getOutputStream();

PrintWriter pw = response.getWriter();



pw.println(HTML);
pw.println(HEAD);
pw.println(/HEAD);
pw.println(BODY);
pw.println(TABLE border=0 cellpadding=0 cellspacing=0);
pw.println(TR);
pw.println(TDCustom Reports Process - xxx Report/TD!--- Cell :
A1 ---);
pw.println(TD/TD!--- Cell : B1 ---);
pw.println(/TR);
pw.println(TR);
pw.println(TDSelection Criteria/TD!--- Cell : A2 ---);
pw.println(TDnbsp;/TD!--- Cell : B2 ---);
pw.println(/TR);
pw.println(/TABLE);
pw.println(pThis is a testbr);
pw.println(/BODY);
pw.println(/HTML);

pw.println(Testing$$$);
pw.flush();
pw.close();


%


/BODY
/HTML



-- Original Message --


Hi

Can anyone send me a sample code for opening an MS-EXCEL using struts
.

... or some tips on how/where to set the content-type ,etc

Thanks

Regards,
Syed
Niaz


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



Ajay Chitre

Diligent Team, Inc.
(Where Diligent People Work as a Team)

http://www.DiligentTeam.com



--
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: HIPAA

2002-01-22 Thread Rakesh


There are three major parts to the  HIPAA guidelines:

I. Privacy
II. Administrative Simplifications (Transactions and Code Sets)
III. Security


--Rakesh
[EMAIL PROTECTED]
www.ayilliath.8m.com

---

- Original Message -
From: Robert D. Morse [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, January 21, 2002 9:54 PM
Subject: RE: HIPAA


 How does Struts, Expresso (or any technology for that matter) relate to
 compliance with HIPAA?

 -Original Message-
 From: Rakesh [mailto:[EMAIL PROTECTED]]
 Sent: Monday, January 21, 2002 7:51 AM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: HIPAA


 Hi All,

 I've been entitled with the work of upgrading a Medical Intranet done in
 Struts - Expresso to make it HIPAA compliant. Even though it does not seem
 to me to be a major task... just wanted to know if anyone in the list had
 done something similar.

 Thanks

 -Rakesh
 [EMAIL PROTECTED]
 www.ayilliath.8m.com



 --
 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: HIPAA

2002-01-22 Thread Rakesh

HEALTH INSURANCE PORTABILITY AND ACCOUNTABILITY ACT.

-Rakesh
---

- Original Message -
From: Olivier Dinocourt [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, January 22, 2002 3:56 PM
Subject: Re: HIPAA


 btw, what is HIPAA ?

 - Original Message -
 From: Rakesh [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED];
 [EMAIL PROTECTED]
 Sent: Tuesday, January 22, 2002 11:23 AM
 Subject: Re: HIPAA


 
  There are three major parts to the  HIPAA guidelines:
 
  I. Privacy
  II. Administrative Simplifications (Transactions and Code Sets)
  III. Security
 
 
  --Rakesh
  [EMAIL PROTECTED]
  www.ayilliath.8m.com
 
  ---
 
  - Original Message -
  From: Robert D. Morse [EMAIL PROTECTED]
  To: Struts Users Mailing List [EMAIL PROTECTED];
  [EMAIL PROTECTED]
  Sent: Monday, January 21, 2002 9:54 PM
  Subject: RE: HIPAA
 
 
   How does Struts, Expresso (or any technology for that matter) relate
to
   compliance with HIPAA?
  
   -Original Message-
   From: Rakesh [mailto:[EMAIL PROTECTED]]
   Sent: Monday, January 21, 2002 7:51 AM
   To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
   Subject: HIPAA
  
  
   Hi All,
  
   I've been entitled with the work of upgrading a Medical Intranet done
in
   Struts - Expresso to make it HIPAA compliant. Even though it does not
 seem
   to me to be a major task... just wanted to know if anyone in the list
 had
   done something similar.
  
   Thanks
  
   -Rakesh
   [EMAIL PROTECTED]
   www.ayilliath.8m.com
  
  
  
   --
   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]
 
 


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




HIPAA

2002-01-21 Thread Rakesh

Hi All,

I've been entitled with the work of upgrading a Medical Intranet done in Struts - 
Expresso to make it HIPAA compliant. Even though it does not seem to me to be a major 
task... just wanted to know if anyone in the list had done something similar.

Thanks

-Rakesh
[EMAIL PROTECTED]
www.ayilliath.8m.com
  



Re: Partial Loading of JSP Page

2002-01-10 Thread Rakesh


Try a flash plugin or an applet with a progress bar... :-)

--Rakesh
  [EMAIL PROTECTED]
---

- Original Message -
From: SUPRIYA MISRA [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 10, 2002 9:06 PM
Subject: Partial Loading of JSP Page


 I am trying to work on a simple JSP page which does about 12 tasks and
each
 task would take a minute at least. Is there a way to show the user the
 progress made--Like Task 1 completed,working on Task2 and so on. Or a
 display of percentage of work done (5% done and so on)so that user knows
how
 long to wait rather that guessing whether to end the task.

 Any workable ideas ??



 _
 Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




Merry X-MAS

2001-12-24 Thread Rakesh

Merry X-MAS



\ _|_ /  
/\_|_/\  
   / /\|/\ \ 
  - - Rakesh Ayilliath - - - - - - O - -
   \ \/|\/ / 
\/_|_\/  
Synergy IT Innovations Pvt Ltd, /  |  \  
#14, 6th Cross, 
Narayanappa Block,
IInd Block, RT Nagar,
Bangalore 560032
India

[EMAIL PROTECTED]
www.ayilliath.8m.com
  
---




Re: Don't understand why?

2001-12-21 Thread Rakesh

Do you have a submit button in your form thats named submit ? if so,
rename it to something else. This will solve your problem.

--Rakesh
[EMAIL PROTECTED]
www.ayilliath.8m.com

---

- Original Message -
From: Marcelo Caldas - CCSC [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, December 22, 2001 2:12 AM
Subject: Don't understand why?


Hi guys!

This is a question about javascripts only. Sorry bothering with questions
outside Struts scope, but I'm a member of this list for quite a time and you
have showed a good understanding on Java Script. That's why I took the
liberty on sending this message.

Here's the question:
Why sometimes a javascript function can call document.myform.submit(); and
sometimes it says that the object doesn't support such method?

Scenario:
I have a JSP that has a SCRIPT tag with two functions: both end with the
submit() call.
Everything worked fine so far...

Now, In the same JSP I have a jsp:include tag, which has it's own SCRIPT
tag with no submit() or anything like that. But the problem is that the two
functions on the above JSP doesn't submit any more... IT does everything
else, but doesn't submit giving me the error described above...

Any help is greatly appreciated.
Regards,
Marcelo.


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




Re: PLEASE COMMENTS! Design question on very long lists... (a little bit OT)

2001-12-18 Thread Rakesh

Why dont you try out expresso always helps when you have lots of
database stuff.

   --Rakesh
---

- Original Message -
From: [EMAIL PROTECTED]
To: struts users mailing list  [EMAIL PROTECTED] 
Sent: Tuesday, December 18, 2001 4:36 PM
Subject: PLEASE COMMENTS! Design question on very long lists... (a little
bit OT)


 Hi to all!

 I strongly appreciate struts - it a very valuable tool to work with. So I
started to build a EIS-similar application with much DB-Access, business
code and so on... (try to work with Jonas EJB Server). But there arer some
design question and I do appreciate comments on these.
 I have plenty of masks with DB-Access and CRUD-Operations. You can make a
choice based on the Primary Key (or something else). E.g. Articels have a
primary key, let's say WCF1001, REI1002, VAT-Code can be choosed, Zip-Code,
Customer Name and so on. On behalf of articels: I am using html:select and
build a selection list, but there are thousands of Primary Keys and you have
to send MANY bytes through the net building the mask (think of many
selection list in one mask!!).
 What is in your opinion the best method the keep the selection lists
short? Can I resend/request the selection list, building new ones with the
next key? Is it possible to simulate the behavior of - let's say - of the
help index of Microsoft? Or is it convenient to build short lists with
beginning letters, then climb down to a next short list a.s.o??
 Have I to switch to applets (with all its disadvantages...)?

 I am very eager to hear the opinion of you!

 Thanks
 Thomas

 :-) As sceptical as one can be! (-:



 --
 Get a free, personalised email address at http://another.com
 TXT ALRT! Stop wasting money now. Send FREE, personalised txt
 msgs to UK mobile phones from http://another.com







 --
 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: Invalidating a session

2001-12-18 Thread Rakesh

Why dont you try using a check-logon bean similar to the one
in the struts-example to check if your session exists before proceeding with
the rest of your JSP ?

  --Rakesh
---

- Original Message -
From: Keith Bacon [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, December 18, 2001 4:31 PM
Subject: Re: Invalidating a session



 From the stack trace of your error I see a struts
 class  in there. I'd guess it assumes the session
 exists. Struts stores the users locale there - It
 seems odd that you would want to invalidate the
 session here.
 Keith.

 --- Nicolas_Parisé [EMAIL PROTECTED]
 wrote:
  Hi Rakesh,
 
  Here a piece of my code,
 
  html
  %
  session.invalidate();
  %
 
  html:form method=post action=/saveClientAction
  ...
  /html
 
 
  here is the error message from Resin:
 
  java.lang.IllegalStateException: session is invalid
  at
 
 com.caucho.server.http.QSession.getAttribute(QSession.java:262)
  at
 
 org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:535)
  at _widget1__jsp._jspService(/app1/widget1.jsp:48)
  at
  com.caucho.jsp.JavaPage.service(JavaPage.java:87)
  at
  com.caucho.jsp.JavaPage.subservice(JavaPage.java:81)
  at com.caucho.jsp.Page.service(Page.java:398)
  at
 
 com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:166)
  at
 
 com.caucho.server.http.Invocation.service(Invocation.java:272)
  at
 
 com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:128)
  at
 
 com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:216)
  at
 
 com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:158)
  at
 
 com.caucho.server.TcpConnection.run(TcpConnection.java:140)
  at java.lang.Thread.run(Thread.java:484)
 
 
 
  Thank you
  - Original Message -
  From: Rakesh [EMAIL PROTECTED]
  Newsgroups: Struts
  To: Struts Users Mailing List
  [EMAIL PROTECTED]
  Sent: Monday, December 17, 2001 11:26 PM
  Subject: Re: Invalidating a session
 
 
   Can you please elaborate on the error message that
  you got ?
   Were you trying to access any attribute from the
  session after the point
   where you invalidated it ?
  
   --Rakesh
   ---
  
   - Original Message -
   From: Struts Newsgroup
  @[EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Tuesday, December 18, 2001 9:40 AM
   Subject: Invalidating a session
  
  
Subject: Invalidating a session
From: Nicolas Parisé
  [EMAIL PROTECTED]
 ===
Hi,
   
I got error message when I invoke
  session.invalidate() inside
JSP page that contains Struts form tag, any1 can
  help me?
   
Thank you
   
Nicolas
   
   
   
--
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]
  
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 


 __
 Do You Yahoo!?
 Check out Yahoo! Shopping and Yahoo! Auctions for all of
 your unique holiday gifts! Buy at http://shopping.yahoo.com
 or bid at http://auctions.yahoo.com

 --
 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: Invalidating a session

2001-12-17 Thread Rakesh

Can you please elaborate on the error message that you got ?
Were you trying to access any attribute from the session after the point
where you invalidated it ?

--Rakesh
---

- Original Message -
From: Struts Newsgroup @[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 18, 2001 9:40 AM
Subject: Invalidating a session


 Subject: Invalidating a session
 From: Nicolas Parisé [EMAIL PROTECTED]
  ===
 Hi,

 I got error message when I invoke session.invalidate() inside
 JSP page that contains Struts form tag, any1 can help me?

 Thank you

 Nicolas



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




good bye

2001-11-27 Thread Rakesh

Good bye to the struts mailer list.
U R a group of teriffic guys and I really appreciate all the help I received.

Thanks a lot


\ _|_ /  
/\_|_/\  
   / /\|/\ \ 
  - - Rakesh Ayilliath - - - - - - O - -
   \ \/|\/ / 
\/_|_\/  
Synergy IT Innovations Pvt Ltd, /  |  \  
#196, 1st Floor, 9th Cross,
HMT Layout, RT Nagar,
Bangalore 560032
India

[EMAIL PROTECTED]
  
---




Re: validate() method and session timeout

2001-11-13 Thread Rakesh

Hi Andras,

check the struts-example for app.tld.. and the associated
app:checkLogon/.


--Rakesh


- Original Message -
From: Andras Balogh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 13, 2001 4:18 PM
Subject: validate() method and session timeout



 Hi,

 I am using struts-1.0 and tomcat4 to develop a web application.
 The web application is based on users, so i am using session management.

 I am verifing is the user is already logged in my my Actions' class
 perform method, and if the session has timed out or the user is not yet
 logged i am forwarding to a login.jsp page.

 Now i have a form (form.jsp) and the asociated ActionForm class.
 This class has a validate method for checking emtpy fields etc.

 Now here is the following scenario:
 The user logs in and he goes to this form page. For some reason he waits
 and the session times out. Now if he submits the form with emtpy fields
 the ActionForm validate() will return a non emtpy ActionErrors object
 and the perform() method is NOT called, so the user gets back to
 form.jsp but he should be redirected to login.jsp.
 How can i do this?
 I have fixed it by doing the validating in the Action perform method but
 i fill like this is not the best solution.


 Thank you,

 Andras.





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




SSL

2001-11-12 Thread Rakesh


Is there any documentation anywhere on how to use SSL with struts ?
and does Struts support 128 bit encryption.

--Rakesh



Re: New professional STRUTS website

2001-09-30 Thread RAKESH AYILLIATH



Use multiboxes instead of checkboxes. This will surely solve ur problem.


Rakesh



From: lisa ward [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: New professional STRUTS website
Date: Sat, 29 Sep 2001 19:46:08 +0100

Hi,

what should the condition be?  At the moment I have placed a condition
within the reset method that ensures that the values do not get reset, but
it still doesn't work.

Thanks
Lisa



From: Rama Krishna [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: New professional STRUTS website
Date: Sat, 29 Sep 2001 11:42:44 -0700

may be it's ur reset method in action form.


- Original Message -
From: lisa ward [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, September 29, 2001 11:31 AM
Subject: Re: New professional STRUTS website


  Hi,
 
  How do I track a users checkbox selection.  After the form is submitted
if
  any errors occured on the form my values are lost.  I specified that 
the
  form should have session scope.  Is there something that I am missing
out?
 
  Thanks
  Lisa
 
 
  From: Adam Grohs [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: New professional STRUTS website
  Date: Sat, 29 Sep 2001 10:48:27 -0500
  
  www.hallmarkstories.com
  
  Please have a look at this new site developed to produce offline
physcial
  product through an online web based application for Hallmark, Inc. by
iXL,
  Inc.(NYC).  I would be happy to provide more detail into any questions
  anyone may have in terms of the STRUTS implimentation or other
solutions
  for the build.  I have been reading this list for a long time and
working
  on this project for a very long time hoping to expose STRUTS as a
fantastic
  framework for implimenting proffessional MVC based web applications.
  
  Thanks,
  Adam S. Grohs
  [EMAIL PROTECTED]
 
 
  _
  Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp
 
 


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp



_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




Re: [ANNOUNCE] Visual tool for Struts

2001-09-17 Thread Rakesh



Well..I finally managed todownload 
itand tried opening my existing 
application.this is what I got.

Rakesh


  - Original Message - 
  From: 
  Rakesh 
  
  To: [EMAIL PROTECTED] 
  
  Sent: Monday, September 17, 2001 1:23 
  PM
  Subject: Re: [ANNOUNCE] Visual tool for 
  Struts
  
  I am not able to open the .zip file after 
  download. Its giving me an invalid archive. ..
  can u put it up on the mailer list as an 
  attachment ?
  
  
  Rakesh
  
- Original Message - 
From: 
John Yu 

To: [EMAIL PROTECTED] 

Sent: Monday, September 17, 2001 10:12 
AM
Subject: [ANNOUNCE] Visual tool for 
Struts
We'd like to invite everyone in the Struts community to try 
out Scioworks Camino, a visual tool for Struts. The free download can be 
found at http://www.scioworks.com/scioworks_camino.htmlregards,
-- John 
Yu 
Scioworks Technologies e: [EMAIL PROTECTED] 
w: +(65) 873 5989w: http://www.scioworks.com m: 
+(65) 9782 9610 
 new_pa1.gif


Re: [ANNOUNCE] Struts Console

2001-09-14 Thread Rakesh



Hi James,

Here is my struts-config and this is the mismatch I 
was talking 'bout yesterday.

In Action mappings, choose 


1. /AddUserForm 
: form bean name is set to AddUserForm


2. /changePassword : form bean 
name remains at 
AddUserForm



Regards,

Rakesh

?xml version=1.0 encoding=ISO-8859-1 ?

!DOCTYPE struts-config PUBLIC
  -//Apache Software Foundation//DTD Struts Configuration 1.0//EN
  http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd;

!--
 This is the Struts configuration file for the example application,
 using the proposed new syntax.

 NOTE:  You would only flesh out the details in the form-bean
 declarations if you had a generator tool that used them to create
 the corresponding Java classes for you.  Otherwise, you would
 need only the form-bean element itself, with the corresponding
 name and type attributes.
--


struts-config


  !-- == Data Source Configuration === --

  data-sources
data-source
   autoCommit=true
  description=Example Data Source Configuration
  driverClass=org.gjt.mm.mysql.Driver
 maxCount=10
 minCount=0
 url=jdbc:mysql:///mediclub
 /
  /data-sources

  !-- == Form Bean Definitions === --

  form-beans


form-bean	  name=logonForm
			  type=logon.LogonForm/

form-bean	  name=compMastForm
			  type=admin.middle.CompanyMastForm/

form-bean	  name=AddUserForm
			  type=admin.middle.AddUserForm/

form-bean  name=changePassword
			  type=admin.middle.ChangePasswordForm/ 

  /form-beans


  global-forwards
forward   name=Proposalpath=/proposal.jsp/
forward   name=menu  path=/menuDisplayer.jsp/
  /global-forwards

  !-- == Action Mapping Definitions == --
  action-mappings

action path=/logon 
   		type=logon.LogonAction
   		name=logonForm
		scope=request
		input = /index.jsp
	forward name=success path=/LogonAs.jsp /  
 		forward name=failure path=/failure.jsp /
/action


actionpath=/CompanyMaster
   type=admin.middle.CompanyMastAction
   name=compMastForm
  scope=request
		input=/CompMastUi.jsp
   validate=false
  forward name=success  path=/CompMastUi.jsp/
  forward name=failure  path=/failure.jsp/
/action


actionpath=/AddUserForm
   type=admin.middle.AddUserEntity
   name=AddUserForm
  scope=request
		input=/AdUserUi.jsp
   validate=false
  forward name=success  path=/AdUserUi.jsp/
  forward name=failure  path=/failure.jsp/
  forward name=changePasspath=/change_password.jsp/
/action


actionpath=/changePassword
   type=admin.middle.ChangePasswordAction
   name=changePassword
  scope=request
		input=/change_password.jsp
   validate=false
  forward name=success  path=/AdUserUi.jsp/
  forward name=failure  path=/failure.jsp/
/action


!-- The standard administrative actions available with Struts --
!-- These would be either omitted or protected by security --
!-- in a real application deployment --
actionpath=/admin/addFormBean
   type=org.apache.struts.actions.AddFormBeanAction/
actionpath=/admin/addForward
   type=org.apache.struts.actions.AddForwardAction/
actionpath=/admin/addMapping
   type=org.apache.struts.actions.AddMappingAction/
actionpath=/admin/reload
   type=org.apache.struts.actions.ReloadAction/
actionpath=/admin/removeFormBean
   type=org.apache.struts.actions.RemoveFormBeanAction/
actionpath=/admin/removeForward
   type=org.apache.struts.actions.RemoveForwardAction/
actionpath=/admin/removeMapping
   type=org.apache.struts.actions.RemoveMappingAction/


  /action-mappings

/struts-config



Re: [ANNOUNCE] Struts Console

2001-09-13 Thread Rakesh

Its really good.

I guess I saw a mismatch between the Path Name and Form Bean Name in Action
Mappings.
This may be due to the JTable.

Regards,

Rakesh




- Original Message -
From: James Holmes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 13, 2001 7:01 AM
Subject: [ANNOUNCE] Struts Console


 I have put together a GUI for Struts called Struts
 Console.  Struts Console is a Java Swing based
 application for managing Struts configuration files.

 Struts Console is availbale at:
 http://www.geocities.com/jholmes612/

 Just unpack the zip file and view the README for
 details on running Struts Console.

 I'd like to get people's feedback and find out what
 they like/dislike, what they would add/remove or
 anything else you think about the tool.

 I'd like to see this tool evolve into the struts GUI
 app and be part of the standard struts distribution.

 Thanks,

 James Holmes
 [EMAIL PROTECTED]

 __
 Do You Yahoo!?
 Get email alerts  NEW webcam video instant messaging with Yahoo!
Messenger
 http://im.yahoo.com




Re: [ANNOUNCE] Struts Console

2001-09-13 Thread Rakesh

oops i ccd to the wrong person...



Re: win98 struts-example problem/tomcat bug

2001-08-28 Thread Rakesh



Hi,

all u need to do isadd this to your startup.bat 

SET JAVA_HOME=C:\JDK1.3SET 
TOMCAT_HOME=C:\tomcat
after the line that says

if not "%TOMCAT_HOME%" == "" goto 
start

make sure struts and related jars arenot 
inur classpath before u startup tomcat.


Rakesh 

[EMAIL PROTECTED]

  - Original Message - 
  From: 
  John 
  McClain 
  To: [EMAIL PROTECTED] 
  
  Sent: Monday, August 27, 2001 10:26 
  PM
  Subject: win98 struts-example 
  problem/tomcat bug
  
  I have 
  tomcat3.2.3, struts, xreces1.4.3 setup on win98. I have insured that I have 
  all needed files in tomcat\lib, and that all struts jars are in WEB-INF\lib. I 
  have copied the struts-example.war file into tomcat\webapps. When I startup 
  tomcat, I get all kinds of class not found errors. THIS DOES NOT HAPPEN ON 
  LINUX UNDER THE SAME CONDITIONS. So... I put WEB-INF/classes; 
  WEB-INF/lib/*.jar into my tomcat classpath by modifying the tomcat.bat script 
  - This solved the problem! HOWEVER, this implies to me that there is a bug 
  when tomcat is run on win98. Can anyone else give me another explanation, 
  and/or a solution so that I don't have to include context specific classes and 
  jars into my classpath???
  
  
  
  John and Michelle McClain7604 Muschetto 
  Ct.Citrus Heights, Ca. 
95621(916)728-5223


Re: I have a problem

2001-08-28 Thread Rakesh

Remove struts.jar from ur classpath. This is the only possible reason


 Rakesh Ayilliath

[EMAIL PROTECTED]

- Original Message -
From: ALAMI Ahmed - BOR [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 28, 2001 6:36 PM
Subject: I have a problem


 I don't understand what is happening to me now.
 Before i could use Struts with Tomcat with no pronlem, but now when i try
to
 use it i have this kind of error (notice that it's in French)

 Error: 500
 Location: /struts-example/index.jsp
 Erreur Interne de Servlet:
 javax.servlet.ServletException: Missing message for key index.title
 at

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
 l.java:459)
 at

_0002findex_0002ejspindex_jsp_0._jspService(_0002findex_0002ejspindex_jsp_0.
 java:444)
 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)
 at
 org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at

org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
 2)
 at
 org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
 at

org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
 onnectionHandler.java:213)
 at
 org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at
 org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
 at java.lang.Thread.run(Thread.java:484)


 So i can't work with Struts. Please if u have encountered the same problem
 and that u found a solution or u didn't get this problem and u have the
 solution email me please



 Ahmed ALAMI
 Stagiaire

  ...OLE_Obj...  ...OLE_Obj...
 8, rue Gustave Hertz - 33600 Pessac
 * 05.57.89.00.36 *06.17.23.26.61 * 05.56.36.64.71
 * [EMAIL PROTECTED]






Re: How do deal with JPEG in JSP's

2001-08-28 Thread Rakesh

have u set the correct MIME types ?


 Rakesh Ayilliath

[EMAIL PROTECTED]

- Original Message -
From: SUPRIYA MISRA [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 28, 2001 7:00 PM
Subject: How do deal with JPEG in JSP's


 Hi,

 I am storing jpeg images in oracle as BLOB. I am using the
 connection.getBlob() method to retrieve the images. When I write this back
 as a jpeg file it works great. How do I display the image in JSP's? Here
is
 the code I am using.


 %@ page import=java.sql.* ,java.util.* %
 %@ page errorPage=error.jsp%
 %@ page buffer=50kb%
 jsp:useBean id=connection class=ITTPDB /


 %
 response.setContentType(image/jpeg);
 String sql=select *  from IMAGETEST;

 ResultSet result=connection.executeQuery(sql);
 char c;
 byte [] b;
 int i=0;
 if (result.next()) {
 Blob blob=result.getBlob(PHOTO);
 b = blob.getBytes(1,(int)blob.length()+1);

 //writing to file works

 java.io.FileOutputStream fos = new
java.io.FileOutputStream(c:\\test.jpg);
 fos.write(b);
 fos.close();


 // Displaying in JSP does Not

 while (iblob.length()) {
 c=(char)b[i++];
 %
 %=c%
 %
   i++;
   }
 }
 %


 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





Re: Getting collections of messages

2001-08-23 Thread Rakesh

Hi,

check the struts-validator extension at
http://home.earthlink.net/~dwinterfeldt/



 Rakesh Ayilliath

[EMAIL PROTECTED]

- Original Message - 
From: Adam Hardy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 23, 2001 4:06 AM
Subject: Getting collections of messages


 Hello,
 
 Is it possible to return collections of messages from
 the ApplicationResources.properties file?
 
 Eg the ApplicationResources.properties could be:
 page1.optionbox.1=Apples
 page1.optionbox.2=Oranges
 page1.optionbox.3=Pears
 ...
 ...
 
 I would like to get page1.optionbox.* as a collection
 to populate an options tag.
 
 I have looked through the JavaDoc for
 org.apache.struts.util.MessageResources and it doesn't
 have any methods that return collections or arrays so
 I guess the answer is probably no.
 
 Is there a way to acheive this functionality?
 
 Thanks Adam.
 
 
 __
 Do You Yahoo!?
 Make international calls for as low as $.04/minute with Yahoo! Messenger
 http://phonecard.yahoo.com/
 



Re: Cannot find ActionMappings Error - second time I am posting -

2001-08-23 Thread Rakesh

Hi,

struts.jar should be in the WEB-INF/lib directory. I fact all the jars you
make use of in your web-app, needs to be in this directory.


 Rakesh Ayilliath
(Software Engineer)

Synergy IT Innovations Pvt Ltd,
#196, 1st Floor, 9th Cross,
HMT Layout, RT Nagar
Bangalore 560032

[EMAIL PROTECTED]


- Original Message -
From: Bhamidi Krishna [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 23, 2001 8:12 PM
Subject: Re: Cannot find ActionMappings Error - second time I am posting -


 Hi,

 thankyou for the mail. I removed struts from the classpath and the error
 disappeared. This time it says :

 java.lang.NoClassDefFoundError: org/apache/struts/taglib/html/FormTag
 at java.lang.Class.newInstance0(Native Method)

 Where should the struts.jar be in relation to the app? I put it in the
 WEB-INF.

 Krishna

 
 
 Are you talking about the struts-example webapp or is it an app of your
own
 ?
 
 See to it that the struts.jar is not in your classpath while your tomcat
 starts up.
 
 
   Rakesh Ayilliath
 
 [EMAIL PROTECTED]
 
 
 - Original Message -
 From: Bhamidi Krishna [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, August 23, 2001 3:09 AM
 Subject: Cannot find ActionMappings Error - second time I am posting -
 
 
   Hi,
  
   this is the second time I am posting this message. When I try to run
 struts
   on Tomcat, I get the following error :
  
   Exception in: R( /examples + /jsp/logon/logon.jsp + null) -
   javax.servlet.ServletException: Cannot find ActionMappings or
   ActionFormBeans collection
  
   I tried all settings I could get hold of from the struts-user mail
 archive.
  
   In the absence of a definitive guide to Struts, can someone please
 enlighten
   me on how to overcome this error??
  
   thankyou,
   Krishna
  
  
  
  
   _
   Get your FREE download of MSN Explorer at
 http://explorer.msn.com/intl.asp
  
  
 


 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





Re: radio select

2001-08-23 Thread Rakesh


Somehow I always preferred using int for html:radio property... easy to
manage, debug and set.


 Rakesh Ayilliath
(Software Engineer)

Synergy IT Innovations Pvt Ltd,
#196, 1st Floor, 9th Cross,
HMT Layout, RT Nagar
Bangalore 560032

[EMAIL PROTECTED]


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 23, 2001 1:03 AM
Subject: Re: radio select


 I'm not sure I understand your warning. For a set of radio buttons, there
 should not be an array in the form bean, just a simple string property,
 since only one radio button from a set can be selected at any time.

 --
 Martin Cooper


 - Original Message -
 From: SUPRIYA MISRA [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, August 22, 2001 6:35 AM
 Subject: Re: radio select


  suggestion:-you may need to reset the value in the form bean
 
 
  WARNING: In order to correctly recognize cases where none of the
 associated
  radios are selected, the ActionForm bean associated with this form must
  include a statement setting the corresponding array to zero length in
the
  reset() method.
 
 
 
 
  From: Bille Madsen [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: radio select
  Date: Wed, 22 Aug 2001 11:35:14 +0200
  
  
  Hi,
  
  I have the following code:
  
  html:radio property=radioBtn value=mail /
  
  html:radio property=radioBtn value=credit /
  html:errors property=radioBtn /
  
  Just two normal radiobuttons, have do I use the 'selected'-option which
  html
  provide?
  If the user select one the radio-buttons and come back to the page
later,
  none of the radio-buttons are selected, but all other info is still
  presented(struts text-fields and so on).
  By the way, I get the values correct in the formbean, so no problem
  there...
  
  Anyone having a answer?
  
  Thanks
  
  Bille
  
 
 
  _
  Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp
 
 






Re: caching

2001-08-22 Thread Rakesh

what would it take to make parts of the struts-config readable from a
database ?


 Rakesh Ayilliath
(Software Engineer)

Synergy IT Innovations Pvt Ltd,
#196, 1st Floor, 9th Cross,
HMT Layout, RT Nagar
Bangalore 560032

[EMAIL PROTECTED]

- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Struts User [EMAIL PROTECTED]
Sent: Wednesday, August 22, 2001 4:42 AM
Subject: Re: caching




 On Tue, 21 Aug 2001, David Corbin wrote:

  Will Struts detect that the struts-configl.xml file has changed and
reload
  it automatically?
 

 Not at present.

 There is a standard action (org.apache.struts.actions.ReloadAction) that
 you can arrange to trigger when you know this has happened (if you
 configure it in your original struts-config.xml first :-), or you can use
 the application reload facilities of your servlet container.

  Thanks.
 
 

 Craig






Re: Cannot find ActionMappings Error - second time I am posting -

2001-08-22 Thread Rakesh


Are you talking about the struts-example webapp or is it an app of your own
?

See to it that the struts.jar is not in your classpath while your tomcat
starts up.


 Rakesh Ayilliath

[EMAIL PROTECTED]


- Original Message -
From: Bhamidi Krishna [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 23, 2001 3:09 AM
Subject: Cannot find ActionMappings Error - second time I am posting -


 Hi,

 this is the second time I am posting this message. When I try to run
struts
 on Tomcat, I get the following error :

 Exception in: R( /examples + /jsp/logon/logon.jsp + null) -
 javax.servlet.ServletException: Cannot find ActionMappings or
 ActionFormBeans collection

 I tried all settings I could get hold of from the struts-user mail
archive.

 In the absence of a definitive guide to Struts, can someone please
enlighten
 me on how to overcome this error??

 thankyou,
 Krishna




 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp






patterns

2001-08-20 Thread Rakesh




Are there any regular Patterns you can make use in 
Struts ?


Rakesh Ayilliath(Software 
Engineer)

Synergy IT Innovations Pvt Ltd,#196, 1st Floor, 
9th Cross,HMT Layout, RT NagarBangalore 560032

[EMAIL PROTECTED]


Re: need help with struts installation

2001-08-20 Thread Rakesh



see to it that struts.jar is not in your classpath 
while you start up tomcat.


Rakesh Ayilliath

[EMAIL PROTECTED]

  - Original Message - 
  From: 
  Chuck 
  Carroll 
  To: [EMAIL PROTECTED] 
  
  Sent: Monday, August 20, 2001 10:30 
  PM
  Subject: need help with struts 
  installation
  
  Hi,
  
  I am a new user of the struts package 
  and am using Tomcat 3.2.3 on Windows 2000 Professional with service pack 
  1. I have tried to follow the 
  directions on the installation of Tomcat, as well as that for struts. Normal servlets and JSPs work just 
  fine, so I think Tomcat is okay. 
  The problem is with the struts-example from Jakarta. 
  Before I install the struts package, I 
  can start Tomcat with no errors. 
  After I install the struts package and start Tomcat, I get the 
  message:
  Call 
  org.apache.struts.action.ActionServlet.addServletMapping(action/java.lang.String,*.do/java.lang.String)
  New 
  org.apache.struts.webapp.example.User
  Begin event threw exception
  java.lang.ClassNotFoundException: 
  org.apache.struts.webapp.example.User
   
  at 
  When doing /struts-documentation, everything 
  seems to be okay.
  When doing /struts-example, I get the 
  message:
  Error: 500
  Location: /struts-example/index.jsp
  Internal Servlet Error:javax.servlet.ServletException: Missing message for key index.title at However, /struts-exercise-taglib works for the BEAN Tags and LOGIC Tags but fails on the HTML Tags with the message:
  Error: 
500
  Location: 
  /struts-exercise-taglib/index.jsp
  Internal Servlet Error:javax.servlet.ServletException: Exception creating bean of class org.apache.struts.webapp.exercise.TestBean: java.lang.ClassNotFoundException: org.apache.struts.webapp.exercise.TestBean
  I am obviously doing something wrong, but 
  cant figure out what it is. Any 
  help would be very much appreciated. 
  Thank you.
  Chuck 
Carroll


Re: session ids

2001-08-19 Thread Rakesh

do u have an example


 Rakesh Ayilliath

[EMAIL PROTECTED]

- Original Message -
From: Jon Crater [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 16, 2001 10:27 PM
Subject: Re: session ids


 rakesh--

 you can solve this problem by having the class responsible for managing
the
 hashtable of session ids implement HttpSessionBindingListener.  fill out
the
 valueBound(HttpSessionBindingEvent event) and
 valueUnbound(HttpSessionBindingEvent event) methods so that the
appropriate
 session id is added/removed when the hashtable manager is unbound from the
 session.

 jon


 Original Message Follows
 From: Rakesh [EMAIL PROTECTED]
 Reply-To: Rakesh [EMAIL PROTECTED]
 To: [EMAIL PROTECTED], [EMAIL PROTECTED]
 Subject: Re: session ids
 Date: Thu, 16 Aug 2001 22:12:50 +0530

 Hi Greg,

 I know that this sessioncontext api is currently deprecated.
 I require this for a very specific reason. When I log-in a user,
 I save his loginID and the sessionId in a static hash table.

 and when he is logged out, I remove it. Each time someone tries
 to log-in, I check in to the hash to see if he is already logged in and
 display appropriate error messages to him.

 When he logs out by clicking on a logout.do, I remove his
 loginID from the hash and invalidate his session. Now what happens; if
 he just closes the browser window, or if his session is timed out ?
 How do I remove his name from the Hash ?

 Kindly help.

   Rakesh Ayilliath
 [EMAIL PROTECTED]



 - Original Message -
From: Greg Maletic
To: [EMAIL PROTECTED] ; Rakesh
Sent: Thursday, August 16, 2001 9:54 PM
Subject: RE: session ids


I don't believe you can get all valid sessionIDs from the server.  I
 think the API for doing so was deprecated a while back for security
reasons.
   The way I've solved this in the past was to have each session register
 itself into a application-scoped hashmap, and maintain that map myself.

--Greg


 -Original Message-
From:
[EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED]]O
n
 Behalf Of Rakesh
Sent: Thursday, August 16, 2001 12:28 AM
To: [EMAIL PROTECTED]
Subject: session ids


  Hi ,

  Is there anyway I can get all valid session ids from the server ?


   Rakesh Ayilliath
  (Software Engineer)

  Synergy IT Innovations Pvt Ltd,
  #196, 1st Floor, 9th Cross,
  HMT Layout, RT Nagar
  Bangalore 560032

  [EMAIL PROTECTED]


 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





Re: unsubscribe me, please!!!!!!!!!!!!!!!!!!!

2001-08-17 Thread Rakesh

you normally get a confirmation message when u do that.. and u need to reply
to it as well. :-)


 Rakesh Ayilliath

[EMAIL PROTECTED]

- Original Message -
From: Siping Liu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 17, 2001 5:52 PM
Subject: unsubscribe me, please!!!


 sorry to bother you guys once again.
 I have sent unsubscribe message SEVERAL TIMES
 to the membership email address with no result.

 CAN'T YOU JUST LET ME OUT!!!

 help..





session ids

2001-08-16 Thread Rakesh



Hi ,

Is there anyway I can get all valid session ids 
from the server ?


Rakesh Ayilliath(Software 
Engineer)

Synergy IT Innovations Pvt Ltd,#196, 1st Floor, 
9th Cross,HMT Layout, RT NagarBangalore 560032

[EMAIL PROTECTED]


Re: html:errors problem

2001-08-16 Thread Rakesh

all u need to check is if you have added the appropriate messages to ur app
resources file.

Regards,

 Rakesh Ayilliath

[EMAIL PROTECTED]

- Original Message -
From: SUPRIYA MISRA [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 15, 2001 8:14 PM
Subject: RE: html:errors problem


 oops --i was wrong . I have this in the form

 public ActionErrors validate(ActionMapping mapping,
 javax.servlet.http.HttpServletRequest request)
 {
 ActionErrors errors = new ActionErrors();

 return errors;

 }



 From: SUPRIYA MISRA [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: RE: html:errors problem
 Date: Wed, 15 Aug 2001 14:39:26 +
 
 I have used exactly what he is doing without validating and it works
 
 
 From: Mike Dewhirst [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
 Subject: RE: html:errors problem
 Date: Wed, 15 Aug 2001 15:36:49 +0100
 
 I think the problem stems from the fact that you are creating and
 populating
 the ActionErrors object in the Action Class instead of the validate
 method()
 of the Action Form. You should also turn on validation in the action
 maping
 for this Action in strus-config.xml.
 
 Hope this helps!
 
 Have a look at the user guide, it's very good and contains the details
on
 how to do the above:
http://jakarta.apache.org/struts/userGuide/index.html
 
 -Original Message-
 From: Yang, Yexing [mailto:[EMAIL PROTECTED]]
 Sent: 15 August 2001 15:31
 To: '[EMAIL PROTECTED]'
 Subject: html:errors problem
 
 
 Hi,everyone
 I have a problem about using the html:errors/, in Servlet side I use
 something look like following:
 
  ActionErrors errors = new ActionErrors();
  errors.add(mike,new ActionError(Login Failed !));
  if(!errors.empty()){
  saveErrors(request,errors);
  System.out.println(Login Error:  +
 mapping.getInput().toString());
  return  (new ActionForward(mapping.getInput()));
  }
 
 from the std.out I can check errors is not empty, but on Jsp page ,
I
 use
 html:errors/, it doesn't come out any error info. I am not quite sure
if
 I
 am doing the right way or not.
 
 do someone can please give some advice about it
 
 Thanks in advance
 
 
 =**
 
 If you are not the intended recipient, employee or agent responsible for
 delivering the message to the intended recipient, you are hereby
notified
 that any dissemination or copying of this communication and its
 attachments
 is strictly prohibited.
 
 If you have received this communication and its attachments in error,
 please return the original message and attachments to the sender using
the
 reply facility on e-mail.
 
 Internet communications are not secure and therefore the UCLES Group
does
 not accept legal responsibility for the contents of this message.  Any
 views or opinions presented are solely those of the author and do not
 necessarily represent those of the UCLES Group unless otherwise
 specifically stated.
 
 This footnote also confirms that this email message has been swept by
 MIMEsweeper for the presence of computer viruses although this does not
 guarantee that this email is virus free.
 
 **=
 
 
 _
 Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp
 


 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





Re: Struts UML ....

2001-08-16 Thread Rakesh

try this link:

http://www-106.ibm.com/developerworks/library/j-struts/?dwzone=java


 Rakesh Ayilliath
[EMAIL PROTECTED]





- Original Message -
From: SUPRIYA MISRA [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 16, 2001 5:25 PM
Subject: Re: Struts  UML 


 Model -- Normally a Database (the schema)
 Controller--Action Servlet
 View -- JSP

 Is that what you are asking?

 From: Rodney Smith [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Struts  UML 
 Date: Thu, 16 Aug 2001 10:38:36 +0200 (MEST)
 
 Hi all,
 
 Could some one give me a quick simple solution or a good detailed example
 of
 the following.
 My understanding so far of Struts is not so bad I think, but when looking
 at
 the MVC and how it works, I would like to put that into order with UML. I
 could image that there is a million of UML examples and MVC, but I would
 like a
 simple answer on a Struts MVC and UML.
 Now the question is after the actionservlet controller sends a perform()
to
 the action class. is this action class in the MODEL??? and if so,
where
 in the UML view is it??
 To me it looks like most of the MVC is based in the presentation layer is
 that correct?
 Could someone enlighten me with a good clear answer please.
 Thanks for everyones time and have a great day.
 
 Kind Regards
 Rodney Smith
 
 --
 Sent through GMX FreeMail - http://www.gmx.net
 


 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





Re: Struts UML ....

2001-08-16 Thread Rakesh

I found this in the mailer list itself. May be of some help.

http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg01063/StrutsFlo
w.gif


 Rakesh Ayilliath
[EMAIL PROTECTED]



- Original Message -
From: SUPRIYA MISRA [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 16, 2001 5:25 PM
Subject: Re: Struts  UML 


 Model -- Normally a Database (the schema)
 Controller--Action Servlet
 View -- JSP

 Is that what you are asking?

 From: Rodney Smith [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Struts  UML 
 Date: Thu, 16 Aug 2001 10:38:36 +0200 (MEST)
 
 Hi all,
 
 Could some one give me a quick simple solution or a good detailed example
 of
 the following.
 My understanding so far of Struts is not so bad I think, but when looking
 at
 the MVC and how it works, I would like to put that into order with UML. I
 could image that there is a million of UML examples and MVC, but I would
 like a
 simple answer on a Struts MVC and UML.
 Now the question is after the actionservlet controller sends a perform()
to
 the action class. is this action class in the MODEL??? and if so,
where
 in the UML view is it??
 To me it looks like most of the MVC is based in the presentation layer is
 that correct?
 Could someone enlighten me with a good clear answer please.
 Thanks for everyones time and have a great day.
 
 Kind Regards
 Rodney Smith
 
 --
 Sent through GMX FreeMail - http://www.gmx.net
 


 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





Re: WAR file Info

2001-08-16 Thread Rakesh

i am not very sure. all i do is pack up my app into a jar file and rename it
with a .war extension.. and it does work :-)


 Rakesh Ayilliath
[EMAIL PROTECTED]

- Original Message -
From: SUPRIYA MISRA [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 16, 2001 7:39 PM
Subject: WAR file Info


 What is the asiest way to make a war file for your Struts application?




 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





Re: session ids

2001-08-16 Thread Rakesh




Hi Greg,

I know that this sessioncontext apiis 
currently deprecated. 
I require this for a very specific reason. When I 
log-in a user, 
I save his loginID and the sessionId in a static 
hash table.

and when he is logged out, I remove it. Each time 
someone tries 
to log-in, I check in to the hash to see if he is 
already logged in and 
display appropriate error messages to 
him.

When he logs out by clicking on a logout.do, 
Iremove his
loginID from the hash and invalidate his session. 
Now what happens; if 
he just closes the browser window, or if his 
session is timed out ?
How do I remove his name from the Hash 
?

Kindly help.

Rakesh Ayilliath
[EMAIL PROTECTED]



- Original Message - 

  From: 
  Greg 
  Maletic 
  To: [EMAIL PROTECTED] 
  ; Rakesh 
  
  Sent: Thursday, August 16, 2001 9:54 
  PM
  Subject: RE: session ids
  
  I 
  don't believe you can get all valid sessionIDs from the server. I 
  thinkthe API for doing so was deprecated a while back for security 
  reasons. The way I'vesolvedthis in the past was to have each 
  session register itself into a application-scoped hashmap, and maintain 
  thatmap myself.
  
  --Greg
  
  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On 
  Behalf Of RakeshSent: Thursday, August 16, 2001 12:28 
  AMTo: [EMAIL PROTECTED]Subject: session 
  ids
  
Hi ,

Is there anyway I can get all valid session ids 
from the server ?


Rakesh Ayilliath(Software 
Engineer)

Synergy IT Innovations Pvt Ltd,#196, 1st 
Floor, 9th Cross,HMT Layout, RT NagarBangalore 560032

[EMAIL PROTECTED]


jms

2001-08-07 Thread Rakesh



Has anyone tried JMS along with 
Struts.


Rakesh Ayilliath(Software 
Engineer)

Synergy IT Innovations Pvt Ltd,#196, 1st Floor, 
9th Cross,HMT Layout, RT NagarBangalore 560032

[EMAIL PROTECTED]


Re: Struts + Tomcat/Apache

2001-07-26 Thread Rakesh

are u using mod_jserv or mod_jk ?



 Rakesh Ayilliath
(Software Engineer)

Synergy IT Innovations Pvt Ltd,
#196, 1st Floor, 9th Cross,
HMT Layout, RT Nagar
Bangalore 560032

[EMAIL PROTECTED]
www.ayilliath.8m.com
- Original Message -
From: Sorenson, Alexander [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 26, 2001 1:26 AM
Subject: Struts + Tomcat/Apache


 I am still having trouble configuring struts with tomcat and apache.
Going
 through the archives, I have put the following lines in my httpd.conf,
which
 solved the problem I was having before of Apache returning a 404:

 JkMount /*.jsp ajp13
 JkMount /*.do ajp13
 JkMount /servlet/* ajp13

 Unfortunately now it returns a 500 internal server error.  looking at
 apache's logs, I find the following:
 mod_jserv.log:
 [25/07/2001 19:57:13:989] (EMERGENCY) ajp12[1]: cannot scan servlet
headers
 (500)
 [25/07/2001 19:57:13:989] (ERROR) an error returned handling request via
 protocol ajpv12

 error.log:
 [Wed Jul 25 15:57:13 2001] [error] [client 64.111.2.62] Premature end of
 script headers: g:/jakarta-tomcat-3.2.2/webapps/bmp/custlogin.do

 in the tomcat mod_jk.log:
 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61
 [jk_ajp13_worker.c (174)]: In jk_endpoint_t::connect_to_tomcat, failed
errno
 = 61
 [jk_ajp13_worker.c (587)]: Error connecting to the Tomcat process.

 Can anyone tell me what's going on here / how to fix it?
 Thanks




Re: Problem while running application in Struts

2001-07-25 Thread Rakesh

Hi

any luck?


 Rakesh Ayilliath
(Software Engineer)

Synergy IT Innovations Pvt Ltd,
#196, 1st Floor, 9th Cross,
HMT Layout, RT Nagar
Bangalore 560032

[EMAIL PROTECTED]
www.ayilliath.8m.com
- Original Message -
From: Soniya Satbhai [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 25, 2001 3:17 PM
Subject: Problem while running application in Struts


 Hi,
   Whenever I run my applications (jsp pages) , I am getting the
 following exception.
 Thanks,
 Soniya.

 Error: 500

 Location: /struts-i18n/test.jsp

 Internal Servlet Error:

 javax.servlet.ServletException
 java.lang.Throwable(java.lang.String)
 java.lang.Exception(java.lang.String)
 javax.servlet.ServletException(java.lang.Throwable)
 void

org.apache.jasper.runtime.PageContextImpl.handlePageException(java.lang.Exce
ption)

 void

_0002ftest_0002ejsptest_jsp_0._jspService(javax.servlet.http.HttpServletRequ
est,
 javax.servlet.http.HttpServletResponse)
 void

org.apache.jasper.runtime.HttpJspBase.service(javax.servlet.http.HttpServlet
Request,
 javax.servlet.http.HttpServletResponse)
 void
 javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
 javax.servlet.ServletResponse)
 void

org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(javax.servlet
.http.HttpServletRequest,
 javax.servlet.http.HttpServletResponse, boolean)
 void

org.apache.jasper.servlet.JspServlet.serviceJspFile(javax.servlet.http.HttpS
ervletRequest,
 javax.servlet.http.HttpServletResponse, java.lang.String,
 java.lang.Throwable, boolean)
 void

org.apache.jasper.servlet.JspServlet.service(javax.servlet.http.HttpServletR
equest,
 javax.servlet.http.HttpServletResponse)
 void
 javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
 javax.servlet.ServletResponse)
 void

org.apache.tomcat.core.ServletWrapper.doService(org.apache.tomcat.core.Reque
st,
 org.apache.tomcat.core.Response)
 void
 org.apache.tomcat.core.Handler.service(org.apache.tomcat.core.Request,
 org.apache.tomcat.core.Response)
 void

org.apache.tomcat.core.ServletWrapper.service(org.apache.tomcat.core.Request
,
 org.apache.tomcat.core.Response)
 void

org.apache.tomcat.core.ContextManager.internalService(org.apache.tomcat.core
.Request,
 org.apache.tomcat.core.Response)
 void

org.apache.tomcat.core.ContextManager.service(org.apache.tomcat.core.Request
,
 org.apache.tomcat.core.Response)
 void

org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(org.a
pache.tomcat.service.TcpConnection,
 java.lang.Object [])
 void
 org.apache.tomcat.service.TcpWorkerThread.runIt(java.lang.Object [])
 void org.apache.tomcat.util.ThreadPool$ControlRunnable.run()
 void java.lang.Thread.run()


 Root cause:

 javax.servlet.jsp.JspException
 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()
 void

_0002ftest_0002ejsptest_jsp_0._jspService(javax.servlet.http.HttpServletRequ
est,
 javax.servlet.http.HttpServletResponse)
 void

org.apache.jasper.runtime.HttpJspBase.service(javax.servlet.http.HttpServlet
Request,
 javax.servlet.http.HttpServletResponse)
 void
 javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
 javax.servlet.ServletResponse)
 void

org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(javax.servlet
.http.HttpServletRequest,
 javax.servlet.http.HttpServletResponse, boolean)
 void

org.apache.jasper.servlet.JspServlet.serviceJspFile(javax.servlet.http.HttpS
ervletRequest,
 javax.servlet.http.HttpServletResponse, java.lang.String,
 java.lang.Throwable, boolean)
 void

org.apache.jasper.servlet.JspServlet.service(javax.servlet.http.HttpServletR
equest,
 javax.servlet.http.HttpServletResponse)
 void
 javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
 javax.servlet.ServletResponse)
 void

org.apache.tomcat.core.ServletWrapper.doService(org.apache.tomcat.core.Reque
st,
 org.apache.tomcat.core.Response)
 void
 org.apache.tomcat.core.Handler.service(org.apache.tomcat.core.Request,
 org.apache.tomcat.core.Response)
 void

org.apache.tomcat.core.ServletWrapper.service(org.apache.tomcat.core.Request
,
 org.apache.tomcat.core.Response)
 void

org.apache.tomcat.core.ContextManager.internalService(org.apache.tomcat.core
.Request,
 org.apache.tomcat.core.Response)
 void

org.apache.tomcat.core.ContextManager.service(org.apache.tomcat.core.Request
,
 org.apache.tomcat.core.Response)
 void

org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(org.a
pache.tomcat.service.TcpConnection,
 java.lang.Object [])
 void
 org.apache.tomcat.service.TcpWorkerThread.runIt

Re: Struts + Tomcat/Apache (again)

2001-07-24 Thread Rakesh

its
JkMount /*.do ajp13

remember the /

this needs to be added as follows to your httpd conf.

JkMount /*.jsp ajp13
JkMount /*.do ajp13
JkMount /servlet/* ajp13




 Rakesh Ayilliath
(Software Engineer)

Synergy IT Innovations Pvt Ltd,
#196, 1st Floor, 9th Cross,
HMT Layout, RT Nagar
Bangalore 560032

[EMAIL PROTECTED]
www.ayilliath.8m.com
- Original Message -
From: Chuong Huynh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 24, 2001 10:31 AM
Subject: Struts + Tomcat/Apache (again)


 Hi all,

 There were some discussion about this matter but I can't find a workable
 answer.

 I still can't manage to make Strut work on Tomcat with Apache: the server
 can't understand .do extension (using Tomcat alone work fine). I've
followed
 the doc carefully, and also followed the advise on the mailing list: add
the
 line

 JkMount *.do ajp12

 to the config file, and the problem is still the same: HTTP 404 - File not
 found

 Could anyone please help me.

 By the way, I used:
 Apache 1.3.17
 Tomcat 3.2.2
 Strut 1.0

 Thanks,
 - Chuong
 =
  HUYNH, N. CHUONG
  TMA Software Solutions, Vietnam
  Tel: (84-8) 990 3848 - Ext: 5272
  Email: [EMAIL PROTECTED]
 =






Re: Struts + Tomcat/Apache (again)

2001-07-24 Thread Rakesh

I am attaching my httpd.conf file.





 Rakesh Ayilliath
(Software Engineer)

Synergy IT Innovations Pvt Ltd,
#196, 1st Floor, 9th Cross,
HMT Layout, RT Nagar
Bangalore 560032

[EMAIL PROTECTED]
www.ayilliath.8m.com



- Original Message -
From: Sorenson, Alexander [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 24, 2001 7:18 PM
Subject: RE: Struts + Tomcat/Apache (again)


 This is the same problem I am having I believe.  I tried adding the
JkMount
 lines, but when I restart Apache it gives me a Syntax error, with
'JkMount'
 as an invalid command.  I am running Tomcat 3.2.2 with Apache 1.3.2 on
 Windows.

 Thanks
 Alex



 -Original Message-
 From: Steve Knight [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 24, 2001 9:43 AM
 To: [EMAIL PROTECTED]; Rakesh
 Subject: Re: Struts + Tomcat/Apache (again)


 I am having a very similar problem with Resin 1.2.7.
 I doesn't seem to be able to understand the *.do and I keep getting 404
Not
 Found pages.
 Is there anything I should be adding to my .conf file (like the
JkMount/*.do
 ajp 13)?

 Thanks!

 Steve


 - Original Message -
 From: Rakesh [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, July 24, 2001 6:12 AM
 Subject: Re: Struts + Tomcat/Apache (again)


  its
  JkMount /*.do ajp13
 
  remember the /
 
  this needs to be added as follows to your httpd conf.
 
  JkMount /*.jsp ajp13
  JkMount /*.do ajp13
  JkMount /servlet/* ajp13
 
 
 
 
   Rakesh Ayilliath
  (Software Engineer)
 
  Synergy IT Innovations Pvt Ltd,
  #196, 1st Floor, 9th Cross,
  HMT Layout, RT Nagar
  Bangalore 560032
 
  [EMAIL PROTECTED]
  www.ayilliath.8m.com
  - Original Message -
  From: Chuong Huynh [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Tuesday, July 24, 2001 10:31 AM
  Subject: Struts + Tomcat/Apache (again)
 
 
   Hi all,
  
   There were some discussion about this matter but I can't find a
workable
   answer.
  
   I still can't manage to make Strut work on Tomcat with Apache: the
 server
   can't understand .do extension (using Tomcat alone work fine). I've
  followed
   the doc carefully, and also followed the advise on the mailing list:
add
  the
   line
  
   JkMount *.do ajp12
  
   to the config file, and the problem is still the same: HTTP 404 - File
 not
   found
  
   Could anyone please help me.
  
   By the way, I used:
   Apache 1.3.17
   Tomcat 3.2.2
   Strut 1.0
  
   Thanks,
   - Chuong
   =
HUYNH, N. CHUONG
TMA Software Solutions, Vietnam
Tel: (84-8) 990 3848 - Ext: 5272
Email: [EMAIL PROTECTED]
   =
  
  
  
 


 httpd.conf


Re: Mappings, bloody mappings

2001-07-24 Thread Rakesh

try this

action-mappings
action path=/fundlist
type=com.projectcast.sfundm.FundListAction
   scope=request
forward name=success
 path=/fundlist.jsp/
forward name=failure
 path=/fundlist.jsp/
/action

I guess you do not require the /WEB-INF/web




 Rakesh Ayilliath
(Software Engineer)

Synergy IT Innovations Pvt Ltd,
#196, 1st Floor, 9th Cross,
HMT Layout, RT Nagar
Bangalore 560032

[EMAIL PROTECTED]
www.ayilliath.8m.com



- Original Message -
From: Aapo Laakkonen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 24, 2001 6:52 PM
Subject: Mappings, bloody mappings


 I have problem... It might be in my understanding, but here it goes...

 I have these mappings:

 form-beans
 form-bean name=FundUpdateForm
type=com.projectcast.sfundm.FundForm/
 /form-beans

 global-forwards
 forward name=funds
  path=/fundlist.do/
 /global-forwards

 action-mappings
 action path=/fundlist
 type=com.projectcast.sfundm.FundListAction
scope=request
 forward name=success
  path=/WEB-INF/web/fundlist.jsp/
 forward name=failure
  path=/WEB-INF/web/fundlist.jsp/
 /action
 action path=/editfund
 type=com.projectcast.sfundm.FundSelectAction
scope=request
 forward name=success
  path=/WEB-INF/web/editfund.jsp/
 forward name=failure
  path=/WEB-INF/web/editfund.jsp/
 forward name=cancel
  path=/funds.do/
 /action
 action path=/updatefund
 type=com.projectcast.sfundm.FundUpdateAction
 name=FundUpdateForm
scope=request
input=/WEB-INF/web/editfund.jsp
 validate=true
 forward name=success
  path=/editfund.do/
 forward name=cancel
  path=/funds.do/
 !-- I have also tried this
 forward name=cancel
  path=/fundlist.do/
 --
 /action
 action-mappings

 Then some explanation. I have fundlist action that displays all the funds,
 ok. Then
 when user selects one fund on the list struts executes editfund action and
 gets all
 needed information about that fund. Everything works correctly at this
 point. Then
 editfund.jsp has a form that has action mapped to updatefund action and
also
 has
 an cancel button. If cancel button is pressed the updatefund action gets
 executed,
 am I right? Here is first two lines from UpdateAction class:

  if (isCancelled(request))
 return (mapping.findForward(cancel));

 Then it should go back to fundlist.do action, but all what I get is HTTP
400
 Bad Request error. What I am doing wrong? Or should I do something
 different to get the same results? And I'm running struts on Apache Test
 Environment 3.2.1 for Visual Age 3.5.3.

 Thanks,
 Aapo Laakkonen

 -- Aapo Laakkonen, +358 (50) 33 99 682, ProjectCast Ltd, Helsinki,
Finland.





Re: Mappings, bloody mappings

2001-07-24 Thread Rakesh

I am sorry I guess U need to keep the '/web' intact.
try this

action-mappings
action path=/fundlist
type=com.projectcast.sfundm.FundListAction
   scope=request
forward name=success
 path=/web/fundlist.jsp/
forward name=failure
 path=/web/fundlist.jsp/
/action



 Rakesh Ayilliath
(Software Engineer)

Synergy IT Innovations Pvt Ltd,
#196, 1st Floor, 9th Cross,
HMT Layout, RT Nagar
Bangalore 560032

[EMAIL PROTECTED]
www.ayilliath.8m.com
- Original Message -
From: Aapo Laakkonen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 24, 2001 6:52 PM
Subject: Mappings, bloody mappings


 I have problem... It might be in my understanding, but here it goes...

 I have these mappings:

 form-beans
 form-bean name=FundUpdateForm
type=com.projectcast.sfundm.FundForm/
 /form-beans

 global-forwards
 forward name=funds
  path=/fundlist.do/
 /global-forwards

 action-mappings
 action path=/fundlist
 type=com.projectcast.sfundm.FundListAction
scope=request
 forward name=success
  path=/WEB-INF/web/fundlist.jsp/
 forward name=failure
  path=/WEB-INF/web/fundlist.jsp/
 /action
 action path=/editfund
 type=com.projectcast.sfundm.FundSelectAction
scope=request
 forward name=success
  path=/WEB-INF/web/editfund.jsp/
 forward name=failure
  path=/WEB-INF/web/editfund.jsp/
 forward name=cancel
  path=/funds.do/
 /action
 action path=/updatefund
 type=com.projectcast.sfundm.FundUpdateAction
 name=FundUpdateForm
scope=request
input=/WEB-INF/web/editfund.jsp
 validate=true
 forward name=success
  path=/editfund.do/
 forward name=cancel
  path=/funds.do/
 !-- I have also tried this
 forward name=cancel
  path=/fundlist.do/
 --
 /action
 action-mappings

 Then some explanation. I have fundlist action that displays all the funds,
 ok. Then
 when user selects one fund on the list struts executes editfund action and
 gets all
 needed information about that fund. Everything works correctly at this
 point. Then
 editfund.jsp has a form that has action mapped to updatefund action and
also
 has
 an cancel button. If cancel button is pressed the updatefund action gets
 executed,
 am I right? Here is first two lines from UpdateAction class:

  if (isCancelled(request))
 return (mapping.findForward(cancel));

 Then it should go back to fundlist.do action, but all what I get is HTTP
400
 Bad Request error. What I am doing wrong? Or should I do something
 different to get the same results? And I'm running struts on Apache Test
 Environment 3.2.1 for Visual Age 3.5.3.

 Thanks,
 Aapo Laakkonen

 -- Aapo Laakkonen, +358 (50) 33 99 682, ProjectCast Ltd, Helsinki,
Finland.





disconnect

2001-07-17 Thread Rakesh




I am not sure if this question belongs 
here.

I have a web app (in struts). I need to expire the 
sessionifthe user gets disconnected (and does not close the browser 
window). Anyhints on how this is to be done ?



Rakesh Ayilliath(Software 
Engineer)

Synergy IT Innovations Pvt Ltd,#196, 1st Floor, 
9th Cross,HMT Layout, RT NagarBangalore 560032

[EMAIL PROTECTED]www.ayilliath.8m.com


Re: disconnect

2001-07-17 Thread Rakesh



Thanks for the suggestion . I am able to catch the 
window close event. 

The actual situation is like this:
-- user logs on to thesite and is 
woking.
-- He gets disconnected in between and 
leaveshis terminal without loggingout or closing the browser 
window.
-- The web connection is estalished 
again.
-- Another user comes and refreshes the 
screen.

The old session should be invalidated and the new 
user should bemade to login again.


Rakesh Ayilliath(Software Engineer)

Synergy IT Innovations Pvt Ltd,#196, 1st Floor, 9th Cross,HMT 
Layout, RT NagarBangalore 560032

[EMAIL PROTECTED]www.ayilliath.8m.com

  - Original Message - 
  From: 
  Alan Inser 
  To: '[EMAIL PROTECTED]' 
  
  Sent: Tuesday, July 17, 2001 7:57 
PM
  Subject: RE: disconnect
  
  Hello,
  
  With 
  our application I use frames and the main frameset uses the event onUnload. 
  
  
  This 
  event is called when the user does the following to close the browser 
  (forInternet ExplorerandNetscape):
  
  ALT-F4 (on Windows), or 
  menu 
  File | Close/Exit, or 
  double-click on the system menu, or 
  
  click on the "X" close button or 
  kill 
  the browser with the task manager.
  
  . . 
  .
  function 
  closeTest() { if (self.isLogged) 
  { window.open(URL, 'Logout', 
  'height=30,width=300,status=no,menubar=no,locationbar=no,location=no,title=no,resizable=no')}. 
  . .
  self.isLogged = 
  true;
  frameset cols="100,*" border="0" 
   . . 
  .
  /frameset
  But 
  if the browser or the system crashed, there is no way to catch this event ... 
  :-)
  
  Our 
  goal was to catch the close event and then open a popup windows telling that 
  the user has been disconnected. There is no way to prevent the window to be 
  closed.
  
  
  
-----Original Message-From: Rakesh 
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 17, 2001 3:19 
PMTo: [EMAIL PROTECTED]Subject: 
disconnect

I am not sure if this question belongs 
here.

I have a web app (in struts). I need to expire 
the sessionifthe user gets disconnected (and does not close the 
browser window). Anyhints on how this is to be done ?



Rakesh Ayilliath(Software 
Engineer)

Synergy IT Innovations Pvt Ltd,#196, 1st 
Floor, 9th Cross,HMT Layout, RT NagarBangalore 560032

[EMAIL PROTECTED]www.ayilliath.8m.com


Re: hi

2001-04-26 Thread Rakesh

But what about the 'links' and the 'images'?


 Rakesh Ayilliath
(Software Engineer)

Synergy IT Innovations Pvt Ltd,
#196, 1st Floor, 9th Cross,
HMT Layout, RT Nagar
Bangalore 560032

[EMAIL PROTECTED]
www.ayilliath.8m.com
- Original Message -
From: Jean-Noel Ribette [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Rakesh [EMAIL PROTECTED]
Sent: Thursday, April 26, 2001 9:18 PM
Subject: Re: hi


 You can use the menuing component written by Scott Sayles and available at
http://www.husted.com/about/struts

 In the action class you'll need to
 - load the items from the database and create the menu components.
 - put the menu in the menu repository

 Then in the jsp you'll be able to use the menu tags to display the menu.

 Jean-Noel


 - Original Message -
 From: Rakesh [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, April 26, 2001 5:30 PM
 Subject: hi


 How do I create Menu Items from my MySQL Database and add it onto struts
jsp screen ?