Re: Need to lookup additional data to append to redirection to outside web site

2011-06-20 Thread Kushan Jayathilake
- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Regards Kushan Jayathilake

Re: Pagination using Struts library

2011-05-11 Thread Kushan Jayathilake
t; used > to > implement pagination. > > > I suggested Display tag and Page Loader, but since they are not open > source, > not ssociated with Jakarta/Sun, user is not agreeging to it? > > > Any suggestions would be appreciated? > > > Thanks, > Pankaj > -- Regards Kushan Jayathilake

Re: s:select dropdown box problem: cannot locate list

2011-04-05 Thread Kushan Jayathilake
le"); >return "populate"; >} > >public String execute() { >return SUCCESS; >} > >public ArrayList getConditionList() { > return conditionList; >} > >public void setCountryList(ArrayList conditionList) { >this.conditionList = conditionList; >} > } > > struts.xml > > > class="BookRez.Database.RegisterAction"> >/register.jsp >/register.jsp >/success.jsp > > > > -- Regards Kushan Jayathilake

Re: Spring Security

2011-03-31 Thread Kushan Jayathilake
drop me a note. > > Chris > > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Regards Kushan Jayathilake

Re: Problem with s:hidden

2011-02-28 Thread Kushan Jayathilake
ApproveBuletin" > /> > value="deny" label="Deny" >action="DenyBulletin" > /> > > > > > > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Regards Kushan Jayathilake

Re: Can you plz tell me the one stop best resource to fill all struts2 tags.

2011-02-27 Thread Kushan Jayathilake
l struts2 tags. > > > > Regards > -- Regards Kushan Jayathilake

Re: requests die with a stack overflow

2011-02-22 Thread Kushan Jayathilake
hich I compressed with gzip. > The > >>> trace is 3756 lines long! > >>> > >>> Any help would be greatly appreciated. > >>> > >>> -- > >>> D. Laroche > >>> Pratt & Whitney Canada > >>> > >>> > >>> > >>> > >>> - > >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >>> For additional commands, e-mail: user-h...@struts.apache.org > >>> > >> > >> > > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Regards Kushan Jayathilake

Re: cannot run a simple struts application, server start error - myeclipse

