in my struts application i am goin from one page to another by clicking the
buttons
but when i got to particular page which is using validatorform it will popup
validations on invoking..
so my problem is how to delay the invocation of validatorForm ...
Regards
Nishant Patil
Software Engi
checkout tomcat documentation on how to deploy web application
-Original Message-
From: Nishant [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 11:38 AM
To: Struts Users Mailing List
Subject: not getting
hi to all,
i am using tomcat apache server
i am getting following err
What URL are you using to access the web application?
What does your config file look like? How did you
deploy your application?
-R
--- Nishant <[EMAIL PROTECTED]> wrote:
> hi to all,
> i am using tomcat apache server
> i am getting following error..
>
> error There is no web applicati
hi to all,
i am using tomcat apache server
i am getting following error..
error There is no web application configured to service your request
i am not getting wht is wrong in my web- application n by which cause i am
gettin this error
plz anyone help
thankx in advanced
Regards
Nis
Right, so back to the original problem, did you populate that collection
in any scope, say either the request or session or page ?
Cause that's what it seems to indicate. I think you just need to do a
little checking on your side to see if it's there, you should be ok
from the looks of what you
employees is just a plain collection Arraylist
Regards
Nishant Patil
Software Engineer
Cybage Softwares Pvt. Ltd. (A CMM Level 3 Company)
West Avenue, Kalyaninagar
Pune - 411006
Ph. +91-20-4044700/4041700 Extn 355
[EMAIL PROTECTED]
www.cybage.com
"There is difference between knowing the Path
Nishant ,
Is there such a bean called employees exposed in any scope (since you
didn't specify any scope) ?
If so will fail. Can you tell us if it's a bean with a
collection you want to retrieve or is employees
just a plain old collection ?
Nishant wrote:
hi to all,
i am using tomcat apache
hi to all,
i am using tomcat apache server with struts .
problem is that my jsp page throwing me an errors that bean is not foound ...
my jsp code is ...
">Edit
">Delete
where employees is my Arraylist name.
while p
Well for one thing my boss wants it removed.
On Thu, 18 Nov 2004 09:02:40 -0500, Jeff Beal <[EMAIL PROTECTED]> wrote:
> Why?
>
> Richard wrote:
> > I need to remove the webapp specific part / names on my application.
> > For example
> >
> > http://mydomain.com/mywebapp/index.jsp
> >
> > and
> >
Oh yes, let's just miss the link at the top of the damn page! (slaps his own
head with his copy of Struts in Action). Me blind, need new glasses. :)
-David
-Original Message-
From: Matt Bathje [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004 7:25 PM
To: Struts Users Mailing Li
David G. Friedman wrote:
Where are the release notes for Struts versions before 1.2.4? I just
received a question about code changes (via a private email) and cannot find
the changes from v1.0 to 1.2.4 on the Strut site or the Wiki (not where I
looked anyway). I would have expected to have found t
Where are the release notes for Struts versions before 1.2.4? I just
received a question about code changes (via a private email) and cannot find
the changes from v1.0 to 1.2.4 on the Strut site or the Wiki (not where I
looked anyway). I would have expected to have found this information on the
re
David,
I am indeed running the 1.5 JVM on this machine.
Also, while I agree that Ron's post regarding perform() / execute is
probably meant for another thread, that is one thing that I forgot to
mention. The application was originally written to use struts 1.0
(i.e., perform()), and all of the
Ron,
I think we're in different threads. Anyway, perform is both deprecated
(from 1.1 onward) AND gone (1.2.4 onward). Check the
org.apache.struts.action.Action class in the SVN repository (I did before I
posted that other response). Hell, check the API for current version:
http://struts.apache
The perform method still exists, but the execute method is preferred
Tomcat 5.5 requires Java 1.5 aka Java5.0
-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004 5:40 PM
To: Struts Users Mailing List
Subject: RE: Error instantiati
Yx,
Is the slowdown the first time an action accesses a template after
application startup? Or does it happen every time your action calls that
tiles template?
Regards,
David
-Original Message-
From: You Xu [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004 3:36 PM
To: [EMAIL PR
Peter,
Are you running the required 1.5 JDK specified by Tomcat 5.5.4 or have you
performed the extensive (rumored) modifications to alter Tomcat 5.5.X to
work with JDK 1.4 or earlier?
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES.txt
Regards,
David
-Original Message-
Fro
Scott,
I think I've found your problem: The Action class in Struts no longer has
the perform() method. If you change the method name to execute() and add
the appropriate "throws" clause, you should be fine. Perform() and
execute() should have the same signature except for those differences.
Wh
Joe:
Thanks, I gonna try it.
El jue, 18-11-2004 a las 13:42 -0600, Joe Germuska escribiÃ:
> At 2:20 PM -0500 11/18/04, Erik Weber wrote:
> >I found that the JavaScript generated by the Validator (Struts 1.1)
> >added nearly 40Kb to the page download! (Perhaps there is a way to
> >only downl
Why? This would only be needed so that the user doesn't get confused by the
user-hostile "blabla/do/hello". In reality all the functionality would be
the same.
What are the reasons to use different struts-config.xml in the first place?
Thanks,
Yaakov.
-Original Message-
From: Corey Scott
I am trying to upgrade from Tomcat 4.1 to Tomcat 5.5.4, and am having
problems migrating a struts application. The application runs perfectly
under Tomcat 4, but when I try to deploy it under version 5, I get the
following in catalina.out:
--
Yes there is a way, here is a synopsis of what needs to be done from a
message Bill Siggelkow posted to the list a while back:
Create a file called "staticJavascript.jsp" with the following content:
<%@ page language="java" %>
<%--
Okay, I will move my part of this discussion to the developers list.
I don't agree, however. I think that the user list is role oriented
(for user concerns which would include issues on using Struts but not
be exclusive to using Stuts, e.g. would include anything important to
users) and not merel
I replaced the struts template with the tiles. And the performance
degraded significantly. For some pages, it is taking 1 minute while
previously it only took seconds.
Any solution to this? Thanks.
-yx
Erik Weber wrote:
I found that the JavaScript generated by the Validator (Struts 1.1)
added nearly 40Kb to the page download!
40K?? Must be small page ;-)
This site
(fun click here http://playmate.1up.com , more here
http://wiki.apache.org/struts/PoweredBy)
averages around 380K and more.
Ziff
Not anymore now that we have JPDA!
You can run the app server in one VM, and your IDE in another; debugging
across a socket. Here's how to do it: (excerpted from Jakarta Struts
Cookbook http://www.amazon.com/exec/obidos/tg/detail/-/059600771X
)
Configure the JVM running your application server
Craig,
I don't understand this. I do want to be in the
middle of the herd on protocols and I do want to be heard.
I don't understand your point here, however. Are you seriously
saying this is just "noise" to users?
Anyway, out of a lot of deference to you and out of a bit of "fear"
from
Maybe this is just a typo but shouldn't you be using
'bundle="mymodulekey"' instead of 'bundle="mymodule"'?
Radu Badita wrote:
Hello,
I have a Struts module with the following message bundle:
Inside an Action I can get messages from it with:
dateFormat = getResources(request,"mymodulekey").get
Debugging a server side component only works when the IDE has the
ability to launch the appServer
inside the VM which is also running the IDE. You can then set
breakpoints in the struts sources.
Bill Siggelkow wrote:
Scott,
Are you developing using an IDE such as Eclipse or IDEA? Most IDEs
hav
Joe,
This will be, to promote clarity, in a few parts. The first is: WHAT
IS STRUTS? as you requested. (See
http://rollerjm.free.fr/pro/Struts11.html#3 ).
> Elaborating from this, one might ask "what is Struts?"
Then again, I don't think the answer is
> critically important. I don't really
Scott,
Are you developing using an IDE such as Eclipse or IDEA? Most IDEs have
a debugger that allows you to step through your code as it executes.
There is also a standalone debugger known as JSwat.
Because you have (or can get) the Struts source, you can set breakpoints
within the Struts Req
At 2:20 PM -0500 11/18/04, Erik Weber wrote:
I found that the JavaScript generated by the Validator (Struts 1.1)
added nearly 40Kb to the page download! (Perhaps there is a way to
only download a script once and reuse it among pages? I have no
idea.) I don't use JavaScript validation other than
If Struts as we know it dies with Shale
Struts as you know it will not die until no developers (including
you) are interested in maintaining Struts-as-you-know-it. It's
Apache-licensed software. Nothing is stopping anyone from TODAY
getting the source-code, making a few simple changes to packa
I found that the JavaScript generated by the Validator (Struts 1.1)
added nearly 40Kb to the page download! (Perhaps there is a way to only
download a script once and reuse it among pages? I have no idea.) I
don't use JavaScript validation other than a simple blank field check.
Erik
Juan Salaza
On Thu, 18 Nov 2004 14:09:02 -0500, Erik Weber <[EMAIL PROTECTED]> wrote:
> If Struts 2 is something fundamentally different from Struts 1, is it
> not possible that Struts 1 and Struts 2 could coexist and that the two
> could be maintained and (if people desire) developed separately? I mean,
> eve
Vic,
Thanks. I have another question: I am testing for use Validators,
javascript code travels from server to client in each form request... in
a high traffic enviroment these could affects performance (network
bandwidth). What do you think?
El jue, 18-11-2004 a las 11:42 -0600, Vic escribiÃ
If Struts 2 is something fundamentally different from Struts 1, is it
not possible that Struts 1 and Struts 2 could coexist and that the two
could be maintained and (if people desire) developed separately? I mean,
even if development peters out on Struts 1, can't it still stick around
in its ma
Hi,
Is there a way to access message-resources that you would normally
access with a jsp tag in a tile definition in the
tile-defs file. I am using the tiles version included with Struts 1.1.
Thanks,
Jeff Bowes
--
Jeff Bowes M.Sc.
DBA/Technical Architect, Xenbase
Department of Biological Scie
Hello,
I have a Struts module with the following message bundle:
Inside an Action I can get messages from it with:
dateFormat = getResources(request,"mymodulekey").getMessage("date.format");
and it works fine. But this Action forwards to a jsp in which I have this tag:
it doesn't work because it
Thanks for your thoughts, Craig. See infra. Most of your comments
were about the appearance, mien, bearing, style, and environment of
the discussion about Jericho versus Shale.
I hope we don't have to keep discussing the legitimacy of the
discussion itself. I am comfortable that a discussion o
If that is the case, you might want to look into separate modules?
-Corey
On Thu, 18 Nov 2004 12:52:38 -0500, Chaikin, Yaakov Y.
<[EMAIL PROTECTED]> wrote:
> Is it a problem to map 2 servlet mappings to the Struts controller
> servlet...
>
> For example, I could think of a situation where someo
Of the top, one of your tiles jsp's has a typo is a guess.
I would test out each ONE of the tiles jsps ( and tiles actions?) BEFORE
assembling them into one big JSP, this way you get a better error.
hth,
.V
[EMAIL PROTECTED] wrote:
Hell,
Can anyone help a newbie with how to interpret an exce
Hello Bill,
I checked everything again, and still do not see anything obvious. What did you
mean by a debugger? Do you know of one for Tomcat and checking this type of
problem?
If so, please let me know.
Thanks,
Scott
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of
Hell,
Can anyone help a newbie with how to interpret an exception stack? I have
had some luck debugging previous problems, when the exception occured in my
own code, as the stack info usually points to a line number or variable in
the source file causing the problem. However, for an excep
Scott, this problem can happen when you are trying to forward to a
non-existent location. For example, you would see this problem if the
path specified in the was
invalid.
However, looking at your struts-config.xml I do not see any errors.
I would first check that your Struts config is not thr
Is it a problem to map 2 servlet mappings to the Struts controller
servlet...
For example, I could think of a situation where someone would want to use
different naming schemes so the customers will be less lost:
For Shopping:
*/doShopping/*
For Checkout:
*/doCheckout/*
However, obviously, in r
The slowest part of J2EE is Data access.
With Struts, you have the capability to stress test the DAO layer by itself.
hth,
.V
Juan Salazar wrote:
Is there any performance issue using Struts (actions, tiles, validators,
etc)? (memory, network bandwith, etc)
I am using Struts for awhile, but need to
Is there any performance issue using Struts (actions, tiles, validators,
etc)? (memory, network bandwith, etc)
I am using Struts for awhile, but need to known how to improve code.
Thanks in advance
Jack,
Since we're all developers here ... you might consider trying to
demonstrate with *code* instead of words (or pretty pictures :-) why a
proposed solution is better. Show us that it makes the framework code
easier to write and maintain. Show us an application based on that
design (preferabl
Hello,
I am just getting underway with struts and found an example here:
http://javaboutique.internet.com/tutorials/Struts/
I have completely followed the directions and I can get the initial form to
display the data that comes from the ActionForm bean. "Hansen".
But after I hit the submit
List result = (List) request.getAttribute("employeeList");
Erik
Sudip Shrestha wrote:
Using: Tomcat 5.0.28, Struts 1.2.4, jdk 1.5.0, hibernate 2.1.6
When I try to pass java.util.List parameter via
javax.servelet.HttpServletRequest from an action method to a .jsp
page, I get exception:
incompatible
JavaDoc says:
public java.lang.Object getAttribute(java.lang.String name)
...
java.util.List l = (java.util.List) getAttribute(...)
> -Original Message-
> From: Sudip Shrestha [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 18, 2004 5:46 PM
> To: [EMAIL PROTECTED]
> Subject: Se
Using: Tomcat 5.0.28, Struts 1.2.4, jdk 1.5.0, hibernate 2.1.6
When I try to pass java.util.List parameter via
javax.servelet.HttpServletRequest from an action method to a .jsp
page, I get exception:
incompatible types
found : java.lang.Object
required: java.util.List
List result = reque
From: "David G. Friedman" <[EMAIL PROTECTED]>
> Now, on the JSP issues, since you're trading control over to JSP's, can't
> you list the exception in your web.xml configuration file? See the
> 'exception-type' in the solution under this url:
> http://www.jguru.com/faq/view.jsp?EID=457102
Probably
Hello Andreas,
Tomcat 5.5 runs with some minor modification also with 1.4 ( I used also
1.5 on another machine
with the same error ).
Next question how can I find out what classloader I use ?
Peter
Hi Peter!
In http://apache.mirror.netmonic.com/jakarta/tomcat-5/v5.5.4/README.html the
developers
Thanks david, The applications i am working on is not in struts and i was
planning to migrate it into tiles before moving into struts. Looks like it is
not possible without migrating the application into struts.
"David G. Friedman" <[EMAIL PROTECTED]> wrote:Saravanan,
This point has been discu
Hi Peter!
In http://apache.mirror.netmonic.com/jakarta/tomcat-5/v5.5.4/README.html the
developers claim that Tomcat 5.5 requires the JRE 5.0. We didn't have the
problem you found when we tested tomcat 5.5. Which classloader are you
using?
Andreas
-Ursprüngliche Nachricht-
Von: Peter Neu
5.5 needs JDK1.5 Afaik.
.V
Peter Neu wrote:
Hello everybody,
I just switched to Tomcat 5.5 while still using the old JDK 1.4.2_04 .
The Struts Version
I use is 1.1. When I run my application on the new Tomcat I get this
error :
Error instantiating servlet class org.apache.struts.action.ActionSer
Hello everybody,
I just switched to Tomcat 5.5 while still using the old JDK 1.4.2_04 .
The Struts Version
I use is 1.1. When I run my application on the new Tomcat I get this error :
Error instantiating servlet class org.apache.struts.action.ActionServlet
Can anybody tell what I can change in or
Hi, Joe,
This is certainly a reasonable request and I don't take it personally
at all. I don't think what I have said is overblown. I will add more
later, but for the moment let me say that one needs to articulate what
Struts does and ask what is left with the new proposals. I will add
more on
Also, Struts data source is deprecated, this belongs in Tomcat or
whatever container.
.V
Erik Weber wrote:
Nishant, ojdbc14.jar is the only jar you need unless you are using an
old version of Oracle. It belongs in $catalina_home (your Tomcat base
directory)/common/lib, not in your web app's lib
Kinjal,
In my experience with dates and validation, the problem you have
having is quite possibly when you are coping the date values out of the
ActionForm if you are trying to convert the string to a date right there
in the get method and the value is an empty string no null. Since the
Bea
Nishant, ojdbc14.jar is the only jar you need unless you are using an
old version of Oracle. It belongs in $catalina_home (your Tomcat base
directory)/common/lib, not in your web app's lib directory.
Erik
Nishant wrote:
hi,
i am using struts with tomcat server ...
my database is oracle and it i
On Wed, 17 Nov 2004 21:52:56 -0800, Craig McClanahan
<[EMAIL PROTECTED]> wrote:
It's sort of interesting that a "page controller" is one of the things
people really like about Tiles, for the same reason I like it --
cutting down on the number of moving parts :-).
I am not wholly in love with the t
yes i do have commons-dbcp-1.2.1.jar
and
commons-pool-1.2.jar
Regards
Nishant Patil
Software Engineer
Cybage Softwares Pvt. Ltd. (A CMM Level 3 Company)
West Avenue, Kalyaninagar
Pune - 411006
Ph. +91-20-4044700/4041700 Extn 355
[EMAIL PROTECTED]
www.cybage.com
"There is difference between knowing
I am using jdk1.3
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vic
Sent: Thursday, November 18, 2004 7:33 PM
To: [EMAIL PROTECTED]
Subject: Re: [OT] how to print - jdk1.3?
Of course the new JDK 1.5 allows JDNC and JNLP security sandbox access
to the printer (if
do you have
http://jakarta.apache.org/commons/dbcp/
and
http://jakarta.apache.org/commons/pool/
in WEB-INF/lib?
Regards,
> -Original Message-
> From: Nishant [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 18, 2004 2:59 PM
> To: Struts Users Mailing List
> Subject: database probl
Of course the new JDK 1.5 allows JDNC and JNLP security sandbox access
to the printer (if you did RiA).
.V
Joe Germuska wrote:
At 12:27 PM +0530 11/18/04, Viral_Thakkar wrote:
Hi All:
How to print document/pdf file which is available on server machine on
user printer in asynchronous mode?
I don'
Why?
Richard wrote:
I need to remove the webapp specific part / names on my application.
For example
http://mydomain.com/mywebapp/index.jsp
and
http://mydomain.com/mywebapp/serverpages/add-record.rr
I need the user to just see http://mydomain.com/ on their browser.
-
hi,
i am using struts with tomcat server ...
my database is oracle and it is on some other machine on network.
on my machine oracle is not installed.
thus i am using odbc14.jar and classes12.jar in my lib directry of struts
application..
in my struts-config.xml file the datasource is
At 12:37 PM + 11/18/04, andy wix wrote:
Hi,
I have a page which I would like frequently reloaded into the
browser and was going to use javascript. The issue is that using
Tiles I only have the on-load event available for the layout.jsp
file and I only want one of my pages to have this funct
At 12:27 PM +0530 11/18/04, Viral_Thakkar wrote:
Hi All:
How to print document/pdf file which is available on server machine on
user printer in asynchronous mode?
I don't know of any way you can drive the user's printer. The
javascript "print()" method will pop up a print dialog, but it
wouldn't
I had a similar problem.
I included a piece of Javascript in the main layout which allows pages
to register
script to be run when onload is invoked, then any page in the layout can
add things:
var onLoadExpressions = new Array();
var onUnLoadExpressions = new Array();
function addOnLoadExpres
Hi,
I have a page which I would like frequently reloaded into the browser and
was going to use javascript. The issue is that using Tiles I only have the
on-load event available for the layout.jsp file and I only want one of my
pages to have this functionality.
Is there a work-around?
Thanks,
A
You are on the wrong mail list, this mail list is for a Struts framework.
I see you are a Software Engineer from Kalyaninagar, impressive.
.V
Nishant wrote:
i am tryin to connect with oracle Server on network.
Now i am getting errors as No Suitable Driver
i hav classes12.jar file in my jre\lib dire
Hello,
If you are connecting to oracle, why you have jdbc:mysql in your
JDBC URL?
Regards
marco
-Original Message-
From: Nishant [mailto:[EMAIL PROTECTED]
Sent: 18 November 2004 07:04
To: Struts Users Mailing List
Subject: JDBC problem
i am tryin to connect with oracle S
Nishant wrote:
now server is throwing an errors as cannot load JDBC driver called com.mysql.jdbc.Driver
wht is wrong wiil i hav to import some external JDBC driver (on my pc no oracle is there )
You want to connect to an oracle database and you're loading a jdbc
driver for mysql ?
Yes
77 matches
Mail list logo