Try this.
It is 100% STRUTS. Other open source technologies used are itext (PDF
generator) and castor (Persistance and caching layer to the database).
http://www.teatimej.com
Logon: guest
password: guest
Regards
Michael
Dennis Muhlestein wrote:
http://www.datemate.com
On Wed, 2003-02-26 a
tsrv = new
com.consultech.helper.CustomerSrv();
custsrv.getCustRecords();
in com.consultech.helper.CustomerSrv
getCustRecords(){
db = castor. getDatabase();
db.begin();
// invoke a Object Query to get a list of customers
db.commit();
}
M
Hello
We are using Castor and have implemented a STRUTS based online reservation
system using CASTOR as our data access layer. Castor works well as the
functionalities it provides are non intrusive. What I meant is that it
provides a Mapping.xml file which maps your beans to each table (and even
ountString){
java.text.DecimalFormat def = new java.text.DecimalFormat("###.00");
this.setAmount(new java.math.BigDecimal(def.parse(amountString)));
}
Regards
Michael Mok
-Original Message-
From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]]
Sent: Thursday, 21 March 2002 12:40
Steve
I tried to compile your SecureRequestUtils code using servlet 2.1 and the
compiler says that "aRequest.getParameterMap()" does not exist.
Is your servletUtil based on Servlet 2.3?
Regards
Michael Mok
/**
* Creates query String from request body parameters
*/
John
We have implemented a couple of web applications using STRUTS and CASTOR.
Check out www.teatimej.com (framework and api include struts, castor, mysql
and itext)
Regards,
Michael Mok
-Original Message-
From: John Menke [mailto:[EMAIL PROTECTED]]
Sent: Friday, 22 February 2002
Hi Dave
Yes it should work with Netbeans 3.3.
Regards
Michael Mok
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 16 January 2002 2:55
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Execute Struts in Netbeans?
Has anyone
I have written a HOW-TO on this. You may want to read it first.
www.michaelmok.com
Michael Mok
Product Manager
FullyBooked
1306 Hay Street
West Perth
Western Australia 6005
Tel: 61 8 93221295
Fax: 61 8 94815281
Email: [EMAIL PROTECTED]
www.fullybooked.com.au
-Original Message-
From
assuming that the items in your lists rarely change as they
will only be loaded once. There are also ways which you can periodically
refresh the list if you are using them in a 24x7 operation.
Regards,
Michael Mok
-Original Message-
From: Sills, David [mailto:[EMAIL PROTECTED]]
Sent
Alex
Session.isNew() only help to a certain extent. I would check for existance
of objects that should exist in the Session.
eg
User user = session.getAttribute("user");
if (user == null) return mapping.findForward("logon");
Regards
Michael Mok
-Original Message--
If you can using Tomcat 4, you may want to use the filter mechanism. I have
not used it myself but there are a few good sample examples in the Tomcat 4
distribution.
It may not address your security issue but may be effective in stopping
authorised access to certain areas of the web site.
Regard
Lee
I have posted a How-To use Forte with STRUTS on my website.
www.michaelmok.com
Regards
Michael Mok
-Original Message-
From: Lee Torrence [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 1 November 2001 9:23
To: Struts Users Mailing List
Subject: Forte
I just started using Forte 3.0
Hi Matt
Here is the code I have written to redirect connection from HTTP to HTTPS
and vice versa
/*
*
*
* Function to perform HTTP and HTTPS redirection
* Author : Michael Mok ([EMAIL PROTECTED])
* Version : 1.0
*
*
*/
public static String getURL
Title: RE: Struts DB example
Bill
Check
out TeaTimeJ Web TimeSheet www.teatimej.com . It is a STRUTS 1.0+
based application and it uses Castor JDO to maintain records in a MySQL
database.
Regards
Michael Mok
-Original Message-From: Bill G
[mailto:[EMAIL PROTECTED]]Sent
I would not use scope="session" but in this case I have no other
choice. I would like to hear how you would go about overcoming this scenario
(ie still be able to pass beans to the jsp via the request object instead of
the session object) ?
Thanks in advance.
Michael Mok
www.teatimej.com
("login.succesful.key"));
saveMessages(request,messages);
In your JSP
Regards
Michael Mok
-Message d'origine-
De: storck [mailto:[EMAIL PROTECTED]]
Date: lundi 24 septembre 2001 10:07
À: User Struts (E-Mail)
Objet: User-messages from Action-Class to JSP
Hi,
maybe I
Malcolm
This is a current issue with EA Server 3.6.1 C2. From the sybase newsgroups,
the Sybase engineers are looking into it.
Regards
Michael Mok
www.teatimej.com
- Original Message -
From: "Malcolm Wise" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday
Hi all
This may be an off topic discussion. Craig mentioned about the need to make
session attributes thread safe.
What are the factors to look out for in order to make session attributes
thread safe?
Thanks in advance
Regards
Michael Mok
-Original Message-
From: Craig R
I downloaded struts nightly build 3/8/2001 and run
the struts-example. Tomcat 3.2.2 failed to start up this
application.
I notice that in this build, the commons jars are
included. Has anybody encountered this problem. It seems like the action servlet
fails to load.
Regards
Michael M
Here is another full featured example without console.
www.teatimej.com (Web Timesheet Management System).
It also uses Castor for O/R data binding and itext for dynamic PDF document
generation and JavaMail.
Regards
Michael Mok
www.teatimej.com
-Original Message-
From: Pan Li
Regards
Michael Mok
www.teatimej.com
- Original Message -
From: "Mary Jo Serrino" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 25, 2001 4:18 AM
Subject: Design Q - Select List Data of possible values of a business obj
mad) and
they are both running fine (built on STRUTS!).
Regards
Michael Mok
-Original Message-From: Rod Schmidt
[mailto:[EMAIL PROTECTED]]Sent: Thursday, 28 June 2001
14:28To: [EMAIL PROTECTED]Subject: Form
rendering problem
I'm using www.webappcabaret.com as a hostin
Title: RE: [ANNOUNCEMENT] Struts 1.0 (Final) Released
Congratulations to Craig and the team!
Cheers
Michael Mokwww.webappcabaret.com/teatimej
Hi Kat
In my struts-config
type="org.teatimej.timesheet.EditTimeSheetAction"
name="timesheetform"
scope="session">
This is how I iterate through my arraylist in my
jsp.
property="timeHeader.timeRow" type="org.teatimej.timesheet.dao
next action, STRUTS does not automatically
create the table1 bean nor the table2 bean though it creates the formbean
fine.
Any comments?
Regards
Michael Mok
www.webappcabaret.com/normad
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 12 June 2001 17:44
To
. Now you can access all the attributes of
OrderLineDetail inside your iterate loop.
Regards
Michael Mok
www.webappcabaret.com/normad
-Original Message-
From: Victor Chai [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 12 June 2001 16:09
To: [EMAIL PROTECTED]
Subject: Handling nested properties
Hi Victor
A high level sequence diagram
fillform.html ---> loadfirstpage.do ---> firstpage.jsp
firstpage.jsp --> savefirstpage.do --> loadsecondpage.do --> secondpage.jsp
secondpage.jsp --> savesecondpage.do --> loadthirdpage.do --> thirdpage.jsp
thirdpage.jsp --> savethirdpage.do.
See my respo
ot;mother" bean has all the values for your 3 forms.
Hope it makes sense.
Regards
Michael Mok
www.webappcabaret.com/normad
-Original Message-
From: suhas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 12 June 2001 16:13
To: [EMAIL PROTECTED]
Subject: Re: Handling Multipart forms (sort
. In this case, each form
beans can perform its validate method() and the form action class can copy
each form properties to the "mother" bean using PropertyUtil.copyProperty
method. Note you will need to store the "mother" bean into the session
object.
Regards
Michael Mok
www
Hi Timothy
Check your struts-config file to see if you have specified "scope=request"
in your action definition for processN1.
Regards
Michael Mok
www.webappcabaret.com/normad
-Original Message-
From: Timothy Hicks [mailto:[EMAIL PROTECTED]]
Sent: Monday, 11 June 2001 20:10
through your list.
The other option is to use the CacheResultSet from
sun but I have not venture into that area. There are a number of discussions in
this list about using the CacheResultSet.
Regards
Michael Mok
www.webappcabaret.com/normad
-Original Message-From: Jonathan
Hi Charlesworth
I think it should be more like this
Regards
Michael Mok
-Original Message-
From: Charlesworth, Chico [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 6 June 2001 16:09
To: '[EMAIL PROTECTED]'
Subject: a struts tag within another struts tag ...
d
my bean contain the following method
public long getStartDateTime() {
//
// return the Calender.getTime() component;
};
Cheers
Michael Mok
www.webappcabaret.com/teatimej
- Original Message -
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
am I total off the track?
Thanks in advance
Michael Mok
Hi Jeff
Try this
Regards,
Michael Mok
-Original
Message-
From: Jeff Trent
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 1 May 2001 9:26
To: [EMAIL PROTECTED]
Subject: How to embed bean:message
within a template
Newbie
here. Just wondering how
Hi Jens
The servlet engine to use is Tomcat 3.1.
Looking at your error message. It looks like you have placed your
struts-html.tld into the META-INF folder. Try placing it into your WEB-INF
folder.
Regards,
Michael Mok
-Original Message-
From: Jens Rehpöhler [mailto:[EMAIL
();
oos.close();
return new String(buf);
Any idea or workaround?
TIA
Michael Mok
www.webappcabaret.com/teatimej
ck to the form [e.g. formExample.getBeanArray(0).setCode(..) etc.]"
TIA
Regards,
Michael Mok
()
crs.setCommand("Select name,telephone from Contacts");
crs.execute(conn);
The "DATA_SOURCE_KEY" refers to the data-source property in your
struts-config.xml file.
Hope it helps
Michael Mok
www.webappcabaret.com/teatimej
- Original Message -
From: &q
Hi
How about this?
<<
<%int counter = 0;String s =
null;
String
beanpropertystart = null;String beanpropertystop =
null;
s.valueOf(counter);for (int i = 0; i <
myRoutingList.getRouteElements().size(); i++) {
beanpropertystart
Hi
Is the latest nightly build available for download
still at 24 Feb 2001? I went to the website this morning and notice that the
latest build is dated 24 Feb 2001.
TIA
Michael Mokwww.webappcabaret.com/teatimej
Regards
Michael Mok
www.webappcabaret.com/teatimej
-Original Message-
From: Ned Seagoon [mailto:[EMAIL PROTECTED]]
Sent: Friday, 2 February 2001 19:00
To: [EMAIL PROTECTED]
Subject: jsp rendering to session property for caching?
Hi all, wonder if you can help with ideas of how I can
recommend that you to upgrade to this version of
the JDBC driver.
Regards,
Michael Mok
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 1 February 2001 9:10
To: Struts List; Struts List
Subject: Re: Struts and MySQL
I've been using MySQL locally on Tomca
to include the serverport
when building the URL. However the server port may be a red herring.
Have I got off the rails?
TIA
Michael Mok
www.webappcabaret.com/teatimej
...
Regards
Michael Mok
www.webappcabaret.com/teatimej
- Original Message -
From: "Ted Husted" <[EMAIL PROTECTED]>
To: "Struts List" <[EMAIL PROTECTED]>
Sent: Sunday, January 28, 2001 5:24 AM
Subject: Nested Collection with Options Tag
> Th
Andi
Would you like to try it again and let me know? If you still encounter
problems please email me at [EMAIL PROTECTED] .
This topic should be taken offline.
Regards,
Michael Mok
www.webappcabaret.com/teatimej
- Original Message -
From: "Gehmeyr Andreas" <[EMAIL P
e a number of situations which would otherwise delay the
implementation of my application.
Regards
Michael Mok
www.webappcabaret.com/teatimej
- Original Message -
From: "Bielby, Randy J." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 24, 2001
Is it possible to extent the bean:write tag to handle index like the iterate
tag's offset ?
eg
Regards
Michael Mok
www.webappcabaret.com/teatimej
The code from the struts-test.war is below.
Test 4 - String Array And Indexed Lookups
Correct Value
Array Result
Indexed R
Teresa
Are you referring
to SO files as native runtime libraries for Solaries?
Michael Mok
Subject: RE:
Deploy WAR file with Weblogic 510 sp8 on Solaris 7
I have all of JAR files under "WEB-INF/lib". Only
the SO files are under "WEB-INF/lib/solaris"
tion.
TIA
Michael Mok
www.webappcabaret.com/teatimej
uot; attribute of the
tag (to breakup and display large datasets in my TeaTimeJ
application) and it works like a charm.
We should vote for this framework in the Java Developers Journal Readers
Choice Awards!
Cheers
Michael Mok
is passed and "forward" the
parameter to SQLDisplayRowResult.jsp.
When I run the code, the SQLResult.jsp is created but
SQLDisplayRowResult.jsp is not. Can anyone give me some advice as to how I
can sort this out?
My example are provided belo
administer their database structure.
Cheers
Michael Mok
displaying my rows in a HTML
)within the .
Maybe an enhancement can be made to the tag to take a style
sheet setting for specifying a row color combination of some sort or a new
tag for displaying collections.
Any opinion?
Michael Mok
Yes
Have a look at TeaTimeJ SQL Editor (www.webappcabaret.com/teatimej)
Logon as userid "teatimej" and password "yy". That servlet/jsp
application is written using STRUTS.
Regards
Michael Mok
-Original Message-
From: Aur Gal [mailto:[EMAIL PROTECTED]]
Sent:
55 matches
Mail list logo