2011-02-10 Thread Kushan Jayathilake
t;>> > > > > > >>> > > > > >>> > > > >>> > > > > > com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:143) > > >>> > > > at > > >>> > > > > > >>> > > > > > >>> > > > > >>> > > > >>> > > > > > com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:110) > > >>> > > > at > > >>> > > > > > >>> > > > > > >>> > > > > >>> > > > >>> > > > > > com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:168) > > >>> > > > at > > >>> > > > > > >>> > > > > > >>> > > > > >>> > > > >>> > > > > > com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55) > > >>> > > > ... 17 more > > >>> > > > Caused by: java.lang.ClassCastException: > > >>> > > > org.apache.xerces.parsers.XML11Configuration cannot be cast to > > >>> > > > org.apache.xerces.xni.parser.XMLParserConfiguration > > >>> > > > at org.apache.xerces.parsers.DOMParser.(Unknown Source) > > >>> > > > at org.apache.xerces.parsers.DOMParser.(Unknown Source) > > >>> > > > at org.apache.xerces.jaxp.DocumentBuilderImpl.(Unknown > > >>> Source) > > >>> > > > at > > >>> > > > > > >>> > > > > > >>> > > > > >>> > > > >>> > > > > > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown > > >>> > > > Source) > > >>> > > > at > > >>> > > > > > >>> > > > > > >>> > > > > >>> > > > >>> > > > > > com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.(SAX2DOM.java:69) > > >>> > > > at > > >>> > > > > > >>> > > > > > >>> > > > > >>> > > > >>> > > > > > com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.getSerializationHandler(TransletOutputHandlerFactory.java:187) > > >>> > > > at > > >>> > > > > > >>> > > > > > >>> > > > > >>> > > > >>> > > > > > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler(TransformerImpl.java:392) > > >>> > > > at > > >>> > > > > > >>> > > > > > >>> > > > > >>> > > > >>> > > > > > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerHandlerImpl.setResult(TransformerHandlerImpl.java:137) > > >>> > > > at > > >>> > > > > > >>> > > > > >>> > > > >>> > > > com.opensymphony.xwork2.util.DomHelper$DOMBuilder.setup(DomHelper.java:205) > > >>> > > > at > > >>> > > > > > >>> > > > > > >>> > > > > >>> > > > >>> > > > > > com.opensymphony.xwork2.util.DomHelper$DOMBuilder.(DomHelper.java:190) > > >>> > > > at > > >>> > > > > > >>> > > > > > >>> > > > > >>> > > > >>> > > > > > com.opensymphony.xwork2.util.DomHelper$DOMBuilder.(DomHelper.java:181) > > >>> > > > at > > >>> > > > > > >>> > > > > > >>> > > > > >>> > > > >>> > > > > > com.opensymphony.xwork2.util.DomHelper$DOMBuilder.(DomHelper.java:167) > > >>> > > > at > > >>> com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:107) > > >>> > > > at > > >>> > > > > > >>> > > > > > >>> > > > > >>> > > > >>> > > > > > com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:893) > > >>> > > > ... 21 more > > >>> > > > > > >>> > > > -- > > >>> > > > Thanks and kind Regards, > > >>> > > > Abhishek jain > > >>> > > > > > >>> > > > > >>> > > > > >>> > > > > >>> > > -- > > >>> > > > > >>> > > > > >>> > > Cordialement > > >>> > > > > >>> > > Mohamed > > >>> > > > > >>> > > > >>> > i think my web.xml is fine, > > >>> > here i what i have in there > > >>> > > > >>> > > >>> > xmlns="http://java.sun.com/xml/ns/javaee"; > > >>> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > > >>> > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > > >>> > http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";> > > >>> > > > >>> > index.jsp > > >>> > > > >>> > > > >>> > struts2 > > >>> > > > >>> > > > >>> > > > org.apache.struts2.dispatcher.FilterDispatcher > > >>> > > > >>> > > > >>> > struts2 > > >>> > /* > > >>> > > > >>> > > > >>> > > > >>> > 30 > > >>> > > > >>> > > > >>> > > > >>> > -- > > >>> > abhi > > >>> > > > >>> > > >>> > > >>> > > >>> -- > > >>> > > >>> > > >>> Cordialement > > >>> > > >>> Mohamed > > >>> > > >> > > >> > > > -- Regards Kushan Jayathilake

Re: cannot run a simple struts application, server start error - myeclipse

2011-02-08 Thread Kushan Jayathilake
It seems there is another xml parser is conflicting. Check the lib folder of the tomcat, there should be another Xml parser there. Remove it, and replace the parser in your application. On 8 Feb 2011 17:38, "abhishek jain" wrote: > hi, > I noticed if i remove the xerces-2.6.2.jar file and restart

Re: WAR file seems not deployed..

2011-01-12 Thread Kushan Jayathilake
to DEBUG until resolved. "Not available" means isn't > trying to process the request (in general) and that something failed on > startup. > > Dave > > On Tue, Jan 11, 2011 at 6:33 AM, Kushan Jayathilake >wrote: > > > Yeah.. > > > > *pages/

Re: WAR file seems not deployed..

2011-01-11 Thread Kushan Jayathilake
Yeah.. *pages/ext/search *and *pages/ext/search.action *both same. On Tue, Jan 11, 2011 at 4:42 PM, Dave Newton wrote: > So... Is there a page called that? > > Dave > > On Tuesday, January 11, 2011, Kushan Jayathilake > wrote: > > Hi Guys, > > > > I

WAR file seems not deployed..

2011-01-11 Thread Kushan Jayathilake
Shutdown LogbackInit com.utc.pw.LogbackInit applicationName prdg logbackConfigFile prdg-config.xml 1 LogbackInit /LogbackInit -- Regards Kushan Jayathilake

