Re: Eclipse 3.1 and struts 1.2.7

2005-09-08 Thread d d
http://struts.apache.org/faqs/eclipse.html is a useful link or u may use the book Tomcat-Bible.It has a chapter on Ecllipse-IDE installation. On Thu, 08 Sep 2005 MImran wrote : >Dear all, >I am trying to build my first application with Tomcat, Eclipse 3.1 & Struts >1.2.7, can anyone tell me

Re: connecting to server

2005-09-07 Thread d d
Rather than using struts u can use simple servlet concepts to achive this. Once u login keep a connection variable is session or in application scope. this will allow all ur actions to access this connection.If at all u want to use Action class, study the function Action.getDatasource(). Hope t

Re: Re: writting File through jsp

2005-09-06 Thread d d
I guess u r right i must try this out.. But i am doubtful if the pdf to be grnerated will be fully generated when we enter in Filter or will it get generated AFTER passing through Filter?? On Tue, 06 Sep 2005 [EMAIL PROTECTED] wrote : >On Tue, 2005-09-06 at 06:19 +0000, d d wr

writting File through jsp

2005-09-05 Thread d d
Using FO i am generating a pdf report. The code for this is in a JSP (which is obviously generated dynamically). Now i want to save a copy of this generated pdf on server. Any idea how this can be done??

Re: AW: Problem with logic:present TAG

2005-08-23 Thread d d
try using logic:equal along with logic:present On Tue, 23 Aug 2005 Tiller,Volker wrote : >should it work with > > >... > >...true-case > > >...false-case > > >? > >Volker > > > -Ursprüngliche Nachricht- > > Von:Kade Jeevan Kumar [SMTP:[EMAIL PROTECTED] > > Gesendet am:Di

Re: Re: Login Problem

2005-08-21 Thread d d
rper wrote : >d d wrote: >> I am working on a struts web application with oracle as back end.I use >> tomcat. I am using filter so that if user has not logged in he cannot access >> any of the pages.I have a problem for logging.. >>I login into my application..Use the

Login Problem

2005-08-18 Thread d d
I am working on a struts web application with oracle as back end.I use tomcat. I am using filter so that if user has not logged in he cannot access any of the pages.I have a problem for logging.. I login into my application..Use the application..Now if suddenly i close Tomcat Server.. and rest

Re: Re: XSL:FO orJasper Reports

2005-08-08 Thread d d
  its simple.. when u create a jasper report it has a Parameter map that configure the input parameter. While running ur java file for Jasper report,just set values in this Map. In case of iReports...U need to Set a default(hardcoded) value in report parameters.Test the report on default value

XSL:FO orJasper Reports

2005-08-08 Thread d d
  I am generating reports from Oracle DB in my struts application, I am confused whether to use XSL:FO or Jasper Reports to generate reports..Can anybody plz guide me on this issue??

Re: Multiple Input Bean

2005-08-06 Thread d d
  Instead of creating name and address fields as your form fields,Prepare a bean class eg empBean with these fields and 'collection' of this new bean as ur action forms fields.Struts has documentation on how to use collections as actionForm variables. Hope this helps u. Best luck, On Sat, 06

Re: Deleting all beans

2005-08-05 Thread d d
  I think the beans u are talking are ActionForm..??? If so no need to worry.When u define action in struts-config.xml, you provide scope for ur bean as once bean scope is provided, struts creates a variable named as "yourFormBean" in scope you specified.You can just remove this variable from

Re: help on plugin and i18n

2005-08-04 Thread d d
  u can download MyEclipse (MyEclipse Enterprise Workbench) from Myeclipseside stie. It provides tools for handling struts. For application resource:See if u have configured tag. in struts_config.xml On Fri, 05 Aug 2005 [EMAIL PROTECTED] wrote : >hi all, >i'm new to struts , i just come up wi

Re: [HELP] How can deny access to folders at web app root

2005-08-01 Thread d d
  hi Pham , If u r clear with the concepts of Srevlets..u can use Servlet-Filters to ristrict access to perticular folders on ur application. Another way is to Use Tomcat configuration to whether show user the Directory list. See if this helps u out. Best Luck On Tue, 02 Aug 2005 Pham Anh Tuan

Re: Issue with action forward - urgent

2005-08-01 Thread d d
  this usually occurs when ur response has already been redirected and again u r calling REquestDispatcher to forward to next page.. check if action forward is set only once.. or if accidently u have called response.sendRedirect();,somewhere on ur jsp or Action class hope this helps u out On

how to use tiles

2005-07-30 Thread d d
i am building an application where i have to refresh a perticular part of page rather than whole page..I used the concept of IFRAMES but it takes hell lot of time to load and refresh..I guess struts tiles may be useful here. Any idea if we can refresh only a part of full tile keep other parts unt