how to represent nested bean properties in a jsp form

2005-09-08 Thread temp temp
I have a jsp a formbean and an action class. My formbean has a value object and getter setter methods for that. here is my forbean public class ServiceSelectionForm extends ActionForm { private AddressVO addressVO; public AddressVO getAddressVO() {

Fwd: RE: how to represent nested bean properties in a jsp form

2005-09-08 Thread temp temp
setWindowHeight(int windowHeight){ _windowHeight = windowHeight; } public int getWindowHeight(){ return _windowHeight; }HTH - If you are getting a specific error I might be able to help more.Greg-Original Message-From: temp temp [mailto:[EMAIL PROTECTED]]Sent: Thursday, September 08, 2

RE: RE: how to represent nested bean properties in a jsp form

2005-09-08 Thread temp temp
--- Greg Pelly [EMAIL PROTECTED] wrote: Temp temp, I'll need some more information from you before I can be much help. Is the Form class (ServiceSelectionForm) being invoked properly? Are non-nested elements being populated correctly? Are you getting any errors? -Greg -Original

Fwd: Re: RE: how to represent nested bean properties in a jsp form

2005-09-08 Thread temp temp
/05, temp temp [EMAIL PROTECTED] wrote: This is my jsp html:formaction=serviceSelection.do html:text property=addressVO.state/ html:submit property=NEWSEARCH value=Submit/ /html:form I want input textfield from jsp to represent porperty state of AddressVO. I

Fwd: Re: Re: RE: how to represent nested bean properties in a jsp form

2005-09-08 Thread temp temp
property=addressVO.state / Put a debug statement in the setter just in case, is it called? Michael. On 9/8/05, temp temp [EMAIL PROTECTED] wrote: here is my struts config form-bean name=serviceSelectionForm type=com.bankerssystems.pac.onlinetrans.service.forms.ServiceSelectionForm /form-bean

Fwd: Re: Fwd: Re: Re: RE: how to represent nested bean properties in a jsp form

2005-09-09 Thread temp temp
(the sample source you posted does that, so that's probably not it) or that addressVO is null in the form bean. How do you populate the form bean? What happens if you call getAddressVO().getState() on the form bean directly? L. temp temp wrote: I get the following error [Invalid argument

form resubmission on refreshing page

2005-09-20 Thread temp temp
I have a list in my jsp .For each item in the list I have a submit button through which user can remove an item in list. When user clicks on remove link I submit the form to my action class .Action class removes selected item from the collection and then sends him back to the same page . After

problems configuring jakarta-catcus in RAD for testing action classes

2005-09-23 Thread temp temp
I want to use jakarta cactus for testing struts action classes. I am using websphere RAD , struts 1.2.6 ,jakarta-cactus-12-1.7.1 and websphere 5.1 This is catcus.properties file # Configuration file for Cactus. # Each project using Cactus need to have such a file put in the

downloading a file using struts action class

2005-09-29 Thread temp temp
I want a struts action class to download xml file .I do not want to use Struts DownloadAction because I have a super class called AbstractActionBase which extends to struts action class and all my action classes extends to this AbstractActionBase. For downloading a file I am using normal

casting a request attribute into Object

2005-10-13 Thread temp temp
I have a jsp (Parent Jsp) in which I use jsp:include to include other jsp (child Jsp) . In the Parent Jsp I retrieve an Object from the formbean and set it in request scope. bean:define id=ramQuestionsDocument name=ramForm

using request tag from jstl

2005-10-13 Thread temp temp
I am trying to use jstl request tag to save an object into request scope. As per the docs syntax is req:setAttribute name=myattAAbb/req:setAttribute I want to put an object rather than a string in the request.How can I acheieve this? thanksregards

downloading a file using struts action class

2006-01-17 Thread temp temp
I am using struts action class to download a file . Here is the action class public ActionForward execute(ActionMapping aActionMapping, ActionForm aActionForm, HttpServletRequest aHttpServletRequest, HttpServletResponse aHttpServletResponse)

file download problem

2006-01-18 Thread temp temp
I am using struts action class to download a file . Here is the action class public ActionForward execute(ActionMapping aActionMapping, ActionForm aActionForm, HttpServletRequest aHttpServletRequest, HttpServletResponse aHttpServletResponse) throws

Fwd: Re: file download problem

2006-01-18 Thread temp temp
there a specific content type for .doc documents? That might solve your problem.I looked it up. .doc documents are application/msword. Try that and see what happens. I am actually building a list of all the extensions and their content types. Hope this helps. On 1/18/06, temp temp [EMAIL

order in which filters are executed in web.xml

2006-01-27 Thread temp temp
I written two filters for my web application. One filter is to check whether session has userId called SecurityFilter.(This filter is applied to all *.do) Second filter to check if login user has access to a particular page called AccessControlFilter .(This filter only to some .do) in

forward using RequestDispatcher

2006-01-27 Thread temp temp
I using ServletFilter to check whether the user is authenticated or has permissions to access resource. In case of not authenticated or not authorized I must redirect user to some page (Error Page ) . For this I must use RequestDispatcher to forward him to error page. If I do this I

using requestDispatcher.inlude()

2006-01-31 Thread temp temp
Can I include multiple .do's using request dispathcer include? or can I have %request.getRequestDispatcher(/action/budgetInformationRead.do?form=ndsp:budget.Informationobject.ndsp:sf.budget=811).include(request,response);% multiple times. like

servlets filters

2006-02-07 Thread temp temp
Filters in web application. Are servlet filters similar to session ie each session will have its own filter or its like sevlet context ie common to all sessions . Thanks Regards - Yahoo! Mail - Helps protect you from nasty

filters in web application

2006-02-13 Thread temp temp
In a web application can I use several filters like 20 to 30 filters each of them serving some functionallity usefull for more than one '.do' .Is this a good design or there could be any performance issues when using several filters in a web application. Thanks regards

using logic:equal tag

2006-03-10 Thread temp temp
I am using struts 1.1 I using logic equal tag to check whether a page context attribute value equals to some value . here is my code bean:define id=test value=0/ logic:equal name=test value=0 bean:define id=test1 value=2 / /logic:equal

Re: using logic:equal tag

2006-03-10 Thread temp temp
Can somebody help me with this? Michael Jouravlev [EMAIL PROTECTED] wrote: On 3/10/06, Michael Jouravlev wrote: On 3/10/06, temp temp wrote: I am using struts 1.1 I using logic equal tag to check whether a page context attribute value equals to some value . here is my

using logic tag

2006-03-10 Thread temp temp
I am using struts 1.1 I using logic equal tag to check whether a page context attribute value. here is my code bean:define id=test value=0/ logic:equal name=test value=0 bean:define id=test1 value=2 / /logic:equal logic:equal name=test

In ant build.xml can I call a target from other ant build.xml

2006-03-17 Thread temp temp
In ant build.xml can I call a target from other ant build.xml For Example I have two ant build scripts build1.xml and build2.xml and default target from build1.xml below target name=build_app depends=clean,compile copy todir=${app.home}/${app.name}

opening a pdf file from action class

2006-03-21 Thread temp temp
In my download action class I set the content type and write byte array to the response which makes the browser open a dialog box “save or open . Is there a way to open the file without the option save or open i.e. when user clicks on file link I want to open the file in the

[java.util.Map] How can I alter a java.util.Map while I am iterating it

2006-03-23 Thread temp temp
I have a HashMap with some data .I must alter the Map by replacing the keys with their upper case. Map searchResultMap= (Map)request.getAttribute(searchResults); ListIterator

Re: [java.util.Map] How can I alter a java.util.Map while I am iterating it

2006-03-23 Thread temp temp
: temp temp ha scritto: I have a HashMap with some data .I must alter the Map by replacing the keys with their upper case. Ok first of all you cannot modify a HashMap while you are iterating it. But your problem has a solution. Iterate the map and store into another map the key-value

[java:Conditional Operators]

2006-03-30 Thread temp temp
I did not understand the following code with multiple conditional operators. boolean vIsForm=true; String vForwardName = (aActionMapping.findForward(vWorkForwardName) == null) ? (vIsForm) ? form : task : vWorkForwardName; Can some body explain

servlets filters

2006-03-31 Thread temp temp
I have a servlet filter which should behave different for different .do's and init params are different for different .do's . One way of solving this situation is below. filter filter-nameSearchResultsFilter.CheckIn/filter-name

[using class.forname()]

2006-04-03 Thread temp temp
I am using class.forname() in several classes to load other classes so that my application can be configured without changing the exsisting code . I am not very clear about the issues which can come across using class loaders . I tested in my localhost where all classes reside in one

convert collection to excel spread sheet

2006-04-07 Thread temp temp
I must create export to excel spreadsheet capability for my pages . I will be having java.util.Collection containing search results which I have to convert into an excel sheet.What is the best and simplest way to convert a Collection into excel spreadsheet . Thanks Regards

including taglib in jsp

2006-05-05 Thread temp temp
including a taglib in jsp will it cause performance problems ? for example my jsp has path to taglib %@ taglib uri=/tld/struts-bean prefix=bean% and I am not using declared tag any where in my jsp. As per performance measure can I ignore tld declaration or should remove

Fwd: [java.util.regex ]using Regular Expressions

2006-05-10 Thread temp temp
Note: forwarded message attached. Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.---BeginMessage--- I am having problems with Regular Expressions usage. I want to ensure that the user enters only digits and no other characters. For

Browser Back Button

2006-05-11 Thread temp temp
Is there any way I can realize using java that the user clicked on browsers back button ? Thanks Regards - Yahoo! Mail goes everywhere you do. Get it on your phone.

Re: Browser Back Button

2006-05-12 Thread temp temp
% of the time they are either doing one of the following: - Confusing the GET and POST methods and their intended purpose with forms. - Abusing client-side browser scripting for forwarding users. On 5/11/06, temp temp wrote: Is there any way I can realize using java that the user

Re: Browser Back Button

2006-05-15 Thread temp temp
Can U suggets me an article which clearly explains using struts tokens mechanisim? Manfred Wolff [EMAIL PROTECTED] wrote: Lixin. I think mostly it is no problem to go back in a struts implemented application. If it ist a problem (e.g. after a logout or if you saved data) you can take the

How to dertermine the url from which a request is made ?

2006-05-15 Thread temp temp
The method request.getServletPath returns current request uri.Can I get the previous request uri .ie I have a filter which is mapped to all .do's .So any .do is called this filter is invoked.In this filter I can retrieve the requested url. Is there any way I can determine url from which

Re: Browser Back Button

2006-05-16 Thread temp temp
) * /on the return trip,/ o isTokenValid(request) o resetToken(request) Perhaps someone (me?) must write a documentation? If I have a little time, and no has do so, I will do. Manfred temp temp wrote: Can U suggets me an article which clearly explains using struts tokens mechanisim

PDF forms

2006-05-16 Thread temp temp
My application should have PDF forms. The servlet should create a PDF form which user should be able to edit, take print out and server should receive inputs entered by the user. What should I look for to achieve this? Thanks Regards

Re: PDF forms

2006-05-16 Thread temp temp
User should fill the form and submit to the server also should have an option to print I mean a print button in pdf which will print the pdf. Thanks Regards - New Yahoo! Messenger with Voice. Call regular phones from your PC and

struts token

2006-05-18 Thread temp temp
Can I use struts token mechanism for an action without a form bean ? Thanks Regards - Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

Re: struts token

2006-05-19 Thread temp temp
Can you tell me how can I use struts token mechanisim with out a form bean? Thanks Regards Manfred Wolff [EMAIL PROTECTED] wrote: Yes, you can. The token will be stored in the request. temp temp wrote: Can I use struts token mechanism for an action without a form bean

Re: struts token

2006-05-19 Thread temp temp
What hidden field should I use in jsp to pass the generated token to next action class? Thanks Regards Manfred Wolff [EMAIL PROTECTED] wrote: Hi mr. temp.temp 1. The Action calls saveToken(request); 2. A unique token will be generated and saved in the session and in the jsp as a hidden

[WEB-SERVICES ]

2006-05-23 Thread temp temp
Web services. How web services are written in java. Are there any tutorials to understand the concept of web services? Several application servers provide tools which builds web service on a button click. This way I can create a web service but I cannot understand what files

prepopulation action form

2005-03-30 Thread temp temp
I have two actionforms two action classes and two jsps .Clicking on a link in a jsp should take me to next jsp .Here I must pass some parameter to next jsp. In the first jsp I display some data from a collection containing objects which I generate from database in action class and set

RE: prepopulation action form

2005-03-30 Thread temp temp
I said as you said . It works fine with session but not with request.Which is better to use request or session. thanks regards --- Fogleson, Allen [EMAIL PROTECTED] wrote: Sure... Lets say jsp1 posts to actionA which forwards to jsp2 In actionA simply create and instance of the

RE: prepopulation action form

2005-03-30 Thread temp temp
? that would likely mess it up. Al -Original Message- From: temp temp [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 30, 2005 9:44 AM To: Struts Users Mailing List Subject: RE: prepopulation action form I said as you said . It works fine with session

bean in a Actionform

2005-03-30 Thread temp temp
I have an actionform which contains a bean as a property. This bean has getter and setter methods for few Strings . 1. How to display properties from this bean in my jsp in a list . And when the form is submitted 2. Can I automatically populate my bean in actionform with the values

passing object in request from jsp to action

2005-03-31 Thread temp temp
I want pass an object from a jsp to an struts action in request attribute. I have a jsp it got link to an action upon click the action is invoked. How can I pass object to this action using request Attribute. thanks regards __ Do you

RE: passing object in request from jsp to action

2005-03-31 Thread temp temp
, add that parameter as well. Instead of just a href=/someAction.do use a href=/someAction.do?someAttribute=123. Hope this helps, Dhanashree. -Original Message- From: temp temp [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 1:11 PM To: user@struts.apache.org

Re: passing object in request from jsp to action

2005-03-31 Thread temp temp
the JSP was processing are gone. To pass data from the generated HTML to an action, you need to submit a form or include request parameters in a link. Another option is to store the object in session scope. Hubert On Thu, 31 Mar 2005 11:10:36 -0800 (PST), temp temp [EMAIL PROTECTED

RE: passing object in request from jsp to action

2005-03-31 Thread temp temp
work for you... -Original Message- From: temp temp [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 1:18 PM To: Struts Users Mailing List Subject: RE: passing object in request from jsp to action I want to use request.getAttribute(string,object); thanks regards --- Apte

code repetation in action classes

2005-04-14 Thread temp temp
I am implementing pagination for most of my jsp's so I created a pagination bean with properties corresponding to pagination and this bean extends to ActionForm . All my formbeans extend to the pagination bean class. In all my action classes I am repeating code to set values corresponding to

single action for multiple forms

2005-04-20 Thread temp temp
I have three search pages (jsp) with different levels of search . All the three search pages use the same search engine to get search results. Can I use a single action for all these search pages. thanks regards __ Do You Yahoo!? Tired of

Caching Java Objects

2005-04-25 Thread temp temp
Is it similar to sessions ie each user will have his own cached Object or all the users share the same Cached object . I have a jsp with multiple submit buttons .Each submit buttoncalls database to get data. Its like I have 3 submit buttons 1st gets User comments . 2nd gets some

jsp:param name attribute

2005-04-28 Thread temp temp
I am using jsp include to include a jsp in a jsp. jsp:include page={relativeURL | %= expression %} flush=true jsp:param name=parameterName value={parameterValue | %= expression %} /+ /jsp:include I want to pass dynamic value to name attribute is this possible.

struts file upload problem

2005-05-04 Thread temp temp
I am using struts to upload a file . It works fine with small files . But for files with size 1Gb it works fine when I upload from localhost but does not work when I upload it from network .It gives network exception socket connection closed by peer. Can somebody help me with this. thanks

struts( commons -fileupload) file upload

2005-05-04 Thread temp temp
I am using struts (commons-fileupload) to upload a file . It works fine with small files . But for files with size 1Gb it works fine when I upload from localhost but does not work when I upload it from network .I am using websphere 5.0 . Is there any setting for the server which prevents the

RE: struts file upload problem

2005-05-04 Thread temp temp
there alimit? I thought there was -Original Message- From: temp temp [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 4:20 PM To: user@struts.apache.org Subject: struts file upload problem I am using struts to upload a file . It works fine with small files . But for files

Re: struts file upload problem

2005-05-04 Thread temp temp
[EMAIL PROTECTED] wrote: temp temp wrote: No there is no limit for file upload as per commons fileupload. The server or container might have an upload limit, for intance Apache has (or did, anyway) LimitRequestBody config. Dave

File Upload with Struts .

2005-05-04 Thread temp temp
Can I upload very large files like 8 Gb with struts file upload . thanks regards __ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail

struts file upload

2005-05-04 Thread temp temp
I am using struts and trying to upload files of any type and size.If the server as well as client is on the same PC no issues ,but if I try to accomplish this across the network then I am only able to upload a file if the size is less then 1 MB .Not sure what the problem is. thanks regards

unable to access properties from formbean in included jsp

2005-05-11 Thread temp temp
I am creating a new bean containg struts formbean in jsp .I put this new bean in request scope. I want to include another jsp in this jsp. In another jsp I want to access the properties from the new bean . Any property I try to write or define I get error message no getter and setter

xml databinding using castor

2005-05-24 Thread temp temp
I want to use castor for java and xml binding . I am not aware of where to download castor . I tried www.castor.orgbut the site was down I am trying it since last friday I was not sucessful . Can somebody guide me with this . thanks regards

casting a string to a ValueObject

2005-06-16 Thread temp temp
I am using BeanUtils.setProperty and BeanUtils.getProperty for setting the values and retrieving values from my formbean.It works fine for a property of type String .In case I have a VO (valueObject ) as a property in my formbean , getProperty method from BeanUtils returns a string

bean tag

2005-07-12 Thread temp temp
I would like to retrieve message from application Resources property file and save it into a bean in a jsp. bean:message key=someKey writes to response . But I want this value to be saved in a bean in page scope can I do this. thanks regards

unable to parse xml string

2005-07-22 Thread temp temp
I get premature end of file sax exception when I try to parse a string which is an xml file returned from database as blob . I printed this string in console copied and pasted in browser .Browser displayed xml without any parse errors.Can somebody guide me what could go wrong or where did the

error page mapping using web.xml

2005-08-08 Thread temp temp
I used error-page tag in web.xml to map any 404 Http error code to page specified in location tag.It works fine it netscape but does not work in internet explorer .I am using IE 6.0. error-page error-code404/error-code locationdefault.jsp/location

error mapping problems with Internet Explorer

2005-08-08 Thread temp temp
I used error-page tag in web.xml to map any 404 Http error code to page default.jsp specified in location tag.It works fine in netscape but does not work in internet explorer .I am using IE 6.0. error-page error-code404/error-code

problems with IE browser when disabling cache

2005-08-09 Thread temp temp
I am disabling the browsers chache using jsp setHeader method , exact code is below. response.setHeader( Expires, Sat, 6 May 1995 12:00:00 GMT ); // set standard HTTP/1.1 no-cache headers response.setHeader( Cache-Control, no-store, no-cache, must-revalidate ); //

reset method of formbean

2005-08-10 Thread temp temp
I have an action which has a formbean in session scope . I want to reset this formbean whenever request is made to this action with a request parameter (say refresh). I have a reset method in the formbean which sets all the properties of this bean to null. In the action class I look

[Commons-FileUpload]problem with file upload over https using common fileupload

2005-08-12 Thread temp temp
I am using jakarta commons fileupload to upload a file . It worked fine with Internet explorer and netscape navigator with http protocol. I configured my server to use https protocol. I tried to upload a file it worked fine with netscape but did not work with internet explorer. I am

Re: [Commons-FileUpload]problem with file upload over https using common fileupload

2005-08-12 Thread temp temp
-data? L. temp temp wrote: I am using jakarta commons fileupload to upload a file . It worked fine with Internet explorer and netscape navigator with http protocol. I configured my server to use https protocol. I tried to upload a file it worked fine

[JAVA] creating instance of the class

2007-02-09 Thread temp temp
I want to create instance of a class using object.getClass().new Instance() but this object constructor needs another object so how can I do this ? Suppose I have a class DefaultMetaInfoHandler default=new DefaultMetaInfo(“test”);

[JSP] api for customizing contents of a jsp page

2007-02-13 Thread temp temp
I want portal like capability where a user can change or create fields . I want to add functionality through which a user can add more fields or remove fields or change the display name of the field like portal page, where a user can create a form just with drag and drop,

[JAVA] suing synchronized block

2007-03-20 Thread temp temp
I using synchronized block and need help in using it ? I have a SingleTon class which has a global valriable Map. I will updating this Map at runtime. Example synchronized (fActionHandlers) { fActionHandlers.put(

adding parameters at runtime to actionforward which uses tiles

2007-03-20 Thread temp temp
I am using tiles definitions in my actionforward action path=/action/manage/entity/viewEntity type=com.reisys.fema.ognt.web.action.manage.entity.ViewEntityAction forward name=success path=forward.view.entity/ /action

Re: adding parameters at runtime to actionforward which uses tiles

2007-03-20 Thread temp temp
What in case of redirect and I donot want to use session? Thanks Regards Paul Benedict [EMAIL PROTECTED] wrote: temp temp wrote: Is there a way I can add parameters to an actionforward which uses tiles definition ? If its not tiles I can append to actionForward.getActionPath

[JAVA] Use of declaring method abstract in a interface

2007-03-21 Thread temp temp
What is the advantage of declaring method abstract in a intreface ? for example difference between Intreface Test { public void test(); } and Intreface Test { public abstract void test(); } Thanks Regards Sairam

[JSP] drag drop capability in a jsp is this possible ?

2007-03-22 Thread temp temp
I want a jsp page which should have the capability to drag and drop in the sense suppose I have a two list select size=3 optionCalifornia -- CA/option optionColorado -- CO/option optionConneticut -- CN/option /select

Re: [JSP] drag drop capability in a jsp is this possible ?

2007-03-22 Thread temp temp
Regards Angelo 2007/3/22, temp temp : I want a jsp page which should have the capability to drag and drop in the sense suppose I have a two list California -- CAColorado -- COConneticut -- CN C -- CAC -- CO Conneticut -- CN I want to shuffle the contents of the lists using

Re: [JSP] drag drop capability in a jsp is this possible ?

2007-03-22 Thread temp temp
, temp temp : I tried swap control in my application but it does not work the site has no documentation, no complte examples can I get more assistance with this ? Thanks Regards Angelo zerr wrote: Hi, you can see JSControlsTags project at http://jscontrolstags.sourceforge.net

Re: [JSP] drag drop capability in a jsp is this possible ?

2007-03-22 Thread temp temp
/3/22, temp temp : I downloaded all the required files but they donot have a sample application with which I can play make changes test results they have jsp code which is not complete and no tutorial on how to get started are there any other providers with good documentation

[JAVA]Generating unique identifier with in a sesssion

2007-03-23 Thread temp temp
I need a object which generates unique identifiers for all instances I create how to do this ? Thanks Regards - Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta.

[JAVA] abstractg class calling abstract method in constructor

2007-03-23 Thread temp temp
I have a super class with an abstract method and a non default constructor and it calls this abstract method in its constructor This abstract method is implemented in the base class. First thing base class constructor does is call super()

Re: [JSP] drag drop capability in a jsp is this possible ?

2007-03-26 Thread temp temp
: No problem. I'm happy that JSControlsTags please you. Regards Angelo 2007/3/23, temp temp : It works Thank you very much.Sorry for the complain It was my mistake i just downloaded src after ur reply i downloaded use cases i was able to run the jsp it works. Once again tahnk you

ajax framework

2007-03-28 Thread temp temp
I have to create highly interactive web page ie use of lot of java script. Are there open source java ajax frameworks where I code only in java and do not write any java script? I mean any ajax framework where I have the whole power of java script but I work with only

[JAVA -THREADS]

2007-03-29 Thread temp temp
I have a singleton class with private constructor Example public class ResourceManagerFactory { private static ResourceManagerFactory fResourceManagerFactory= new ResourceManagerFactory(); private

[JAVA] Iterate a collection and modify

2007-04-10 Thread temp temp
How can I iterate a collection and modify at the same time ? Example public static Collection getAncestors( Entity aEntity, Object aContext ){ Collection vAncestors=new ArrayList(); IDocument vDocument= findDocumentByName( aEntity.getSuper(),

[BEAN-UITLS]setting super class using bean retrospection

2007-04-27 Thread temp temp
Is there any way I can set super class using bean retrospection ? I create a instance of a class is there a possible way to to add a super class using bean retrospection ? Thansk Regards miro - Ahhh...imagining that irresistible new car

Re: [BEER] Re: [BEAN-UITLS]setting super class using bean retrospection

2007-04-27 Thread temp temp
. Thanks Regards Miro Dave Newton [EMAIL PROTECTED] wrote: --- temp temp wrote: Is there any way I can set super class using bean retrospection ? I create a instance of a class is there a possible way to to add a super class using bean retrospection ? In a day

posting form

2007-05-08 Thread temp temp
My struts action class forwards to view which has form tag (html form tag) form method=POST Here I did not specify action attribute to the form just specified attribute method=”POST” when user submits this form where does it go ? Thanks Regards Miro

retrieving value of attribute from tiles definition

2007-05-24 Thread temp temp
I have a tiles def definition name=.basic.layout path=/jsp/basicLayout.jsp put name=title value=Default title/ put name=header value=/jsp/header.jsp/ put name=menu value=/jsp/menu.jsp/ put name=content value=/jsp/defaultContentPage.jsp/ put name=footer

[JAVA]Converting a string to date

2006-06-22 Thread temp temp
I have a string which I want to convert into a date . The string 06-APR-07 How can I convert this date into sql date ? Thanks - Yahoo! Groups gets better. Check out the new email design. Plus there’s much more to come.

Using bean:write

2006-06-23 Thread temp temp
I have a map with a string as key .The string contains some dots like “p.s.amemdment.type.sow”. In jsp I want display the value for key “p.s.amemdment.type.sow”. For this I should use bean:wirte name=”map” property=’ p.s.amemdment.type.sow’ / but the bean tag

interface for constants

2006-07-18 Thread temp temp
I have is a constants interface with static final fields . Each field value is a call to DAO. For example interface IObjectTypeIds{ public static final int APPLICATION =ObjectDAO.get(APPLICATION); } Is this is a good practice ? - Do you

Converting an object to integer

2006-07-21 Thread temp temp
What is the best way to convert an object to an Integer .If casting dosen't work? Thanks Regards - Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.

Re: Converting an object to integer

2006-07-21 Thread temp temp
get compilation error stating that cannot cast a String to integer in this case do I have to create a new Integer every time ? Thanks Regards Scott Van Wart [EMAIL PROTECTED] wrote: temp temp wrote: What is the best way to convert an object to an Integer .If casting dosen't work

how to read

2006-07-31 Thread temp temp
How to read the following code ? boolean vIsForm = vWorkTypeId.equals(IFormflowWorkTypeIds.FORM); String vWorkForwardName = MessageFormat.format(work={0}, new Object[] {vWorkAlias}); String vForwardName = (aActionMapping.findForward(vWorkForwardName) == null)

[JAVA]How to get datatbase connection from lookup to datatsource name in a standalone java application

2006-08-24 Thread temp temp
My java standalone application wants connection to database with lookup to datasource name which is configured in the oc4j app server. Please guide me with some ideas to achieve this. - Do you Yahoo!? Everyone is

converting \n to br with bean:write tag

2006-08-25 Thread temp temp
I am using struts bean tag bean:write .Is there any option in the tag which converts \n character to br - All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.

  1   2   >