Re: Struts 2 Radio Button for show and hide fields

2010-12-30 Thread Kushan Jayathilake
That's totally relates to java scripts, use on click event to call a java script function and apply "style = display: none;" & "style = display: block;" (retrieve the element before you apply this, hope you know how to do that) On 30 Dec 2010 20:48, wrote: > Hi, > I want to create two struts 2 rad

Re: web application response time is too large.

2010-12-21 Thread Kushan Jayathilake
browser received it's > response > > you can see how long it has taken to load the content, > > > > even It will show how long it has taken to load each images of your web > > application :) > > > > On Wed, Dec 22, 2010 at 10:32 AM, Kushan Jayathilak

Re: web application response time is too large.

2010-12-21 Thread Kushan Jayathilake
, even It will show how long it has taken to load each images of your web application :) On Wed, Dec 22, 2010 at 10:32 AM, Kushan Jayathilake wrote: > Hi, > > You can do something like this, take the queries that in pages takes longer > time to load, then write a simple java progra

Re: web application response time is too large.

2010-12-21 Thread Kushan Jayathilake
query is wrong. if its very low then the problem is at your JSP pages, it takes longer time to build up the pages. then you have to change the way you have constructed your JSP pages and should do it in efficient way. Hope this will help. :) -- Regards Kushan Jayathilake On Tue, Dec 21, 2010 at

Re: field value causing NumberFormatException and breaking Action

2010-10-18 Thread Kushan Jayathilake
o plan you expected you should return *"success" *so Struts framework will identify which JSP to load, (look at the struts.xml) which i have described above. Hope this will help :) -- Regards Kushan Jayathilake On Mon, Oct 18, 2010 at 3:24 PM, Nabeel Saad wrote: > Hello folks, >

Re: field value causing NumberFormatException and breaking Action

2010-10-15 Thread Kushan Jayathilake
operty and you can use getter to access the property value. Do the conversion in the action class.that's more easy. Regards Kushan Jayathilake On 15 Oct 2010 20:55, "Nabeel Saad" wrote: Hello folks, I'm working on a project to upgrade a JBoss Portal community platform t

Re: Accessing User input in execute ( ) method

2010-09-27 Thread Kushan Jayathilake
yeah lol... -- Regards Kushan Jayathilake On Mon, Sep 27, 2010 at 6:21 PM, Dave Newton wrote: > We're all making an assumption the OP is talking about Struts 2; I made an > assumption the opposite way. > > Let's just ask--Hareendra, what version of Struts are you

Re: Accessing User input in execute ( ) method

2010-09-27 Thread Kushan Jayathilake
Hi, There is a new interface called *ActionSupport *in struts 2 you can it from that, you just need to put ** in JSP. remember to map the action with the struts.xml. thats all you need ie: * /pages/ext/summary.jsp * -- Regards Kushan Jayathilake On Mon, Sep 27, 2010 at 4:54 PM, hareendra

Re: How to prevent direct access to JSP

2010-07-05 Thread Kushan Jayathilake
Denied But still couldnt find a way to stop users accessing other inside pages, like if you want to go to the *summary.action* file then you must go the * search.action* first, then follow a link there. -- Regards Kushan Jayathilake On Tue, Jul 6, 2010 at 10:33 AM, Miguel

Re: How to prevent direct access to JSP

2010-07-05 Thread Kushan Jayathilake
Sorry just remove *summary* there. thats all :) On Tue, Jul 6, 2010 at 11:02 AM, Kushan Jayathilake wrote: > Hi Miguel , > > I have found out the way to restrict accesses to JSP files, with this you > can have your JSP files anywhere, just add following fragment to >

How to prevent direct access to JSP

2010-07-05 Thread Kushan Jayathilake
to do this? -- Regards Kushan Jayathilake

Re: Page refresh after AJAX Call

