Jeremy,
Are you using weblogic 5.1?
I am using weblogic 5.1 and have successfully used struts with sp 9, 10, and
11.
I haven't tried 8, though.
You may want to try a high sp just in case it's related to that.
Anyone else out there use sp 8 ok with struts?
In my experience, if it's a wierd
Users Mailing List'
Subject: RE: NoClassDefFound Error in weblogic
Jeremy,
Are you using weblogic 5.1?
I am using weblogic 5.1 and have successfully used struts with sp 9, 10, and
11.
I haven't tried 8, though.
You may want to try a high sp just in case it's related to that.
Anyone else out
-Original Message-
From: Andre Beskrowni [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:26 PM
To: 'Struts Users Mailing List'
Subject: RE: NoClassDefFound Error in weblogic
i'm seeing a similar problem with wls6. i wrote the world's simplest action
class, and the mapping works fine
Mailing List'
Subject: RE: NoClassDefFound Error in weblogic
check for jar files in $WLS_DIR\myserver\web-inf\_tmp_war_yourApp . if u
find jar files in that folder it means jar files are loades and in
WEBLOGIC_CLASSPATH, still u have problems use atleast SP10 (SP11) is also
available
]]
Sent: Thursday, January 03, 2002 2:26 PM
To: 'Struts Users Mailing List'
Subject: RE: NoClassDefFound Error in weblogic
i'm seeing a similar problem with wls6. i wrote the world's
simplest action
class, and the mapping works fine, but when Class.forName is called
'
Subject: RE: NoClassDefFound Error in weblogic
We had something similar here. WL 6.0 doesn't support external jars
- this is apparently available in 6.1 (we haven't migrated yet).
Try putting the jars in the WL classpath as well as in the /lib directory.
- JKL
-Original Message-
From
, January 03, 2002 4:21 PM
To: 'Struts Users Mailing List'
Subject: RE: NoClassDefFound Error in weblogic
Jeremy,
Are you using weblogic 5.1?
I am using weblogic 5.1 and have successfully used struts with sp 9, 10, and
11.
I haven't tried 8, though.
You may want to try a high sp just in case it's
'
Subject: RE: NoClassDefFound Error in weblogic
I remember reading somewhere (I don't remember where) something about not
putting the struts.jar in
the classpath that that is a bad thing and results in these class not found
problems.
I think the suggestion was that the struts.jar should always
Jeremy,
This problem can happen if you have left some other jar in the system
classpath (the weblogic classpath) that calls struts. The classloader
order is that the webapp classloader depends on the system classloader.
Thus if a class is not found in the webapp classloader, the system
: Thursday, January 03, 2002 2:47 PM
To: 'Struts Users Mailing List'
Subject: RE: NoClassDefFound Error in weblogic
I remember reading somewhere (I don't remember where)
something about not
putting the struts.jar in
the classpath that that is a bad thing and results in these
class
Greg,
Spend a good deal of time looking at this problem and you will
discover that your problem is related to how you have the
ApplicationResources.properties file located in your application.
I am using Weblogic 6.1 and VisualCafe 4.5.1 Once I moved the
properties file to my
Have you tried WEB-INF instead of web-inf. I was having a similiar
problem, and that fixed it.
Thanks,
dave dandeneau
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 10:40 AM
To: [EMAIL PROTECTED]
Subject: 404 error when placing
I thought that although you cannot access directly, you are allowed to
forward from a servlet/jsp. And that this is an option for securing pages.
Does this have any bearing on my earlier post re trying to access
WEB-INF/javadoc/index.html?
:-)
Regards
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
aim: ph0rman
-Original Message-
From: Tom Lister [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 10:40 AM
To: 'Struts Users Mailing List'
Subject: RE: 404 error when placing JSPs beneath WEB-INF
I thought that although you cannot access directly, you are allowed to
forward
Hi,
I just came a good step closer. The version of the struts-config.xml I sent
was not correct. It should have the WEB-INF in upper case of course:
After all that different versions on NT (with its strange file namings),
I ended up with this when sending. However, the correct version is:
BEA is of the opinion that accessing JSPs even from an internal forward
should be disallowed.
Though, I'm told that Sun disagrees.
Tom Lister wrote:
I thought that although you cannot access directly, you are allowed to
forward from a servlet/jsp. And that this is an option for securing
Does anyone know how WebSphere 4.0 treats jsps under the WEB-INF?
dave
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 12:14 PM
To: Struts Users Mailing List
Subject: Re: 404 error when placing JSPs beneath WEB-INF
BEA is of the opinion
note that it should be:
WEB-INF
not
web-inf
nota bene: even though windows* is not case sensitive in terms of paths,
java *is* even when running on windows.
--e--
On Tue, 18 Dec 2001 12:13:30 -0500, [EMAIL PROTECTED] wrote:
2) struts-config.xml
...
action path=/startIt
Andrew B Forman wrote:
we're following Ted's suggestion for putting jsps in
WEB-INF and it's been working well so far. the only
downside i've seen is that jBuilder5's webapp format
isn't open-minded to jsps being under WEB-INF.
Just for the record, I don't actually do this myself anymore.
I've tried this with Struts but found it to be unwieldly in the
struts-config.xml file.
Do you make an action, and a forward, for every single real JSP
page?
Kind of a pain in the buttocks if you ask me, but I see where you're
going with the idea of centralizing access control, exception
At least a forward. That way we can just refer to the logical name in
the link tag. It is also a convenient way to pass any parameters, so you
can have
forward name=item path=/pages/item/form.jsp/
forward name=itemEdit
path=/do/item/Form?action=edit/
Saves a
BEA Weblogic doesnt allow you to put these under the WEB-INF!
I tried...
so not /WEB-INF/jsp/
but /jsp/
and you have to put a security constraint on that url so for example only
the 'system' user can access it ...
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands,
I just upgraded to Tomcat 4.01 and get the following exception:
javax.servlet.ServletException: Servlet.init() for servlet jsp threw
exception
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.
java:871)
.
java.lang.NoSuchMethodError
at
What is your OS and environment?
I had similar error with SUSE Linux, Apache1.3.2 Java SDK 1.4 beta 3, and struts
1.0.
I changed to Java SDK 1.3 and used one of nightly builds. (all files in struts
binary distribuiton have ^M caracter - DOS files and that might be also the reason.
Thats my $0.02
I had something like this the other night. I figured out that tomcat had
saved the servlet generated off of my JSP and was checking the
last-modified times between the servlet and the JSP file (like it
should). The problem was that I was doing tag development and thus had
to touch the JSP file
Hi Paul! Can you send a sample file? Your workaround
seems interesting.
Regards,
L. Yeung
--- Paul Dillon [EMAIL PROTECTED] wrote:
You need two strategies - one for errors you can
handle and recover from,
and another for everything else.
For errors I can handle (includes exceptions and
I basically do the same thing as Paul. My business objects throw
their own exceptions, which I can catch. These exception classes
are chained and often include more than one message: the initial
cause and my business explanation. I use the ActionError class to
send this to the JSP. Since they
Thanks Ted Paul.
As always, a useful piece of the puzzle.
Just wondering what you need the isCause() method. I
read the article about exception handling, but when
you write the detail message -- won't this write the
cause out for you?
Where would you not have the cause?
Also: the business
Sometimes there is only a business exception, other times there is an
underlying exception followed by a business exception. So the business
object is thrown a SQL error, wraps it, and throws its own version.
Other times, there can be a business logic error that doesn't wrap
anything else.
a combination of 2 and 4 works well. ie, put together ActionErrors, forward
to the page where they are displayed with html:errors/
Of course, you don't have to use ActionErrors - and list will do, but why
not? :)
- Brett
-Original Message-
From: Greg Callaghan [mailto:[EMAIL
You need two strategies - one for errors you can handle and recover from,
and another for everything else.
For errors I can handle (includes exceptions and business-level
validations), I describe the problem in plain english, stick it into a
string attribute on the request object, then I forward
Bill,
What version of Struts are you using? This problem
is addressed in the coming 1.0.1 version of Struts and
also should be working fine in the nightly builds.
-Original Message-
From: Siggelkow, Bill [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 11:15 AM
To:
: Wednesday, November 21, 2001 11:36 AM
To: 'Struts Users Mailing List'
Subject: RE: Inconsistent error uploading PDF
Bill,
What version of Struts are you using? This problem
is addressed in the coming 1.0.1 version of Struts and
also should be working fine in the nightly builds.
-Original
Hi,
if you need special formatting for the errors: have a look at the validator
error-tags. (in the nightly build or via ted's page
hope this helps
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 12:04 PM
To: [EMAIL
I have started to do a Web Application in struts and the first decision i
need to make is How to Implement Security for my application?
searched the struts mail archive and looks like extending the ActionServlet
process is a good solution though some suggest modifying the ActionServlet
and
try html:html locale=%=true%
Thinh
-Original Message-
From: Steve Taylor [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 21, 2001 5:28 PM
To: Struts-User (E-mail)
Subject: Parse Error in JRun 3.1
I've run into an error message after deploying a Struts app into JRun 3.1.
It works
PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 11:50 AM
To: [EMAIL PROTECTED]
Subject: Re: Help Error run Struts in VAJ 4 cant
remove Attributes from
requestscope remain
Julia,
I had the same problem with VAJ 3.5.3, but I presume
this will work with
4.0. You need
Julia,
I had the same problem with VAJ 3.5.3, but I presume this will work with 4.0. You
need to make sure you are changing the code in the correct place. There are two
FormTag classes - one in the base taglib package and one in the taglib.html package.
In
order to get the application to
Thank you Eric. It is working now
Julia
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 11:50 AM
To: [EMAIL PROTECTED]
Subject: Re: Help Error run Struts in VAJ 4 cant remove Attributes from
requestscope remain
Julia,
I had
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 2:50 PM
To: [EMAIL PROTECTED]
Subject: Re: Help Error run Struts in VAJ 4 cant remove Attributes from
request scope remain
Julia,
I had the same problem with VAJ 3.5.3, but I presume this will work with
4.0
Title: RE: display error messages for errors found in an Action
-Original Message-
From: Bill Clinton [mailto:[EMAIL PROTECTED]]
Sent: 4. september 2001 22:27
To: [EMAIL PROTECTED]
Subject: Re: display error messages for errors found in an Action
Hi Brian,
yes, you can do
yes, you can do this. If you have a message in your
ApplicationResources file called my.test.error, you can add an error
like this:
errors.add(myTestField, new ActionError(my.test.error));
where the string myTestField is the field that caused the error.
Look at the constructor for
To anyone interested,
Itlooks like I got rid of the errors when
initializing Tomcat. I had to copy struts.jar, and all the commons-*.jar to
Tomcat's lib directory.
Is this how it is supposed to be ? I like the idea
of separating Struts' stuff from the container (in my case Tomcat).
If
On Tue, 31 Jul 2001, emmanuel.boudrant wrote:
Hi,
Using Struts 1.0 on Apache Tomcat/4.0-b6, I've got
this errors:
javax.servlet.ServletException: Cannot find
ActionMappings or ActionFormBeans collection
And on another JSP
javax.servlet.ServletException: Cannot find message
Further to this mail,I tried using the syntax as suggested ,but I get a page
not found error.
My web.xml entry is ...
!-- Report Servlet --
servlet
servlet-nameDisplayReportsServlet/servlet-name
servlet-classcom.mizuho.rdw.reports.DisplayReportsServlet/servlet-class
/servlet
Hello Edward,
You need to add jdbc2_0-stdext.jar to the CLASSPATH or to the
WEB_INF/lib directory inside of your application.
Thursday, July 26, 2001, 5:07:10 PM, you wrote:
EM So I've put in a data-sources section that does parse right, but I get
EM the following errors when tomcat starts up
Jon,
I received that same error after I removed catalina.jar, but didn't have
xerces.jar in the classpath.
Brian
Jon Brisbin
:[EMAIL PROTECTED]]
Sent: Montag, 2. Juli 2001 00:18
To: struts-user
Subject: Re: Error - MultipartIterator: no multipart request data sent
Hello
I noticed the same problem when moving to 1.0. It seems that
the requesthandler notices that the request is a multi-part and
tries to find the multi
Hi Maik,
Have you entered the taglib
tags into your web.xml? These should point to your tlds in your web-inf dir.
Jon
-Original Message-
From: Maik Mrazovic
[mailto:[EMAIL PROTECTED]]
Sent: 28 June 2001 12:34
To: [EMAIL PROTECTED]
Subject: Servlet-Error,
Unable to open
ik
- Original Message -
From:
Jon.Ridgway
To: [EMAIL PROTECTED]
Sent: Thursday, June 28, 2001 3:30
PM
Subject: RE: Servlet-Error, "Unable to
open taglibrary /WEB-INF/struts-bean.tld ..."
Hi Maik,
Have you entered the
taglib tags into yo
Hi Maik,
in your web.xml, add/change following parameter:
!-- Action Servlet Configuration --
[...]
init-param
param-namenull/param-name
param-valuefalse/param-value
/init-param
this does not solve your problem, but then you don't
get an exception/Error 500 but you
, but it does not! Perhaps a problem with Tomcat?!
Regards,
Maik Mrazovic
- Original Message -
From: Klaus Thiele [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 26, 2001 11:46 AM
Subject: Re: Servlet Error 500, Missing message for key index.title
Hi Maik,
in your web.xml
Subject: Re: Servlet Error 500, Missing message for
key index.title
Hi Maik,
in your web.xml, add/change following parameter:
!-- Action Servlet Configuration --
[...]
init-param
param-namenull/param-name
param-valuefalse/param-value
/init-param
Now I've got
Begin event threw exception
java.lang.ClassNotFoundException:
org/apache/struts/util/GenericDataSource
when Tomcat tries to compile struts-config.xml
I can see that struts.jar is in the /lib folder and
GenericDataSource.class
is there, so what am I missing? Is there
...try moving your HelloWorldResource.properties file up a level into the
/WEB_INF/classes directory.
The problem seems to be that struts can't find a message tag and these are
located in the HelloWorldResource.properties file which struts expects to
find in the WEB_INF/classes directory
errors.add(ActionErrors.GLOBAL_ERROR, new
ActionError(view.construction.error, e.getMessage()));
in the application.properties you should have:
view.construction.error=liCould not construct view because: {0}/li
e.getMessage() is substituted instead of {0}
-Original Message-
From:
It is a good idea to add . ( current directory ) to your CLASSPATH -also get
in the habit of compiling your classes so that any required package
structure is created properly. You do this by specifying an output
directory for the javac command.
If you wanted to compile the class starting from
Do you need . in your CLASSPATH also?
Just a thought?
Todd
[EMAIL PROTECTED] 4/24/01 2:14
Im sending to both groups for maximized feedback.
I am executing a compiled Xalan sample and getting an error. Does anyone
know why I could be getting thread issues.
Also, do you need the package information on the SimpleTransform class? Does it have a
package? Or is this a class that you wrote?
HTH,
Todd
[EMAIL PROTECTED] 4/24/01 2:14
Im sending to both groups for maximized feedback.
I am executing a compiled Xalan sample and getting an error. Does
You aren't having thread errors, Java just can't find
your class. If the SimpleTransform class is in
current directory make sure . is in your classpath.
scott.
--- TODD HARNEY [EMAIL PROTECTED] wrote:
Also, do you need the package information on the
SimpleTransform class? Does it have a
thanks. solved it already. we had 2 pairs of eyes looking at the classpath
and still missed it.
-Original Message-
From: Scott Walter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 24, 2001 3:29 PM
To: [EMAIL PROTECTED]
Subject: Re: Thread errorWHY?
You aren't having thread
On Fri, 13 Apr 2001, Sundaram Ramasamy wrote:
hi
I have logon form. When I try to logon first time, its doing fine. If I try
to logon second time it's giving me the following error message. I am using
tomcat 3.2. can anyone help on this.
Thanks
sundaram
Do you have your application
Hi
Scott,
this
may or may not end up answering your question:
I
remember seeing something similar when I was first trying to create my own
Struts app. What happened was that, for some mysterious reason, the
struts-config.xml file was not getting read properly - although I never got a
The exception is happening in the html:form tag. I would guess that you
have a malformed struts-config.xml file. Do you have any error messages in
your console or servlet log file?
You can look up data-source elements that you defined in struts-config.xml
in your Action or ActionForm by using
]]
Sent: Thursday, April 12, 2001 4:03 PM
To: [EMAIL PROTECTED]
Subject: RE: An error occurred when i tried to view struts example
Dear Nishit,
My example application is organized as follows
WEB-INF : contains all the tag libraries and the xml configuration files.
WEB-INF/lib : contains struts.jar
On Wed, 11 Apr 2001, Adrian Perju wrote:
Hello,
I am using jakarta tomcat 3.1 and stuts.
Although element ordering fixed this particular problem, you will find
that Tomcat 3.1 has lots of other problems running Struts-based apps. You
are strongly encouraged to update to Tomcat 3.2.
your ApplicationResource file is not loaded properly
check your classpath...
you should have struts.jar in your web-inf\lib
Nishit
-Original Message-
From: M. Amin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 3:42 PM
To: [EMAIL PROTECTED]
Subject: An error occurred when
Dear Nishit,
My example application is organized as follows
WEB-INF : contains all the tag libraries and the xml configuration files.
WEB-INF/lib : contains struts.jar
WEB-INF/classes : contains ApplicationResource.properties file
Is there any thing missed to lauch this example application
Dear M. Amin,
One possible problem is that you have struts.jar in your system
classpath. I don't believe this is recommended, though others will correct
me if I am wrong. Struts.jar belongs in (as you have shown below), each
application's WEB-INF/lib. Please correct me if I am wrong.
Check
Hi Adrian,
Try putting all servlet tags together, and then all servlet-mapping tags
together. The DTD specifies the following:
!ELEMENT web-app (icon?, display-name?, description?, distributable?,
context-param*, servlet*, servlet-mapping*, session-config?,
mime-mapping*, welcome-file-list?,
- Original Message -
From: "Iraklis Kourtidis" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 11, 2001 8:23 PM
Subject: RE: Parse Error in the tag library descriptor: Element "web-app"
does not allow "servlet" here
Hi Adrian,
Try put
Hello again.
Sorry friends, false alarm. I was dumb enough to forget to put jar file
with javax.sql.* classes in my web application classpath.
Best of luck.
___
Do You Yahoo!?
Get your free @yahoo.ca address at http://mail.yahoo.ca
You can see examples for this message in ApplicationResourses.properties
file. A parameter is passing as {0} for the one parameter. Also see some
source code in XxxxAction.java how to pass a message with a parameter.
Dileep John wrote:
hi
any one know to set parameterised error messages
Hi Harish,
I do have the struts.jar file in the web-inf/lib directory.
cheers,
Amar..
-Original Message-
From: Dorai, Harish (c) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 11:08 AM
To: '[EMAIL PROTECTED]'
Subject: RE: taglib error when running struts1.0
.
-Original Message-
From: Nanduri, Amarnath [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 11:10 AM
To: '[EMAIL PROTECTED]'
Subject: RE: taglib error when running struts1.0 on weblogic 5.1
Hi Harish,
I do have the struts.jar file in the web-inf/lib
custom tags just to reduce the total number of tags on a page!
--
Martin Cooper
Tumbleweed Communications
- Original Message -
From: "Dan Connelly" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, February 19, 2001 8:26 AM
Subject: Re: Str
Yep, same here. Increasing the heap didn't do it. I wish there was a better
solution to this!
-Original Message-
From: Martin Cooper [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 19, 2001 4:34 PM
To: [EMAIL PROTECTED]
Subject: Re: Strange Error with html:select
In our case
]]
Sent: Monday, February 19, 2001 4:34 PM
To: [EMAIL PROTECTED]
Subject: Re: Strange Error with html:select
In our case, increasing the JVM's heap size didn't fix the
problem. The only
thing that fixed it was reducing the number of tags on the
page, so I'm
leaning towards believing t
301 - 378 of 378 matches
Mail list logo