Hello all,
I am having a little trouble reading a file off the server and displaying it
to the user for viewing. I am receiving the following error from explorer:
Internet explorer cannot download ...viewFile.do?fileId=8 from localhost.
Internet explorer was not able to open this internet site.
I have the following code in my struts config:
...
form-bean
name=jumpCenterForm
type=form.JumpCenterForm
/
...
...
action
path=/viewJumpCenter
type=action.ViewJumpCenterAction
scope=request
Hello all,
I have a page which list users. The page is displayed by requesting the
listUsers action. This action queries the database and places a Collection
of user objects into the request for the listUsers.jsp page to display
(Using the iterate tag).
For conversation sake, say this user
I have two struts actions:
insertIt - adds an item to the database. When successful, this
action forwards to the viewIt action putting the newly inserted items
itemId into the request.
viewIt - views an item by itemId (retrieves itemId from request)
When insertIt successfully
context?
_
Thank You
Mick Knutson
Sr. Designer - Project Trust
aUBS AG, Financial - Zürich
Office: +41 (0)1/234.42.75
Internal: 48194
Mobile: 079.726.14.26
_
-Original Message-
From: White, Joshua A (CASD, IT) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003
null.
When does this reference get set? Should I not be receiving null?
Joshua
-Original Message-
From: White, Joshua A (CASD, IT)
Sent: Wednesday, March 12, 2003 6:41 PM
To: 'Sri Sankaran'; Struts Users Mailing List
Subject: RE: servlet reference in form bean in null?
I
Hello All,
I thought I would be slick an attempt to cache the Collections used to
populate my forms drop down list boxes instead of hitting the database every
time (The values may change daily).
The problem is that the inherited servlet variable and the getServlet
method only return a reference
Hello all,
I am having trouble determining why the servlet reference in my formbean
is null. I have created a class BaseForm which extends ActionForm. Any
ideas?
Joshua
This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary,
the code to which you are referring.
Mark
-Original Message-
From: White, Joshua A (CASD, IT) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 4:16 PM
To: [EMAIL PROTECTED]
Subject: servlet reference in form bean in null?
Hello all,
I am having trouble determining why the servlet
Ok,
Imagine I have an object User (package test.UserVO) which contains another
object Address (package test.AddressVO)which has a String property city.
User and Address are both java beans. User has been placed in session
scope as UserVO.
How would I access the property city? I noticed that
If the forward attribute of the action element can take both an actual
path or a tiles definition to forward to, shouldn't the global forwards
element have similar functionality?
In Chuck Cavaness's book (Programming Jakarta Struts), he attempts to do
this on page 347. I just can't get it to
I received a javax.servlet.ServletException: Extra bytes at the end of the
class file when trying to get an instance of a singleton class
(someclass.getInstance()). What does this mean?
Joshua
This communication, including attachments, is for the exclusive use of
addressee and may contain
On Wed, 2003-03-05 at 08:03, White, Joshua A (CASD, IT) wrote:
I received a javax.servlet.ServletException: Extra bytes at the end of
the
class file when trying to get an instance of a singleton class
(someclass.getInstance()). What does this mean?
Joshua
This communication, including
I have successfully set up tiles using a tiles-def.xml file. In this file,
I have set up a definition for my.default.
I have been successfully able to view this layout by inserting the following
code into a jsp:
%@ taglib uri=struts-html prefix=html%
%@ taglib uri=struts-bean
?def=my.default
redirect=false/
So now you have a real url that points to a definition: /go.do?def=anydef.
Saludos, Nicolas.
-Original Message-
From: White, Joshua A (CASD, IT) [mailto:[EMAIL PROTECTED]
Sent: Martes, 04 de Marzo de 2003 17:28
To: [EMAIL PROTECTED]
Subject: Beginner Tiles
I have gotten this driver to work with mssql 2k and DBCP. Check it out!
Joshua
-Original Message-
From: David Bolsover [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 6:18 AM
To: Struts Users Mailing List
Subject: RE: [Microsoft][ODBC SQL Server Driver]Communication link
This is what I have done thus far:
1 Developed domain objects.
2 Developed persistence tier
Problem:
Where should the code which takes a key from a domain object (for example
orderTypeId) and looks it up in a database to get the corresponding values?
This type of logic doesn't really fit in the
Hello,
I am looking for an example of using a nested exception. I have started
reading through Chuck Cavaness' Programming Jakarta Struts book. He creates
a BaseException class which supports nested exceptions. So far, I have not
found where he uses it.
Does anyone use nested exceptions which
18 matches
Mail list logo