2010-07-01 Thread Kushan Jayathilake
grid JSP, whether you include it in the main > page or through AJAX, it will give the same effect. > On Thu, Jul 1, 2010 at 1:27 PM, Kushan Jayathilake >wrote: > > > Thanks for replying Jyothi, > > > > I have some questions, > > > > if we call that separat

Re: Page refresh after AJAX Call

2010-07-01 Thread Kushan Jayathilake
In the AJAX callback function, the above JSP will give the HTML to be > rendered. > 4) Use javascript innerHTML function to set the resulting HTML in a parent > div in the callback AJAX function. > > Thanks and Regards, > Jyothi > On Thu, Jul 1, 2010 at 9:58 AM, Kushan Jay

Page refresh after AJAX Call

2010-06-30 Thread Kushan Jayathilake
will show the sorted data in the grid. Anyone suggest me how i can do this, -- Regards Kushan Jayathilake

How to call to another action from the action class

2010-06-23 Thread Kushan Jayathilake
mentioned action mapping... is there anyway to do this.? -- Regards Kushan Jayathilake

Re: Get a list stored in the session to the struts tag

2010-06-23 Thread Kushan Jayathilake
Yeah that seems working too :) Thanks mate -- Regards Kushan Jayathilake On Wed, Jun 23, 2010 at 4:29 PM, James Cook wrote: > Ah ok cool, > > Just checked my book and it says > > > > > > > Are also valid. > > (Bonus points to any

Re: Get a list stored in the session to the struts tag

2010-06-23 Thread Kushan Jayathilake
Hi James, Thank you very much for your quick reply, i have found the way, no need of that # sign there. Thanks again, you helped me to solve this :) -- Regards Kushan Jayathilake On Wed, Jun 23, 2010 at 4:20 PM, James Cook wrote: > Try %{#session.test} > > James > >

Get a list stored in the session to the struts tag

2010-06-23 Thread Kushan Jayathilake
Hi Guys, I want to get a list stored in the session and feed that value in to the iterator... i have done like as shown below, but its not working Can anyone suggest me how to do this..? -- Regards Kushan Jayathilake

Re: How to set a variable in session in the JSP

2010-06-22 Thread Kushan Jayathilake
Hi Mano, Thanks for your reply, i got it sort out :) -- Regards Kushan Jayathilake On Sun, Jun 20, 2010 at 11:58 AM, Mano Dasanayaka wrote: > Hi Kushan, > > You can access the session object using a jsp scriplet and set your > required > variables there. > <%

Struts 2 creates a DIV tag

2010-06-21 Thread Kushan Jayathilake
Hi Guys, i have noticed that button creates a DIV tag, i have disabled it creating a by specifying "struts.ui.theme=css_xhtml " in struts.properties file, but still i couldnt find a way to stop creating the DIV tag, can anyone help me on this...? -- Regards Kushan Jayathilake

Re: How to set a variable in session in the JSP

2010-06-17 Thread Kushan Jayathilake
Hi, Yeah Wes, you are correct, i was so stuck with this and couldnt see that i can straightly put that to the session from the Action class... Thank you so much for reminding me this -- Regards Kushan Jayathilake On Fri, Jun 18, 2010 at 11:03 AM, Wes Wannemacher wrote: > What you w

Re: How to set a variable in session in the JSP

2010-06-17 Thread Kushan Jayathilake
get that list to the JSP and assign its value to the session, but it gives "equal symbol expected" error... Can you please suggest me a way to do this..? -- Regards Kushan Jayathilake On Fri, Jun 18, 2010 at 10:41 AM, Wes Wannemacher wrote: > http://struts.apache.org/2.x/docs/se

How to set a variable in session in the JSP

2010-06-17 Thread Kushan Jayathilake
Hi Guys, Can anyone suggest me a way to set a variable in the session in the JSP and access that variable in the action class.. (variable must be set from the JSP file to the session) iam using struts 2.. is there anyway to do this..? -- Regards Kushan Jayathilake