You're close but not quite correct.
As an optimization, Netscape 4.x busy-waits for the response from the web server. When
the web server/servlets/JSPs/etc and Netscape are on the same box, Netscape's
busy-waiting (as the foreground application) will suck up almost all available cpu
time from
Does any one know why I am getting this error when weblogic is starting up?
I am using weblogic 6.1 (no service pack) and Struts 1.0. This application
works fine in weblogic 5.1, sp8
Thanks in advance.
Van
New org.apache.struts.action.ActionFormBean
Set org.apache.struts.action.ActionFormBean
Hi,
I want to create a table of html select elements, and I have a Form
bean which has a 2D String array and a 1D String array:
String[][] optionSelected;
String[] options;
I think the code in the jsp should be something like this:
logic:iterate id=row name=selectOptionsForm
Hi,
not quite... (comment aboutvm-tuning)... when we were finding the problem of double
allocating we were
talking about 1000's of concurrent users. The vm was tuned to use up to a GIG of
memory and it still
was able to crash. OK. the app also put quite some stuff into the session, but at the
A night's decent sleep and I realize what the solution is. Find the action forward but
dont save the name of the forward into the request scope. Save
the forward's path instead!
if ( !isTokenValid() ) {
// transaction error
saveErrors( ... )
ActionForward fwd =
[EmbeddedTomcatSX] Parse Fatal Error at line 5 column -1:
org.apache.crimson.parser/P-082
http://jakarta.apache.org/struts/dtds/tiles-config.dtd
[EmbeddedTomcatSX] java.io.FileNotFoundException:
http://jakarta.apache.org/struts/dtds/tiles-config.dtd
[EmbeddedTomcatSX]
Forbidden
You don't have permission to access /struts/dtds/tiles-config.dtd on this
server.
Apache/2.0.28 Server at jakarta.apache.org Port 80
-Original Message-
From: storck [mailto:[EMAIL PROTECTED]]
This works fine with JSP-forwards like this:
forward name=productInfoView path=/productInfo.jsp/
but when I use forwards to Actions like this:
forward name=success path=/ViewMainMenu.do /
prefix does not work.
Struts seeks action with path /[client-prefix]/ViewMainMenu,
but actual action
Try this from IBM...
http://www.alphaworks.ibm.com/tech/rbmanager
There was also someone on this group that put
something together. Try Ted Husted's resource
listings for a link.
http://www.husted.com/struts/
-james
[EMAIL PROTECTED]
http://www.jamesholmes.com/struts/
--- Rooms, Christoph
Use struts option tag.
That will cause a call to your form bean to get the
value to be selected when page is displayed.
--- Tom Watkins [EMAIL PROTECTED] wrote:
I have a jsp using the strutshtml:select tag with
nested option tags. I
need to give the drop down list an initial value
first
Hi,
I'm struggling with the following problem:
I have a recursive collection of beans that I want to loop trough. So I
have a collections that holds beans. Each of those beans again holds a
collection of beans of the same sort. And so on, recursively.
I was thinking as how to implement this in
1 - Avoid putting stuff in the session
or
2 - Name all your apps attrs with the same prefix.
Have pages where the state of the session is known to
be clean - in these clear everything with your prefix.
I've got code for looping thru getting names/items in
the session if you ask for it. (It's not
tomcat4 starts its own JNDI service by default.
To use your own in ejb, start tomcat as below,
startup -nonaming
ct
--- Joanna Chan [EMAIL PROTECTED] wrote:
Dear all,
Could anyone help me with trying to configure a web
application (tomcat-struts) so that it can
communicate with the
I've already written my own methods with
straight SQL - and everything is working. However, I
can see that much of the code will NOT be reuseable in
a different DB schema. Is it worth my time to learn
Expresso and integrate with my Struts app?
1. Expresso is not your only alternative.
I haven't studied Expresso yet but, in order to develope reusable objects to
manage data persistence (and a lot more!!!), and take full advantage of the
J2EE framework, why don't you consider EJBs? And its open source
implementation: JBoss (www.jboss.org)?
Luis
- Original Message -
I am afraid i have got no solution to your problem. Sorry.
- Original Message -
From: Vimal [EMAIL PROTECTED]
Date: Friday, December 21, 2001 4:32 am
Subject: Re: Fw: Using Swing Components as Visual Bean with struts
Independently they are working fine in html. Now recent development
I have two properties called:
field.name=Name
error.message={0} is required.
I want that my message was: Name is required. What must I make this to
happen?
I am doing the following:
errors.add(error , new ActionError(error,message, field.name));
and the following message is being shown:
Platform: Solaris 8
App Server: iAS 6.0 SP4.
This is a newbie question. I'm simple trying to get a simple form and
action example working and I get the following exception. My
struts-config.xml and web.xml indicate nothing about configuring a
datasource, so I'm not sure why I would get this.
I have a struts action that sends back files in different formats after
setting the content-type header to application/octet-stream and
Content-disposition header to attachment;filename=\foo.txt\. While
this works fine in Netscape, IE appears to ignore the headers completely
and tries to download
I have a problem with the html:hidden tag. I tried the following:
html:form action=/AnnuityClientInformation method=post
html:hidden property=Action value=Hallo/
/html:form
I also implemented a FormBean which is associated with the jsp where this
form is in. This bean has a getAction() and
I have an app that shows a form which goes to an actionform object. If
its all okay, it goes to a preview screen and then if you click okay it
goes onto a save actionclass that saves the info. The problem is that I
cannot get it to forget about the formbean when you go back through to
do a
Peter,
Try this
html:hidden property=action value=Hallo/
Those bean conversion rules get me every time...
-Original Message-
From: Kuntz Peter, NY [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 1:55 PM
To: '[EMAIL PROTECTED]'
Subject: hidden fields
I have a problem with
try
html:hidden property=action value=Hallo/
- Original Message -
From: Kuntz Peter, NY [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 21, 2001 8:55 AM
Subject: hidden fields
I have a problem with the html:hidden tag. I tried the following:
html:form
I have an object type Scale that I am iterating over. There is just ONE
property that I can not access.
For example I run this fine:
bean:write name=scalex property=scaleName filter=true/
bean:write name=scalex property=scaleDescription filter=true/
But if I have:
bean:write name=scalex
Hello,
I am using logic tags to implement paging through a recordset (like in a
search engine).
In order to determine whether or not to display the next page button (i.e.
when the user is nearing the end of the recordset) it seems I need an
expression in my logic:greaterEqual tag.
I have a
Hi guys!
This is a question about javascripts only. Sorry bothering with questions outside
Struts scope, but I'm a member of this list for quite a time and you have showed a
good understanding on Java Script. That's why I took the liberty on sending this
message.
Here's the question:
Why
Add a property on your bean that returns the value of maxRecords +
rowPosition then refer to that property in the tag.
-Original Message-
From: T. Wheeler [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 3:19 PM
To: [EMAIL PROTECTED]
Subject: How to use an expression in a logic
By default, the Struts html:submit tag will name the button submit,
which conflicts with the JavaScript function by the same name. If you
are using the Javascript submit fuction, it is important to give the
submit button another name.
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom
Personally, I would suggest that an Action should always be used to
create whatever JavaBean helpers the view needs. The views only
responsiblity should be to render the beans. Where these beans come-from
or go-to is the controller's business.
This puts all the business logic behind Actions,
I know that scriptlets are generally frowned upon, but can someone please
say how to access the value of a property in a form bean inside a scriptlet?
I need to be able to send the value of that property to a method call inside
the scriptlet, like:
%
String fooTranslated =
I think the form bean is stored in the session or request scope by the name
of the action. So it would be request.getAttribute or session.getAttribute.
request/session option is specified in the actions config.
Taylor
-Original Message-
From: T. Wheeler [mailto:[EMAIL PROTECTED]]
Hello,
I am getting the following jsp exception in my struts app: Cannot find
message resources under key org.apache.struts.action.MESSAGE.
I have no idea what this means... Has anyone seen this and can shed some
light on it for me? I have also posted the stack trace below.
Thanks,
Troy
One guess is that sometimes you have to reset the container. If you
use TomCat, clean the TomCat / work folder and restart the container.
Other containers have a different temp folder.
(OrionServer.com seems ok w/this)
Vic
Phillip Rhodes wrote:
I have an object type Scale that I am
We have a jsp called search.jsp that looks something like this
frameset ...
frame name=header src=header.jsp noresize scrolling=no/
frameset ...
frame name=criteria src=criteria.jsp noresize scrolling
=no/
frame name=results src=results.jsp noresize scrolling
Subject: html:link tag bug???, Really need help!
From: Nicolas Parisé [EMAIL PROTECTED]
===
Hi,
I work in a project now where I need to use the html:link tag
this way
html:link page=/listProducts.do linkName=lnkLstProductsTHe
link/html:link
Every time the linkName param is present, the page
Hi I'm a newbie in Struts-Layout.
I got this error when i deployed it in Tomcat-4.0
javax.servlet.ServletException: try to access method
org.apache.struts.action.ActionForm.getServlet()Lorg/apache/struts/action/ActionServlet;
from class fr.improve.struts.taglib.layout.FormTag
Thanks in advance.
Do you have a submit button in your form thats named submit ? if so,
rename it to something else. This will solve your problem.
--Rakesh
[EMAIL PROTECTED]
www.ayilliath.8m.com
---
- Original Message -
From: Marcelo Caldas - CCSC [EMAIL PROTECTED]
Hi,
I have tried to run a simple struts web-app with this configuration (above).
I get then this exception:
$ Resin 2.0.0 (built Fri Jun 8 12:04:24 PDT 2001)
Copyright(c) 1998-2001 Caucho Technology. All rights reserved.
Starting Resin on Sat, 22 Dec 2001 08:44:50 +0100 (CET)
Begin event
38 matches
Mail list logo