Thanks for your help! I found a struts jar in my tomcat\lib folder
Dave Newton gmail.com> writes:
>
> The error message says it all, you need to remove the struts/etc. libs you
> put in the tomcat lib directory and deploy only the application's copies.
>
> Dave
Here is log with the error
jars I am using
commons-fileupload-1.2.2.jar
commons-io-2.0.1.jar
commons-lang-2.5.jar
commons-logging-1.1.1.jar
commons-logging-api-1.1.jar
freemarker-2.3.18.jar
javassist-3.11.0.GA.jar
ognl-3.0.4.jar
struts2-core-2.3.1.2.jar
xwork-core-2.3.1.2.jar
log4j-1.2.14.jar
I downloaded from google code Basic_Struts2_Ant
and modified web.xml, added
struts.xml and index.jsp along with log4j
stuff according to instructions on
struts website for this example.
The app does not work on tomcat 7.0
I built with ant and deployed on tomcat
jars I am using
commons-fileu
I have created simple struts 2 app with latest struts2 jar files.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
I've upgraded to 2.1.6. I'm using the new StrutsPrepareFilter and
StrutsExecuteFilter, instead of the ActionContextCleanUp and FilterDispatcher.
I was using the built-in Dojo module. So, I've gone about using the dojo
plugin, and importing the taglibs as described
here - http://struts.apache.o
")? If the main struts.xml extend
this, will the included files have this stack as default?
Question2:
Can i have a global "login" result so it can be referred from all packages.
As i understand, a result is global only inside the package in which its
defined.
Thanks a lot
Jay
--
View
I'm using Struts-2.0.11.1 in Dev-Mode. The Dojo Head is also in Debug Mode.
I have a tabbedPanel with one dynamic tab (for the purposes of this question).
In
FireFox-2.0.X, the tab loads properly. In Internet Explorer-7.0, the tab does
not load
properly. I've included the Dojo Debug statements f
Vaani, try the Stream result type -
http://struts.apache.org/2.x/docs/stream-result.html
--- Vaani <[EMAIL PROTECTED]> wrote:
>
> Hi i am new to struts...
>
> how to display the created image from database.i got the image in byte
> array format. can any one tell me
> how to convert the byte
OK User error: I had the struts.serve.static property set to false, and did not
actually
have all the required files copied over.
All, thanks for your quick responses.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
I do have debug on. No errors or config warnings are coming up.
--- Dave Newton <[EMAIL PROTECTED]> wrote:
> Do you have Dojo debugging turned on in your tag?
>
> Do you have an tag, I guess? I don't recall having had
> any major issues with it, but it was awhile ago I used it.
>
> Dave
I saw this page, but no real help -
http://struts.apache.org/2.0.11/docs/ajax-tags.html#AjaxTags-tabbedPanelTag
Any help would be greatly appreciated.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
No, not at all. I get Dojo-ififed tags, but they have no label or anything
else, for that
matter. They are just divs with the content of the tab, but no label. I will
list the JSP
content I'm using, and the resulting output.
The JSP code
==
<%@
I was using tabbedPanel, with the Ajax theme in WebWork-2; no problem.
After my upgrade to Struts-2.0.11, I no longer get decorated tabs. The ajax
recipes were
not as helpful as I would have liked
(http://struts.apache.org/2.x/docs/ajax-and-javascript-recipes.html#AjaxandJavaScriptRecipes-TabbedP
While I used WebWork-2, and the XWork associated with it, I was able to
programmatically
retrieve action validation using the ActionValidatorManagerFactory.
Now, it seems this class was removed.
Any suggestions on how to programmatically get a ValidatorFactory instance?
If you want the Action to return immediately, and have the emails sent
asynchronously,
then JMS is a definite option.
Another option is the JDK's Timer functionality
(http://java.sun.com/j2se/1.5.0/docs/api/java/util/TimerTask.html).
--- jwynacht <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I ha
While I used WebWork-2, and the XWork associated with it, I was able to
programmatically
retrieve action validation using the ActionValidatorManagerFactory.
Now, it seems this class was removed.
Any suggestions on how to programmatically get a ValidatorFactory instance?
Hi,
I hope every one is fine. Iam forwarding a 'login.do' to another path
like this
PROBLEM: when i see the jsp file the url in address bar contain login.do
at the end, but i want defaultPage.do instead of login.do... The lesson i
get from this is that struts does not consider
Thanks alot, it solved my problem
Jay
Puneet Lakhina wrote:
>
> On 10/6/06, Jay <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi, iam using struts with tmocat 5. my struts-cofig.xml is like this one
>>
>> > path="/user"
>> type="
Hi, iam using struts with tmocat 5. my struts-cofig.xml is like this one
and form bean tag is
Action class is as following:
CreateFolderForm folders = (CreateFolderForm) form;
File dir = new File("../users");
ArrayList dirList=new java.util.ArrayList();
String[] subdir = dir.list();
if (su
Hi all,
I want to store the value of value in a string. Or in other words, i have a
variable of string data type. i want to set its value equal to value of
String variable = ;
any idea to do this
thanks
--
View this message in context:
http://www.nabble.com/%3Cbean%3Awrite%3E-in-a-str
+1
Jay
| Jay Burgess [Vertical Technology Group]
| http://www.vtgroup.com/
-Original Message-
From: Asad Habib [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 1:28 PM
To: Struts Users Mailing List
Subject: Re: has struts reached the saturation
Hello everyone. This thread has
In:
<%=ind%> is not getting replaced with its value when I see the html source in
the browser. How to make the <%=ind%> interpreted by the jsp engine?
Thank you and have a great day...
--Jay Jakilinki
Verizon Wireless
IT PFS System
908-306-7721
[EMAIL PROTECTED]
The informati
Hi
I am trying to put dynamic javascript in html:text tag. I have a checkbox next
to a name (names are backed up by a list) and whenever the user changes the
name the checkbox next to the name is automatically checked.
javascript: document.someform.chkbox[<%=indexId property in nested:iterate
HttpServletResponse.sendError(SC_SERVICE_UNAVAILABLE) in the code?
Thanks.
Jay
| Jay Burgess [Vertical Technology Group]
| http://www.vtgroup.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all, I have an application (Sun ONE 6.1 sp2, Struts 1.02 (I guess)) that
uses Cookies for session handling and has been so for around 3/4 years. I have
a requirement where I want to force URL Rewriting even if the browser supports
cookies. Please help! Jay
Broadband interface (RIA) + mail
Is there a way in VALIDATION.XML to conditionally include/exclude the Javascript
validations, so they don't fire if the field isn't present? (They're currently
firing and failing, stopping the other client-side validations as well.)
Thanks.
Jay
| Vertical Technology Group
This isn't really an answer to your question, but if I'm looking at the correct
line of source (see below), it may be that "servlet" is null, hence the NPE:
protected ServletContext getServletContext() {
return (servlet.getServletContext());
}
Jay
| J
Thanks a lot. I had to add the source to the path.
Regards,
Jay
On 8/28/05, zheng chengbao <[EMAIL PROTECTED]> wrote:
>
> i'am using myeclipse,it is very easy to debug
>
> 2005/8/27, Jay Sheth <[EMAIL PROTECTED]>:
> >
> > HI,
> >
> > It
are copying the jar file to the
tomcat lib folder and then running the tomcat app.
Any help / pointers would be useful.
Thanks,
Jay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks a lot. Got it. As you said, the naming conventions were
followed, but I made a typo in the property attribute.
Sorry for the trouble.
Jay
On 8/16/05, Dave Newton <[EMAIL PROTECTED]> wrote:
> Jay Sheth wrote:
>
> >HI,
> >When i do :
> >
> >
sic in logic:iterate.
Thanks,
Jay
On 8/16/05, Stéphane Zuckerman <[EMAIL PROTECTED]> wrote:
> Hi Jay,
> > session.setAttribute("recurringTaskSummary",v_recurringTaskSummary),
>
> > SpRecurringTaskSummary [...] has certain variables such as
> > EmployeeName,
as follows:
The output is name of objects. However I want to somehow access the
variables employeename, employeeref etc. How do I do that ?
Thanks,
Jay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
well,
I have given up on calling the validate(), I have checked method sign etc...
now i am renaming the validate to another method name e.g.
validate_fields. I am calling the validate_fields from action. and
using addErrors in action to add messages to jsp.
Thanks,
Jay
On 8/10/05, [EMAIL
Hi,
Thanks for all the help. Any1 wont believe what a silly mistake. I
forgot to add the tag in the jsp page.
I found out by when reading doc for the addErrors().
Thanks once again.
Jay
On 8/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Gareth Evans <[EMAIL PROTECTED]>
basically the action class can get the errors, but how should i
display that errors on jsp (This is all because validate() not being
called).
Jay
On 8/9/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> oh ok I see where you are coming from.. I didn't know about this remote
&
HI,
I have a problem here too. I dont understand how to configure this for
tomcat5.5.9 which uses the UI for running it. The link which you
mentioned has remedy for older tomcat, which uses files for
configuration.
Any help would be great.
Jay
On 8/8/05, Ed Griebel <[EMAIL PROTECTED]>
I cannot do that, since the 2 forms are having different fields.
Somehow the tomcat 5.5.9 doesnt work with eclipse for my project. I am
using ui to start tomcat.
thanks anyways.
Jay
On 8/8/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Do you use an IDE for development? Like e
fieldValue[0]
2
I had also mapped for the maintain...but removed it...it doesnt work
even with it...
for maintain it was similar with one more field..
Jay
On 8/8/05, Dave Newton <[EM
think there is some other mistake...but hard to find...any other
hints would help.
Jay
On 8/8/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi Jay:
>
> So the form beans you are using in both cases are different. So are you
> sure these two form bean names
I use
input="/jsp/tasks/MaintainOverridePage.jsp"> it does not help.
Basically some silly mistake which i dont understand.
Jay
On 8/8/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi Jay,
>
> So how do you know that validate() isn't being called? Have you placed a
> break
etc...so i
dont get to know why it is not being called.
Any hints on how to debug as to why it is not called ?
The snippet struts-config.xml is :
Thanks,
Jay
-
To unsubscribe, e-mail: [EMAIL
thnks a lot. it worked !!!
Jay
On 8/8/05, Gareth Evans <[EMAIL PROTECTED]> wrote:
> From an Action class you can use:
> String dateFormat = getResources( request ).getMessage( "global.format.date"
> );
>
> Or from anywhere else:
> String dateFormat = Me
Hi,
I need to read a property global.format.date = dd/mm/ in a form
class (eg logonform.java) from application.properties file.
How do i do tht ?
thanks,
Jay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi,
I need to read a property global.format.date = dd/mm/ in a form
class (eg logonform.java) from application.properties file.
How do i do tht ?
thanks,
Jay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Yes. It's because the leading zero is saying the numbers are "octal", so 01-07
are valid octals, 08-09 are invalid octals, and 10-12 are valid octals.
Jat
| Jay Burgess [Vertical Technology Group]
| "Essential Technology Links via RSS"
| http://www.vtgroup.com/
Damn browser cache... :) Thanks to whoever made the change.
Jay
| Jay Burgess [Vertical Technology Group]
| "Essential Technology Links via RSS"
| http://www.vtgroup.com/
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 26, 2005 11:10 AM
27;ve got to hunt to find the mailing
list info. And I did try searching for the post Dakota Jack referenced
explaining why it was this way, but I never did find it.
Jay
| Jay Burgess [Vertical Technology Group]
| "Essential Technology Links via RSS"
| http://www.vtgroup.com/
-Or
I actually use that one too. But for the first-time Struts user, we seem to be
making it overly difficult to find, subscribe, and search the mailing lists. If
Mr. Jack's assertion is correct, then I guess I need to go back to the previous
discussion he's refering to and find out w
; link is broken, so it's doubly annoying to someone
coming in for the first time.
Jay
| Jay Burgess [Vertical Technology Group]
| "Essential Technology Links via RSS"
| http://www.vtgroup.com/
-Original Message-
From: Durham David R Jr Ctr 805 CSPTS/SCE [mailto:[EMAIL PROTEC
Check the manifest.mf in meta-inf
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.1
Created-By: 1.4.2_04-b05 (Sun Microsystems Inc.)
Extension-Name: Struts Framework
Specification-Title: Struts Framework
Specification-Vendor: The Apache Software Foundation
Specification-Version: 1.2.4
Implementa
Check the manifest.mf in meta-inf
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.1
Created-By: 1.4.2_04-b05 (Sun Microsystems Inc.)
Extension-Name: Struts Framework
Specification-Title: Struts Framework
Specification-Vendor: The Apache Software Foundation
Specification-Version: 1.2.4
Implementa
I think this write-up from Ted Husted explains it nicely:
http://husted.com/struts/tips/016.html
Jay
| Jay Burgess [Vertical Technology Group]
| "Essential Technology Links via RSS"
| http://www.vtgroup.com/
-Original Message-
From: Neil Meyer [mailto:[EMAIL PROTEC
We too use a PlugIn, and I'm now wondering based on Craig's explanation whether
there are any advantages/disadvantages of one technique over the other?
Jay
Vertical Technology Group
http://www.vtgroup.com/
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Se
Hi,
Is it possible to connect to two databases from a struts application.
ie basically is it possible two add two database connectivity in
struts-config.xml?
Regards,
Jay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi all,
How can i read XML files using struts? is this possible? Can any one provide
a link or give an example for reading XML files using struts?
:-)
Jay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi all,
How can we read XML files using struts? is this possible. Can any one povide
a link or give an example for reading XML files using struts?
:-)
Jay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
Hi,
i am downloading JBOSS from the below link as per ur instructions.
http://ovh.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.1RC1.zip
is this ok for me .
or should i download some other links. I can see lots of links for
downloading JBOSS.
jay
- Original Message -
From
Thanks :-)
Jay
- Original Message -
From: "Slattery, Tim - BLS" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'"
Sent: Thursday, January 13, 2005 9:21 PM
Subject: RE: Regarding JBOSS
> > I need to download JBOSS 4.0.1 for windows.
Hi all,
I need to download JBOSS 4.0.1 for windows. Where can i get this ? What
should i download? I can see lots of downloads for jboss. ie jboss4.0.1
RC1.zip, jboss4.0.1 RC2.zip.. etc.
Which one should i download??
:-)
Jay
Hi,
What is ur systems configuration ? Does it have enough free space ? What
about swap space ? How much swap have you allocated at the
time of installing OS ? Do delete the files in temporary directory and also
clean up the log files.
This may help.
Regards,
jAY.
- Original Message
if the problem is after executing the sql statement then u might not closed
the connection properly. its always good to close the resultset, statement
and connection. If ur action file does not close the sql connection the
system hangs.
- Original Message -
From: "Nadia Kunkov" <[EMAIL PR
Thanks Ram and jack .. :-)
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 22, 2004 3:13 PM
Subject: RE: Displaying applets
Hi Jay,
You can have an applet client, which talks to struts on the server side
and displays the val
Is it possible to display the output as an applet in struts? if so how is it
possible ?
Thanks ,
Jay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks Eddie
I will do that. Have u tried implementing the same? :)
Jay Chandran.
- Original Message -
From: "Eddie Bush" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Jay Chandran"
<[EMAIL PROTECTED]>
Sent: W
al Message -
From: "uma.k" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>; "'Jay Chandran'"
<[EMAIL PROTECTED]>
Sent: Sunday, December 19, 2004 12:32 PM
Subject: RE: file upload problem
> Hi Jay,
>
change the below line of ur action file
String fileName2 = filePath+"/"+fileName;
to
String fileName2 = filePath+fileName;
- Original Message -
From: "uma.k" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTE
1. From the jsp page select the image (image path) for uploading. Let the
preview button be a submit button .
function setHidValue()
{
document.frm.paramPassed.value="preview";
}
ie when u click the preview button a java script function is called, in
which we assign a value t
include the below and check
- Original Message -
From: "uma.k" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Saturday, December 18, 2004 3:10 PM
Subject: file upload problem
> Hi,
> I am modifying the upload files given by struts and trying to uploa
uma ,
Good Work..
its always better to take a backup of the working directory . hope u know it
well . still reminding ..
- Original Message -
From: "uma.k" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, December 17, 2004 11:52 AM
Subject: [
i am not a fundu in struts but still ..:)
please go through the below link and check whether it make sense. Null
pointer exception usually arises when we are trying to extract some values
from variables which are "null". Please check whether the variables u r
calling when the action is perfor
Hi,
You can go through "Professional jakarta Struts 1.1" written by james
goodwill and richard hightower. its published by wrox .
jay
- Original Message -
From: "Nishant" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
I am not a big struts giant :)
But let me give my suggestions on ur doubt
In the case of links we are just invoking a java (acion) file . If we need
to send some value through links to action file we need to send as parameter
from our link.
HTML:FORM tag is mainly meant for passing form
Hello Ankur,
I think u are getting the error page only because u did not define the
output page. ie in
Hope it helps u .
Regards :)
Krishna
- Original Message -
From: "Ankur Gupta" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'
Hai ,
Please check the below code which helps u to send batch mails ..
import javax.mail.Folder;
import javax.mail.Store;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import javax.mail.Message;
import javax.mail.MessagingExceptio
---------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Yup. Jay.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
f.net.
--
Jay Glanville
> -Original Message-
> From: Zaid [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 27, 2004 11:58 AM
> To: Struts Users Mailing List
> Subject: Navigation Bar
>
>
> Dear Friends,
>
> I am new Struts developer, meanwhile I did huge coding i
tty much all of the Struts-Logic tag library
(equality, iteration, etc) and some of the Struts-Bean library can be
replaced with the JSTL. Mike, is this the "presentation library" that
you're referring to?
So, which libraries am I being discouraged from using?
Apologies for being
meter associated with
the button. However, I know that's not possible without using a
redirect, which in turn destroys my messages.
What is the best/cleanest way to deal with this situation? Suggestions?
Thanks
--
Jay Glanville
this helps.
JDG
PS: I'm sure the rest of the community will correct me if I'm wrong.
--
Jay Glanville
> -Original Message-
> From: Johannes Wolfgang Woger [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 15, 2004 8:27 AM
> To: Struts Users Mailing List
>
Another difference that has to be taken into consideration is that a
forward keeps all the request scope parameters and attributes, whereas
in a redirect, the request scoped parameters and attributes are lost.
JDG
--
Jay Glanville
> -Original Message-
> From: [EMAIL PRO
t.apache.org), it's right
there under "Contributing". It's the same with James, Jakarta-Commons,
etc.
Just a minor pet-peeve of mine.
JDG
--
Jay Glanville
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
isn't there any reference to mailing lists on the
struts pages? I'm used to seeing something mentioned in the navigation
panel for all the other apache projects.
JDG
--
Jay Glanville
> -Original Message-
> From: Nina Bertilsdotter [mailto:[EMAIL PROTECTED]
> Sent: Tu
> If you are using Tomcat 5.0+ (JSP 2.0) you will have built-in
> support JSTL in JSP. You wont have to add any libraries.
I've taken the attitude not to rely on any container's library set. It
doesn't make the web application very portable. Thanks for the suggest,
none t
It is an option that I didn't realize I had. Up to now, we've been
using the struts tag library almost exclusively, as, up to now, it's
provided us with all the JSP functionality we've needed. This situation
my provide the impetus to add JSTL to our libraries.
Thanks
J
in tags, so I'm thinking that I need to so
something like the following:
Basically, to implement the else clause by performing a second if
statement.
Is this the correct way to do things? Is there a better way? Would I
be better off using scr
85 matches
Mail list logo