splay list of values which are
starting with these values but it is sending request to action but not
displaying list of values in dropdown. I checked this request with logger
statement.
The same code is working fine in Firefox browser(displaying list of values
starting with ala).
I'm using struts2-core-2.0.11.jar and added jsonplugin-0[1].30.jar file.
In struts package level added json-default.
Can anyone please let me know why this is not working in IE and how to fix
this problem. I'm not even getting any javascript errors.
Thanks in advance.
Regards,
Sharath Karnati.
Dear All,
I'm having following requirement and can you please let me know how to do
this using struts2.
Say EmployeeAction having EmpBean (getter & setter)
EmpBean:
private long emp_id;
private String first_name;
private String last_name;
private String class_name;
Hi All,
I'm currently using Struts2 + Spring(DAO).
Say I have 2 web application, these two application are using file upload
functionality. Currently, we are placing same functionality in different
projects(coping .jsp, .action and spring dao classes).
I'd like to know similar to w
Hi All,
Migrating application developed in 2.0.11 to 2.1.8.1 struts2 version, I did
following changes
web.xml file
changed below line FROM
org.apache.struts2.dispatcher.FilterDispatcher
TO
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
Removed s
iling List"
Date: Tuesday, April 13, 2010, 11:32 AM
2010/4/13 sharath karnati :
> />
>
> When I press this button it should call 'checkLogin' method in LoginAction
> but it is not calling this method, it is just calling execute() method. I
>
Hi All,
I'm having following Action
- Action(Begin) -
public class AutocompleteField extends ActionSupport {
private String city;
private Map json;
public String execute() throws Exception() {
return SUCCESS;
}
public String
Can anyone please let me know, how to use json??
Thanks,
Sharath.
--- On Wed, 4/14/10, sharath karnati wrote:
From: sharath karnati
Subject: Using json in Struts 2.1.8.1
To: user@struts.apache.org
Cc: karna...@yahoo.com
Date: Wednesday, April 14, 2010, 1:22 PM
Hi All,
I'm h
Hi sameer,
In struts 2.1.8.1 having 'struts2-dojo-plugin-2.1.8.1.jar' file so we don't
need to use 'jsonplugin-0.34.jar' for using json. This is my understanding :)
If we are not including 'jsonplugin-0.34.jar' then we cannot use
"com.googlecode.jsonplugin.JSONResult"
With new S
Hi Dale,
Can you please send me sample example using AJAX in struts 2.1.8, where
action method returns json list to a page.
Thanks in advance.
Regards,
Sharath.
--- On Fri, 4/16/10, Dale Newfield wrote:
From: Dale Newfield
Subject: Re: Using json in Struts 2.1.8.1
To: "Struts Users
Hi All,
Added below lines in struts.xml file
json
Added following lines .jsp file
Search JSON:
even included <%@ taglib prefix="sx" uri="/struts-dojo-tags"%> and
When it builds the page it is showing below lines
djConfig.searchIds.push(
--- On Tue, 4/20/10, Dale Newfield wrote:
From: Dale Newfield
Subject: Re: Using json in Struts 2.1.8.1
To: "Struts Users Mailing List"
Date: Tuesday, April 20, 2010, 12:28 PM
On 4/20/10 11:34 AM, sharath karnati wrote:
>
>
>
>
json-default extends struts-d
Hi All,
I'm trying to use Jquery autocomplete with struts2. The example for using
Jquery autocomplete is given below(link)
http://makhaer.blogspot.com/2008/12/jquery-autocomplete.html
In this example, author is returning data with .php similarly I'd like to
return data from str
d of calling the .php file
you call your action.
As for the action itself, you would make it like any other action and just
store what you want to show the user into a variable with the proper
getter/setter function so in the jsp you can go:
<%@ taglib prefix="s" uri="/struts-
Please find below example
http://makhaer.blogspot.com/2008/12/jquery-autocomplete.html
in this example, he is just using jquery with textfield for doing autocomplete
with PHP. I'd like to do samething with struts2 action.
Can anyone please let me know, how to send data from action to .jsp to
Hi All,
Say I have java "arraylist" in action and how to set this in resonse object
ServletActionContext.setResponse()
How to do this in struts2??
Thanks,
Sharath.
--- On Thu, 4/22/10, sharath karnati wrote:
From: sharath karnati
Subject: Re: Jquery autocomplete with s
ubject: Re: Jquery autocomplete with struts2.
To: "Struts Users Mailing List" , "sharath karnati"
Date: Friday, April 23, 2010, 1:15 AM
I hate to be the one to say it, but I don¹t think the issue here is jQuery
but your understanding of Struts2.
I think you first need to get your
mma thing in
s:textfield..
Thanks in advance.
Regards,
Sharath.
--- On Fri, 4/23/10, sharath karnati wrote:
From: sharath karnati
Subject: Re: Jquery autocomplete with struts2.
To: zo...@sparecreative.com
Cc: "Struts Users Mailing List"
Date: Friday, April 23, 2010, 9:45 AM
Hi Zoran,
Hi All,
Say I have ajax method, in this method first I'm checking whether user
session is valid. If this user session is expired then returning "login", as
per below lines it should display login.jsp page.
/pages/login.jsp
but it is returning login.jsp contents in ajax result NOT
n
Subject: Re: Jquery autocomplete with struts2.
To: "Struts Users Mailing List"
Date: Friday, April 23, 2010, 11:30 AM
suggest you post this to jquery forums.
From:
sharath karnati
To:
Struts Users Mailing List
Date:
23-04-2010 19:56
Subject:
Re: Jquery autocomplete with strut
truts2.
To: "Struts Users Mailing List"
Date: Friday, April 23, 2010, 11:30 AM
suggest you post this to jquery forums.
From:
sharath karnati
To:
Struts Users Mailing List
Date:
23-04-2010 19:56
Subject:
Re: Jquery autocomplete with struts2.
Hi All,
In firebug console i
Hi All,
Say I'm declaring in
Select Division:
Select User:
in action class "selected_rows" is selected as String[]
When user selects
Hi All,
Say I have an "String[] colors" which is populated with thse
values{"red","blue","green","yellow","white","black"}, the colors are declared
in action class.
I have an colorList(java.util.List) which is having all colors. In
UI when I use for looping colorList, when color value
12:07 PM
Look at the instead, it automatically handles maintaining
state.
(*Chris*)
On Tue, Jul 13, 2010 at 9:04 AM, sharath karnati wrote:
> Hi All,
>
>
Hi All,
Planning to create a dynamic form using struts2(similar to
http://www.phpform.org/formbuilder/index.php).
Say I have following headings
Create a Label (heading 1)
It will display text field to enter label text and 'Add Label'
button
Create a
Hi Dave,
Can you please send me links/details for doing this(Serialize the DOM)?
Thanks,
Sharath.
--- On Mon, 3/21/11, Dave Newton wrote:
From: Dave Newton
Subject: Re: Need your inputs.
To: "Struts Users Mailing List"
Cc: "sharath karnati"
Date: Monday, Mar
Hi Dave,
We are using JQuery + Struts2 + Spring framework(DAO)
Do you have any examples how to process 'Serialize the DOM'
Thanks,
Sharath.
--- On Mon, 3/21/11, Dave Newton wrote:
From: Dave Newton
Subject: [OT] Re: Need your inputs.
To: "sharath karnati"
Hi All,
Using Struts2 and need to know how to upload multiple files using single
tag. I need a file upload functionality similar to gmail(Google Email).
Please advice how to do this even using other frameworks along with Struts2.
Thanks in advance.
Regards,
Sharath.
It is using multiple tags. I need a single and need to upload
multiple files.
--- On Fri, 4/6/12, Muneer Malik wrote:
From: Muneer Malik
Subject: Re: Uploading multiple files using single tag.
To: "Struts Users Mailing List"
Cc: "sharath karnati" , karna...@yahoo.com
D
ject: Re: Uploading multiple files using single tag.
To: "Struts Users Mailing List"
Date: Friday, April 6, 2012, 3:05 PM
Sharath,
You need to use tools like Uploadify for this to work. I am using Uploadify
with struts2 it works perfectly fine to me.
Thanks
Jay
On Fri, Apr 6, 2012 at 11:
parameter value it is showing null. I never
heard is there any parameter timeout?? why we are getting value null for these
parameters??
As far as this page concern there is NO problems, without any idle time it is
working perfectly.
Thanks in advance.
Regards,
Sharath Karnati.
discarded when the browser is exited. If that's the behavior you are
looking for, you should look into a persistent session scheme, or an
auto-relogin capability.
(*Chris*)
On Fri, Apr 27, 2012 at 9:11 AM, sharath karnati wrote:
Hi All,
We are having session-timeout set to 8 hours.
oint the issue.
> -Original Message-
> From: sharath karnati [mailto:karna...@yahoo.com]
> Sent: Friday, April 27, 2012 1:34 PM
> To: Struts Users Mailing List; Chris Pratt
> Subject: Re: Parameter value set to null when page submitted after 30
> minutes.
>
> No, They di
Newton wrote:
From: Dave Newton
Subject: Re: Parameter value set to null when page submitted after 30 minutes.
To: "Struts Users Mailing List"
Cc: karna...@yahoo.com
Date: Friday, April 27, 2012, 3:43 PM
On Fri, Apr 27, 2012 at 12:11 PM, sharath karnati wrote:
> In Action when we a
Hi All,
Say I'm having following code in my struts.xml file
/pages/intapp/login.jsp
/pages/intapp/login_create.jsp
/intapp/contact_service.action
/pages/intapp/login.jsp
/pages/extapp/login.jsp
/pages/extapp/login_create.js
Hi All,
I'm having 'EmployeeBean' which is having below properties
empNo
empName
empDOJ
empDept
In database we are having 'EMPLOYEE' table which is having employee records.
In struts2, we are having 'EmployeeAction' where
Hi All,
I'm having 'EmployeeBean' which is having below properties
empNo
empName
empDOJ
empDept
In database we are having 'EMPLOYEE' table which is having employee records.
In struts2, we are having 'EmployeeAction' where
Hi All,
I'm having 'EmployeeBean' which is having below properties
empNo
empName
empDOJ
empDept
In database we are having 'EMPLOYEE' table which is having employee records.
In struts2, we are having 'EmployeeAction' where
Hi All,
I'm having 'EmployeeBean' which is having below properties
empNo
empName
empDOJ
empDept
In database we are having 'EMPLOYEE' table which is having employee records.
In struts2, we are having 'EmployeeAction' where
Dear All,
I'm looking for chimerical framework which is built on top of struts2, with
having AJAX support tags. I know struts2 comes with DOJO but we need to write
lot of coding which we'd like to avoid and we are planning to purchase
chimerical product with support.
Similar to Iceface
tags
Thanks,
Sharath.
--- On Tue, 7/7/09, Bhaarat Sharma wrote:
From: Bhaarat Sharma
Subject: Re: Commercial framework based on struts2.
To: "Struts Users Mailing List"
Date: Tuesday, July 7, 2009, 12:24 PM
Struts 2 IS a framework
On Tue, Jul 7, 2009 at 12:20 PM, sharath
Dear All,
In strust2, we'll use struts.xml file for configuration.
As per my knowledge, when server is started it will load struts.xml file
into memory and it will parse this .xml file. Depending upon URL it will
navigates to required class and .jsp file accordingly.
I have simila
Hi All,
Say I have COMPLAINT table as below
Complaint ID
Complaint ID
Consumer Name
Consumer Name
Submission Date
Submission Date
Hi All,
Implemented AJAX request with below lines
Complaint ID
When I select Complaint ID it is displaying 'Loading...' message and it is
working fine. I'd like to add some loader image other than showing plain
'Loading...' message(just like using ind
Hi All,
Anyone implemented struts2 file upload with Ajax? file upload will display
progress bar for showing file upload status.
I tried below one but it is not working
http://www.struts2.org/ajax-file-upload-in-struts2-using-ajax-file-upload-plugin/
Please send me links/docum
Hi All,
Anyone implemented struts2 file upload with Ajax? file upload will display
progress bar for showing file upload status.
I tried below one but it is not working
http://www.struts2.org/ajax-file-upload-in-struts2-using-ajax-file-upload-plugin/
Please send me links/docum
Hi All,
Say I'm having below submit.jsp file.
First Name:
Last Name:
on submit this form it will invoke InquiryAction
public class InquiryAction extends ActionSupport implements ParameterAware
{
private String first_name;
private String last_name;
Hi All,
In weblogic server log, I found these error multiple times. Is anyone come
accross this kind of problem?
2008-09-11 07:12:47,415 ERROR [org.apache.struts2.components.UIBean] - error
when rendering
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0
Hi All,
Can anyone suggest me where can I find dojo plug-in for eclipse and how to
install this?
Thanks in advance.
Thanks,
Sharath.
Hi All,
I'm using dojo widgets for displaying UI, I'm having below code for
accepting first name
After entering text in first name, I'm
submitting form(dojoType="dijit.form.Form") and action class is able to read
the value which is given in this text field.
Now what I want is, I
Hi All,
Please find 'test4Dialog.jsp' in attachment. This .jsp file is placed
inside /WEB-INF/pages directory.
When I'm accessing this .jsp with
(http://localhost:7001/hibernate/pages/test4Dialog.jsp), it is displaying
'dijit.TooltipDialog' correctly.
The same page I c
Hi All,
I'm getting below error message for this
acrion(http://localhost:7001/hibernate/events/Dojo.action).
dojo is not defined
dojo.require("dijit.form.Button");
Please find my progrm:
TooltipDialog demo
// Dojo configuration
djConfig = {
Hi All,
I'm having following tabbedpanel,whenever I select a tabbed pane I'd like
to call a javascript method. I tried onselect/onclick but these are not working.
This is Panel1
This is Panel2
Thanks for your help in advance.
Regards,
Hi All,
I tried Ajax fileupload program from below link,
http://www.struts2.org/ajax-file-upload-in-struts2-using-ajax-file-upload-plugin/#comment-100
When I tried to access, I'm getting below error message
FreeMarker template error!
Error on line 27, column 20 in te
Hi Akash,
Put 'theme=simple' this will solve your problem.
--Sharath.
akash agrawal <[EMAIL PROTECTED]> wrote:
Hi,
s:submit creates a row for a button. I have two buttons and two submit appears
on two different row. How do I put them on the same row? Can anyone give an
example?
Hi All,
For ajax file upload in struts2, I used below plugins(including
apache common fileupload)
AjaxFileUpload-0.03.jar
json-lib-2.0-jdk15.jar
After adding these .jar files into my project, when I try to access
one of my page which is having tabbedpane with theme=
Title
Date Date (e.g. 24.12.2009)
When it is calling action setDate(Date date) method it is throwing below error
10:34:06,841 ERROR ParametersInterceptor:204 - ParametersInterceptor - [setParam
eters]: Unexpected Exception caught setting 'date' on 'class events.EventManager
: Error settin
Hi All,
In .jsp file, I'm having following tag
Hi All,
In .jsp file, I'm having following code which is using tag.
The tag is showing properties values(projectNm,
subject,comments)correctly. 'deploymentVersion' property is not
sers Mailing List" , [EMAIL PROTECTED]
Date: Wednesday, June 25, 2008, 5:38 PM
Hi Sarath,
where from this deploymentVersion is from (action, session)?
Such construction works for me in many places, so i would like to
replicate this problem.
Best greetings,
Paweł Wielgus.
2008/6/25 sharath karna
I'm able to fix this problem using 'top'
Thanks,
Sharath.
--- On Wed, 6/25/08, sharath karnati <[EMAIL PROTECTED]> wrote:
From: sharath karnati <[EMAIL PROTECTED]>
Subject: Re: weird problem tag.
To: "Paweł Wielgus" <[EMAIL PROTECTED]>, user@struts.a
So if i properly understod Your problem i have no such one.
Any thoughts?
My environement: S2 2.0.11.1
Best greetings,
Paweł Wielgus.
On 26/06/2008, sharath karnati <[EMAIL PROTECTED]> wrote:
> The deploymentVersion is from 'action'. I even tried with
and it is also
Hi All,
I have 2 tags.
Example:
When I select 'class' it should populate teachers depending upon that class
selection, right now 'onchange' I'm submitting action and it is working fine
but it is refreshing entire page. I'd like to know how to use 'dojo' without
refresh this pa
Hi All,
I need to populate static list of values in tag in struts2.
How to add single quote in (Don't have caller ID) value in static list.
Thanks,
Sharath.
Hi All,
Struts2 included with Dojo. Can you please provide me how to use Ajax using
dojo in struts2. If possible can you please send some links for this
implementation.
Thanks,
Sharath.
Hi All,
Using JSON, I'm getting below response from action
{"list":{"com.beans.ComplaintDO":{"user__complaint__number":"08-C0153","user__complaint__key":"08-C0153-1","form__type":"2000B","first__name":"Sharath","last__name":"Karnati"}}}
In this response, 'com.beans.Complai
sponseText +")" );
How to read 'first__name' value from jsonObject?
Thanks,
Sharath.
--- On Mon, 8/4/08, sharath karnati <[EMAIL PROTECTED]> wrote:
From: sharath karnati <[EMAIL PROTECTED]>
Subject: Struts2 with JSON.
To: user@struts.apache.org
Date:
66 matches
Mail list logo