Hello Sridhar,
Hm.. But why do you place validate=false attribute to the action
mapping? I think it switch off validate process.
validateSet to true if the validate() method of the form bean
should be called prior to calling this action, or set to
hi all,
I'm a neu STRUTS 1.03b user. I would like to get all keys from the
MessageResources object. I used the struts version 0.53 and got the keys as
follows
MessageResources resources = null;
try {
resources = MessageResources.getMessageResources(MyResources);
} catch
I have placed the CSS file in my struts-bbnpa( named
web app) and not directly in WEB-INF directory. but as follows -
/struts-bbnpa/css/bbnpa.css" same level as WEB-INF
I have used the LINK tag as the href the client's browser should
not be able to access the style sheet. as demonstrated - works
Hi All,
Form based auth is something that I have just been looking at, so I thought
I'd add my two pennies worth.
My login form is using struts html, bean and template tags (no html:form)
and all appears ok. My template has an adapted version of the checkLogin tag
provided with the
Hi, i have been developing the struts-trail examples from www.bluestone.com/scritps/
and a one stage everything was working albeit not now .
The classpath for my form bean etc (struts-bbnpa/WEB-INF/classes/logon/logonForm.java)
struts-bbnpa is my wep app i am aware that the .java are the
Hi all,
I'm using the struts library for quite some time now and I'm very
pleased with it.
What I want to do is display a HTML form in which users can update
values that are stored in an array.
The values are displayed using the iterate tag. However to store the new
value I need the index of
Hi, does anyone no why i now reciveve the following invalid package declarations
My Package classpath is struts-bbnpa/WEB-INF/classes/org/breconbeacons/class.java
struts-bbnpa the name of my webapp.
I have declared package org.breaconbeacons;
// top of java classes.
Sorry 4 keeping on Cheers
I'm having trouble to bring the struts-example application to work with resin-1.2.7
under linux. With Win2K it runs just fine, but when doing the same installation under
linux, I always catch the exceptions appended at the end of this mail.
According to Scott Ferguson (developer of resin),
Hi,
I've some new questions
to GenericDataSource.
I put this in the struts-config.xml
data-sources
data-source
autoCommit=false
description=Example Data Source Configuration
driverClass=sun.jdbc.odbc.JdbcOdbcDriver
maxCount=4
minCount=2
Hi,
I have an Action-Class, which generates a Graphics-Object and want to
display it as image by a JSP, without saving it as file.
Is there any idea?
Gruß
Michael
--
Java - write once, run anywhere
how about using advanced imaging apis ?
suhas
- Original Message -
From: Kommineni, Sateesh (IndSys) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 13, 2001 12:25 PM
Subject: RE: Graphics-Object
Hi..
With thehelp of JPEGEncoder and BufferedImage Classes you can
Hi,
Not sure how correct this is but.. when you use DataSource.getConnection ()
in struts your connection will be popped of a pool.
You are responsible for closing statements and the connection when you have
finished with it. These may close automatically when they go out of scope,
but I
You need to call close() on the connection to return
it to the connection pool. It will not go back to the
pool just because you loose a reference to it. It is
important to catch exceptions and have a finally block
that makes sure this happens so connections don't get
lost.
David
---
Hi,
I want to hang the Graphics-Object for example on the HttpSession and read
it from the JSP by the html:img- or other tag.
Will it work and how?
Gruß
Michael
--
Java - write once, run anywhere
|+-
|| suhas|
||
It took me another day to find the small errors (I was
not referencing the form bean correctly in the jsp) but your code snippets
really helped. I think I finally
understand how to retrieve a property from a form and iterate through
it.
Thanks again
Kat
-Original Message-From:
I had a similar problm that went away after I
deleted the temp war files (the servlets that are generated from the
jsp)
- Original Message -
From:
Chuck Amadi
To: [EMAIL PROTECTED]
Sent: Wednesday, June 13, 2001 4:56
AM
Subject: errors during parsing""
Hi, i have checked my struts-config and i noticed that the action mappings
reads below.
Thus my classpath is
struts-bbnpa/WEB-INF/classes/org/breconbeacons/it/class.java
struts-bbnpa the name of my webapp.
I have declared package org.breaconbeacons.it ;
// top of java classes page
!-- The
Hi Jon. i was reading about this form based auth, and I wondered if you
could explain some things to me. Is form based auth just a combination of
an element declared by the web.xml and a line or two in the java code?
- Original Message -
From: Jon.Ridgway [EMAIL PROTECTED]
To: [EMAIL
Hi
The main utilization of .do arises with the html:link... tag. '.do' is used only to call a mapping not to call a jsp. If u wanted to call a mapping through a link we can'tcall it as '/mappingname'.We can callit only as '/mappingname.do' . For clarity see the following code.
html:link
should be
for UNIX/LINUX
/struts-bbnpa/WEB-INF/classes
or
for Windows
c:\struts-bbnpa\WEB-INF\classes
- Original Message -
From:
Chuck Amadi
To: [EMAIL PROTECTED]
Sent: Wednesday, June 13, 2001 8:26
AM
Subject: help with package
struts-classpath
Hi, i have
Hi, Im a newbie myself albeit i did managed to succeed in the generi datasource
URI example.
1) the Struts manages to make a connection via the url IP address for
example mine is -
sql:url>jdbc:postgresql: / /111.15.1.10/test1/sql:url>
// test1 the name of my database in postgresql. thus you
Ok, I'm feeling totally lost.
Here is a snippet from my
struts-config.xml
action-mappings action
path="/servicemanager"
type="com.instanton.secureex.web.action.service.ListServiceAction"
forward name="success"
path="/service/listservices.jsp"/
/action
...
/action-mappings
now in a
Hi Jonathan,
Snip from
http://java.sun.com/j2ee/blueprints/packaging_deployment/descriptors/index.h
tml#1035772
'Form-based authentication is the preferred mechanism for authenticating
application users in the J2EE platformThe security-constraint element
specifies that the URL
oops me again i 4 got to mention that there is a set of interfaces that
connection pools implement ie
javax.sqlDatasource
javax.sql.ConnectionPoolDatasource
javax.sql.PooledConnection.
Thus you have the JDBC 2.0 Connection pool note that DBtags has replaced
JDBC tag library you may continue to
Thanx 4 confirmation
Thus i believe that i must amend the mapping file struts-config.xml
from - org.apache.struts.actions.javaClass
to - org/breconbeacons/it/class.java is this
correct procedure in
Cheers Chuck
Jonathan Asbell wrote:
Part 1.1 Type: Plain
Text (text/plain)
Encoding:
I was
having similar problem.
make
sure you have import tags in your jsp
%@
page import="com.dgsystems.dgonline.bmo.OrgSummary" %%@ page
import="java.util.*" %
%@
taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %%@ taglib
uri="/WEB-INF/struts-html.tld" prefix="html" %%@ taglib
Hi!
Use the html:form
action="" tag instead of the html:link="" tag in the jsp page;
html:form
action="/servicemanager.do"
Maby this can help???
/L
- Original Message -
From:
Mike Thompson
To: [EMAIL PROTECTED]
Sent: Wednesday, June 13, 2001 3:24
PM
Sorry, anwser to the 1st question , the fact is the session is closed is
because by default there is a 30 minute time out somewhere in xml doc's
either tld or struts-config i'll have 2 take a look as im digesting all this
at work and at home but there is definately a time out period.
Hope this
Yeah, I have those included in
/service/listservices.jsp
%@page
contentType="text/html"%%@ taglib uri='/WEB-INF/struts-template.tld'
prefix='template' %%@ taglib uri='/WEB-INF/struts-html.tld'
prefix='html' %%@ taglib uri="/WEB-INF/struts-bean.tld"
prefix="bean" %%@ taglib
No. Sorry for the confusion. In the
struts-config.xml you are correct. Your CLASSPATH, however, mist be as I
said. Your CLASSPATH should best be defined in the startup script of your
webserver or app server, whichever one you are using with struts.
- Original Message -
From:
Hi,
Today is my first day I try to play with Struts using Visual Age V3.5.3.
I try settingup and running the EmployeeList example application from IBM in
the WTE of VAJ.
I get the following exception when I try to run the application :
can't remove attributes from servlet
which seems to be
You can either link to a javascript file:
SCRIPT language=JavaScript src=myJavascriptFile.js/SCRIPT
Or include the javascript code directly:
SCRIPT language=JavaScript
function myFunct() {}
/SCRIPT
and call methods from whichever event you want: onLoad, onClick, etc
HTH,
Pete
Craig R. McClanahan wrote:
Struts does not currently support multiple controllers in the
same web app (although there is an outstanding enhancement
request in the bug tracking system for just this feature).
Ugh. This is really bad news for me. By the fact that the name of the
looks to me there is nothing wrong. could you share the error you got?
that will be an easier way.
Leo
-Original Message-
From: Mike Thompson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 13, 2001 10:02 AM
To: [EMAIL PROTECTED]
Subject: Re: action help
Yeah, I have those included
but it's not a form in the page, just a standard
hyperlink...
--m
- Original Message -
From:
Linnea Ahlbeck
To: [EMAIL PROTECTED]
Sent: Wednesday, June 13, 2001 8:56
AM
Subject: Re: action help
Hi!
Use the html:form
action="" tag instead of the
I'm trying to use javascript to submit a form. The javascrip function get
called, but the form is not submited (i.e. the ActionClass doesn't execute)
Here is my jsp.
.
script language=JavaScript
function transmitMessage(msgAction) {
document.orderRegularForm.action =
a 404 is generated :( No exception page or
anything.
- Original Message -
From:
Dan Marina
To: [EMAIL PROTECTED]
Sent: Wednesday, June 13, 2001 9:12
AM
Subject: Re: action help
what kind of error is generated by tomcat ? could you provide
an extract from
Hi Tom,
Welcome to Struts...
Try editing org.apache.struts.taglib.FormTag.doEndTag as follows :
// Remove the page scope attributes we created
pageContext.getRequest().removeAttribute(Constants.BEAN_KEY);
pageContext.getRequest().removeAttribute(Constants.FORM_KEY);
Jon.
I was just looking at this yesterday...
If you are using struts 1.0-beta-3, and assuming you
are using the WebSphere servlet container, then you
probably got bit by the change for bug report #932:
--- Additional Comments From Nick Chalko 2001-05-07 11:31 ---
Running Struts from
Hi Tom,
Read this included thread and follow the links identified. I am pretty sure that it
covers your problem and potential fixes. It reads best if you start with the bottom
and then read the top. To summarize, this is a known bug with VAJ and it has to do
with the version of Jasper they
I don't believe you need to pass the form object to the submit functionjust
document.orderRegularForm.submit();
Hope this helps,
Todd
[EMAIL PROTECTED] 6/13/01 10:28
I'm trying to use javascript to submit a form. The javascrip function get
called, but the form is not submited (i.e. the
Hi,
i'm not a javascript-specialist, but something like this is working for me:
a
href=javascript:document.forms[0].action.value='Create';document.forms[0].submit();
Am Mittwoch, 13. Juni 2001 16:28 schrieben Sie:
I'm trying to use javascript to submit a form. The javascrip
function get
to submit a form with Javascript you have to use some thing like :
form.submit(); [window.document.forms[i].submit()]
it does not take any parameters.
try this :
script language=JavaScript
function transmitMessage(msgAction) {
document.orderRegularForm.action =
Looks like javascript does not know the name of your form.
I have not used the html:form tag before, but from looking at the code, it does
not look like having the form named in your
xml document is going to set the form name. The html:form tag takes an
attribute 'name' that you could set:
Hi all,
I am facing a problem when using Javascript with html:link. Below is the
jsp code segment and the html that was generated. My problem is that the
jsessionid is being generated and this is messing up my webpage. I keep
getting javascript errors. Any help on an alternate suggestion would
Sorry about this what happens regarding the action path="/admin/addFormBean"
as im about to amended the type="org.breconbeacons.it.AddFormBeanAction.
cheers chuck
action path="/admin/addFormBean"
type="org.apache.struts.actions.AddFormBeanAction"/>
action path="/admin/addForward"
try to look in logs files on your hdd, in $tomcat/logs/logserror
files .
there you'll find all erors.
do you have the same error with tomcat 3 ?
At 09:25 AM 6/13/2001 -0500, you wrote:
a 404 is
generated :( No exception page or anything.
- Original Message -
From: Dan Marina
To:
You have my example a little wrong, but I get it. My XxxDBM.java files
perform database operations on qualified beans.
In my example, a qualified bean would usually implement the interface that
defines the bean, but you're saying that I could create a generic bean with
or without the interface,
Now I found a reason for my trouble: I had a copy of struts.jar in $RESIN_HOME/lib
instead of having it only in my application's WEB-INF/lib. This caused resin not to
find any application classes. After deleting struts.jar from $RESIN_HOME/lib
everything works fine.
It costs me half a day to
Don't change those action types. Those are default classes provided in
struts.jar. Open struts.jar with WinZip and you'll see the classes in there.
They are for dynamic, run-time administration of your webapp and are not
required at all.
--
Dan Miser
http://www.distribucon.com
- Original
I've looked there is nothing :(
Manager[/SecureExWeb]: Seeding random number generator class
java.security.SecureRandomManager[/SecureExWeb]: Seeding of random number
generator has been completedContextConfig[/SecureExWeb]: Added certificates
- request attribute
Hi,
I tried using error-page element in web.xml to forward user to a message
page within the application if exception occurs, but it doesnt seem to work
on websphere
and HP-bluestone application servers.
Has anyone succesfully used it with any of these containers?
Thanks
Puneet
We're trying to deploy our Struts application to WebSphere 3.5.4, and are
running into problems with what appears to be an outdated version of Jasper
shipping with WebSphere. I'm wondering if others have seen similar problems.
[Note: we've been doing development using Tomcat 3.2.1, with no
thanks to everyone that reply and read my mail. I changed my input
statement and it works.
input type=image name=submit src=images/search.gif value=Submit
onClick=transmitMessage('Submit Order')
I'm amaze that there are many generous developers out there. I feel honor
to be on this mailing
Hi John,
This problem has been discussed many times in this mailgroup, you aren't alone! I
guess there are quite a few servlet engines that are using an old version of Jasper.
You might want to check the mailgroup archives, here is a link to a thread that
discusses alternatives -- and a
I have a question similar to Mark Kettner's.
Could someone give an update on the iterate tag, and where it stands with the
ability to get hold of the current index.
I need to have each field in each table row with a different name (ie include
the index in it) to reference particular one using
I am using the
security-constraint tag in web.xml to protect access to my
pages.
Ihave
beenunable to use this method to restrict access to specific requests, say
'action1.do'. I assume this is because only the resources are protected (i.e.
the actual JSPs).
The upshot is that I
am
In Tomcat 3.2.1 the session timeout is set in $JAKARTA_HOME/build/tomcat/conf/web.xml.
HTH...
Date: Wed, 13 Jun 2001 14:51:21 +0100
To: [EMAIL PROTECTED]
From: Chuck Amadi [EMAIL PROTECTED]
Subject: Re: GenericDataSource
Message-ID: [EMAIL PROTECTED]
Sorry, anwser to the 1st question ,
On Wed, 13 Jun 2001, Jon.Ridgway wrote:
Hi All,
Form based auth is something that I have just been looking at, so I thought
I'd add my two pennies worth.
My login form is using struts html, bean and template tags (no html:form)
and all appears ok. My template has an adapted version of
On Wed, 13 Jun 2001, Felix von Delius wrote:
I'm having trouble to bring the struts-example application to work with resin-1.2.7
under linux. With Win2K it runs just fine, but when doing the same installation under
linux, I always catch the exceptions appended at the end of this mail.
On Wed, 13 Jun 2001, Geddes, Mark (ANTS) wrote:
I am using the security-constraint tag in web.xml to protect access to my
pages.
I have been unable to use this method to restrict access to specific
requests, say 'action1.do'. I assume this is because only the resources are
protected (i.e.
On Wed, 13 Jun 2001, Mark Johnson wrote:
In Tomcat 3.2.1 the session timeout is set in
$JAKARTA_HOME/build/tomcat/conf/web.xml. HTH...
Actually, the *default* timeout can be set in your own web.xml file:
session-config
session-timeout 45 /session-timeout !-- minutes --
Hello. I am trying to implement internationalized rollover buttons using
html:link. To do this, I'm trying to use quotes three levels deep and I
guess that's illegal in Javascript. For example, for onmouseover, if I
try to extract the source name from the resource file, I try:
Hi Jon,
I know that WebLogic gets rid of these after authentication.
--Abraham
-Original Message-
From: Jon.Ridgway [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 13, 2001 1:51 AM
To: [EMAIL PROTECTED]
Subject: RE: Form-based Authentication
Hi All,
Form based auth is
Thanks, Steve, for the gentle pointer to a previously discussed topic ;-)
Sorry, I must have been asleep when that thread was going past.
Does anyone know why IBM and others would be so slow and/or reluctant to
upgrade their tools with software that's freely available, and is improving
their own
On Wed, 13 Jun 2001, Michael Schommer wrote:
Hi,
I want to hang the Graphics-Object for example on the HttpSession and read
it from the JSP by the html:img- or other tag.
Will it work and how?
The fundamental concept is that an Action can, in fact, create the
response itself, if it
Hi Kiet,
I think you need to sprinkle some alerts through out your transmitMessage
function. You also might want to change:
document.orderRegularForm.submit(document.orderRegularForm);
to:
document.orderRegularForm.submit();
and finally do a View Source on your page to make sure the form
On Wed, 13 Jun 2001, Brugge, John wrote:
Thanks, Steve, for the gentle pointer to a previously discussed topic ;-)
Sorry, I must have been asleep when that thread was going past.
Does anyone know why IBM and others would be so slow and/or reluctant to
upgrade their tools with software
Try looking in www.mail-archive.com under struts-user for the keywords
Grid or Matrix. You'll find some material there.
- Original Message -
From: Shamdasani Nimmi-ANS004 [EMAIL PROTECTED]
To: struts-user@jakarta. apache. org (E-mail)
[EMAIL PROTECTED]
Sent: Wednesday, June 13, 2001
In the struts-example, there is an OrganizationForm, and an Organization bean. They
have identical fields and getters and setters. Why is the logic duplicated in both
places? Couldn't OrganizationForm extend Organization, or have a organization bean
in it that you could reference from a form
An AppServer contains many components. The WebSphere
team cannot simply upgrade to the latest and greatest
of each component each time it comes out. Think of all
the incompatibilities (or code deprecation) that
they'd have to resolve. By the time you upgrade to the
latest version, who's to say
Title: How do make sure that the ActionForward will be on the whole screen
Here is my problem
I have a frameset. There is a button on the bottom frame. When the user click on the button, the frameset need to be replaced with a non-frameset JSP page. How should I do this?
Do I do this in
I believe the url-pattern in your servlet mapping should be *.do, not /*.do.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Mike Thompson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 13, 2001 6:24 AM
Subject: action help
Ok, I'm feeling totally lost.
Thank you S much for posting that. I have been wondering for quite
a while why I can't get any of my application class to be found.
Thanks Again,
Dallas
I can't speak officially for IBM on this, but the short answer is testing.
Building an application server is an enormous undertaking. The application
servers themselves are some of the biggest Java applications on the planet.
We're easily talking about close to a million lines of code. As such
On Wed, 13 Jun 2001, Martin Cooper wrote:
I believe the url-pattern in your servlet mapping should be *.do, not /*.do.
There was a bug in the deploytool for J2EE RI 1.3-beta-1 that caused these
mappings to be created incorrectly (/*.do). It's been fixed in the
recently released
On Wed, 13 Jun 2001, Ryan Cornia wrote:
In the struts-example, there is an OrganizationForm, and an
Organization bean. They have identical fields and getters and setters.
Why is the logic duplicated in both places? Couldn't OrganizationForm
extend Organization, or have a organization bean
What do I need to do to get off of this mailing list? It's
overflowing my inbox!
On Wed, 13 Jun 2001, Felix von Delius wrote:
I'm having trouble to bring the struts-example application to work
with resin-1.2.7 under linux. With Win2K it runs just fine, but when
doing the same installation under linux, I always catch the exceptions
appended at the end of this mail.
I'm trying to re-write the example included in the struts package. I made
some changes to the code and now when I try to bring the registration.jsp
with an action=Edit. I get an error: No getter method for property
mypropertyname of bean mybeanname. I change what I think is everything I
needed to
To remove your address from the list, send a message to:
mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED]
hope it helps
-r
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 13, 2001 6:45 PM
To: [EMAIL PROTECTED]
Subject: mailing list
a new mailbox ?
;^
- Original Message -
From:
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 13, 2001 2:45
PM
Subject: mailing list
What do I need
to do to get off of this mailing list? It's overflowing my
inbox!
On Wed, 13 Jun 2001, Gus Delgado wrote:
I'm trying to re-write the example included in the struts package. I made
some changes to the code and now when I try to bring the registration.jsp
with an action=Edit. I get an error: No getter method for property
mypropertyname of bean mybeanname.
I don't think that JavaScript is your problem. Once the JSP page is
processed, the javaScript should look just like it does when you hardcode
the value into it. Looks to me like your application resource bundle may
have the key (header.simpleQueryImageSourceR) mistyped. Try just this
line
Hi,
I work in a company where 90% of all applications being developed are mostly
data-entry kinda applications (so a lot of data input, validations on that
data ... and readonly views of that data)
A lot of our clients 'heard' of J2EE and they insist on using J2EE for their
new applications,
Hello Steve,
Wednesday, June 13, 2001, 9:10:39 PM, you wrote:
SAD Hello. I am trying to implement internationalized rollover buttons using
SAD html:link. To do this, I'm trying to use quotes three levels deep and I
SAD guess that's illegal in Javascript. For example, for onmouseover, if I
SAD
Hello Gus,
Wednesday, June 13, 2001, 11:03:05 PM, you wrote:
GD I'm trying to re-write the example included in the struts package. I made
GD some changes to the code and now when I try to bring the registration.jsp
GD with an action=Edit. I get an error: No getter method for property
GD
For the people who didn't read this email when they
initially subscribed...please read for hints on
administrivia.
--- [EMAIL PROTECTED] wrote:
Date: 22 Feb 2001 04:24:28 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: WELCOME to [EMAIL PROTECTED]
Hi! This is the ezmlm
Craig:
What's wrong with changing the offending lines to:
pageContext.getRequest().removeAttribute(Constants.BEAN_KEY);
pageContext.getRequest().removeAttribute(Constants.FORM_KEY);
from:
pageContext.removeAttribute(Constants.BEAN_KEY,
PageContext.REQUEST_SCOPE);
My app is mostly data entry and struts works very nice. It nicely separates
the presentation and business logic. Its session and forms management
powerful, yet not complicated to understand.
I had develop framework similar to struts using WebMacro instead of JSP.
The html files are cleanner,
On Wed, 13 Jun 2001, David Janovy wrote:
Craig:
What's wrong with changing the offending lines to:
pageContext.getRequest().removeAttribute(Constants.BEAN_KEY);
pageContext.getRequest().removeAttribute(Constants.FORM_KEY);
from:
pageContext.removeAttribute(Constants.BEAN_KEY,
Thanks for the context setting, Kyle. I'm sure that the WebSphere code base
is mind-boggling big, compared to what most of us work on.
It might be easier to swallow, though, if WebSphere's J2EE compliance
weren't so loudly trumpeted. Plainly, they're not fully compliant with JSP
1.1. And it's
The iPlanet 4.1 web server is not able to find the Struts taglibs
(error below).
I saw a previous thread on this but with no conclusive info.
It seems iPlanet 4.1 does not fully support WAR files and so
the taglibs must be deployed in JAR files.
Has anyone resolved this issue ?
--
Chuck,
Make sure the name of your Form class is LogonForm,
with a capital "L"
-Original Message-From: Chuck Amadi
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 13, 2001
4:57 AMTo: [EMAIL PROTECTED]Subject: errors
during parsing"" struts-logon example-www.bluestone.comHi,
i have
Hello,
I am having a recurring problem with struts and jdbc. The demo
driver I am using, inet's Sprinta200, only allows 2 connections. I have
my data source max set to 1, but I still get errors from the driver:
java.sql.SQLException: [TDS Driver]Too many connections :3
at
Hello all,
Well, I've had it. I just successfully formed an ulcer.
I think I've read 10 different ideas to get Struts working under WTE, each
of which says it will work! but you know what, NONE OF THEM DO!
Each time I try something new, I start with a base workspace (stripped down
to almost
Title: How do make sure that the ActionForward will be on the whole screen
Joyce,
I do not think there is a struts way of doing this but
you could return a page with Javascript in it to reload the parent frame of your
child frame.
You
will need to double check my syntax ;^ )
SCRIPT
The best practice is to first validate the incoming data entry using the
Strut's ActionForm beans. There is a Validation servlet available that
automates much of this using regular expressions, and generates checks
using both client-side Javascript and server-side Java code.
Then, the Strings
In an anchor:
A href=myNewPage.html target=_toplink text/A
or in a button (parent frame):
INPUT name=blah
onClick=javascript:window.parent.document.location.replace('myNewPage.html')
or in a button, uppermost frame (in cases of multiple framesets):
INPUT name=blah
As I stated in my BOF at JavaOne, we intend to release Struts 1.0
(final) on June 15 ... that is, this Friday. At the moment, we're down to
two outstanding bug reports (plus a bunch of enhancement requests for
future versions). If you have any more issues with Struts that you feel
should be
1 - 100 of 135 matches
Mail list logo