Can you post your struts-config file here as well
--- sudip shrestha <[EMAIL PROTECTED]> wrote:
> Is there some sort of setting that I am missing
> here?
> I would appreciate any kind of help.
>
>
>
> --- Pat Slater <[EMAIL PROTECTED]> wrote:
>
Is there some sort of setting that I am missing here?
I would appreciate any kind of help.
--- Pat Slater <[EMAIL PROTECTED]> wrote:
> I have an method in a class that extends
> DispatchAction that throws Exception such as:
> public ActionForward saveMethod(ActionMapping
> mapping, ActionForm
I have situation here where one action method need to do a POST to another
method of a DispatchAction implementing class. I need to know if this is
possible.
I have a struts webapp that uploads file to a ftp web server and so one of
the POST variables is a Struts "FormFile" object. If it were just
Doing ftp file uploads in a struts webapp with jakarta-commons-net...did
bulk of google searchs...they all seem to go towards use of an applet
If anybody has any other ideas, I would be glad to hear.
I have a struts app that uses a Daemon thread (implements TimerTask) to run
at a periodic interval to do some background work. I am wondering if it is
possible to access application context from that daemon as I don't have
access to request/session variable from that daemon.
Also, is it possible to
I use struts dispatch actionwonder if this 'parameter' parameter will
affect my method 'parameter'
On 11/3/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> sudip shrestha <[EMAIL PROTECTED]> wrote on 11/03/2005 09:49:18 AM:
>
> > Is it
I have a struts action that downloads binary files from the database: e.g.:
/actions/download.do?fileId=xxx, etc
So, whenever users download any type of file with any id, the name of the
file displayed on any browser is "download.do",
is it possible to set something in the response, so that I c
Is it possible to display an intermediate page while struts action is doing
work...e.g. uploading a large file to a ftp serverand at the end of the
action will show the verfication/success page as usual.
I have a struts plugin that works wellbut I realized that it was not
executing the destroy() method when the tomcat-server was shutdown. I have a
timer that needs to run timertask at a certain interval and have implemented
timer.cancel() method inside the destroy() methodBut there seems no
Any suggestions on showing a preview of the image stored in the database?
I found one which is: storing the file in a temporary folder and
display from there...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Just curious if there are any struts based content managment tools out there!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.setHeader("Pragma", "public");
>response.setHeader("Cache-Control", "max-age=0");
>
> - Jim
>
> -Original Message-
> From: sudip shrestha [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 15, 2005 9:54 PM
> To: Struts Use
Hi : I have following code for automatic ssl-forwarding filter:
public void doFilter(ServletRequest servletrequest, ServletResponse
servletresponse, FilterChain filterchain)
throws IOException, ServletException
{
String s = servletrequest.getScheme();
if( !s.equalsIgnor
, Dave Newton <[EMAIL PROTECTED]> wrote:
> sudip shrestha wrote:
>
> >I can understand presenting different menu options based on user
> >privileges and having the same layout pages. But my concern is there
> >may be some pages which a user with less privileges may n
browser and if that particular page does not have the
authority-check not built into it, that user may be able to do stuff
on the page..I hope you know what I am saying.
On Apr 8, 2005 3:56 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> sudip shrestha wrote:
>
> >I have user types
for the
verification. This auth piece is at the top of the page, so I don't
see the page already outputting to the HTTP connection before this
script executes.
On Apr 8, 2005 11:55 AM, Dave Newton <[EMAIL PROTECTED]> wrote:
> sudip
Using: Tomcat 5.5.7, Sun JDK 1.5, Struts 1.2.4
--
I have few layout.jsp templates where I have following chuck of code
which should redirect the browser to login page if session expires:
<% String loginCheck = "notLoggedIn";
if( se
Working on: Fedora Core2, Sun jdk 1.5, Tomcat 5.5.7, Hibernate 2.1.6, AS/400-DB2
Take a look at the following two Queries:
#Hibernate generated query with Session.createQuery on SYS_CAT table:
select * from (
select rownumber() over() as row_, syscat0_.SYS_CAT_ID as SYS_CAT_ID
from SYS_CAT syscat
I changed the dialect to DB2400 from DB2, and it solved the problem.
On Thu, 24 Mar 2005 13:36:50 -0600, sudip shrestha <[EMAIL PROTECTED]> wrote:
> Working on: Fedora Core2, Sun jdk 1.5, Tomcat 5.5.7, Hibernate 2.1.6,
> AS/400-DB2
> Take a look at the following two Querie
les are given in the javadoc.
>
> Hubert
>
> On Mon, 14 Mar 2005 08:17:02 -0600, sudip shrestha <[EMAIL PROTECTED]> wrote:
> > I have certain situations when I have to forward the web page upon
> > success to a certaion action or to a page with url such that it has a
&
I have certain situations when I have to forward the web page upon
success to a certaion action or to a page with url such that it has a
query string with it: e.g.:
"/actions/myActionxx.do?wId=123" or "/pages/myPagexx.do?wId=123"
Now, I can't provide the query strings with ids in struts-config.xml
when I use jsp's forward directive in Firefox it works fine. but in
IE, I get a blank page and it does not seem to be doing anything! Is
it a bug in IE, any fixes?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
It seems that it is a bug with OS/400 R 5.1.
It has been documented before:
http://www-124.ibm.com/developerworks/bugs/?func=detailbug&bug_id=3160&group_id=29
On Mon, 31 Jan 2005 12:48:55 -0600, sudip shrestha <[EMAIL PROTECTED]> wrote:
> Using JDBC- JTOpen 4.6 for AS/4
Using JDBC- JTOpen 4.6 for AS/400 DB2
I have a PreparedStatement that inserts 25 values into a table with 25
attributes...
When I supply 23 or less attributes with values, the insert operation
works normally.
However, if I supply 24 or 25 attributes it throws an exception:
java.sql.SQLException:
JDOM: http://www.jdom.org/.
If you are new to xml-java parsing, then this is the way to go. When
I started learning about xml parsing with java a while ago, I
researched various methods and found that JDOM provides the easiest
route to get things done. A quote from JDOM mission: "It behaves like
-I have an element which has several option items.
-This is kind of unusual situation where I have to select multiple
option items instead of only one and submit that array of option items
to the struts action.
-The select element contains a lot of option items so using check
boxes and multiboxe
e รข Try My Yahoo!
> http://my.yahoo.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Thanx,
Sudip Shrestha
Bellevue, NE 68005
Using: Tomcat 5.0.28, Struts 1.2.4, jdk 1.5.0, hibernate 2.1.6
When I try to pass java.util.List parameter via
javax.servelet.HttpServletRequest from an action method to a .jsp
page, I get exception:
incompatible types
found : java.lang.Object
required: java.util.List
List result = reque
uration files.
>
> Thanks,
>
> -James
> [EMAIL PROTECTED]
> http://www.jamesholmes.com/struts/
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands,
I am trying this simple struts application here, that uses following:
and under :
However, I am getting following exceptions.I could not find
anything regarding this message in the archive.
Any help would be appreciated. I am wondering if this is being caused
by ta
30 matches
Mail list logo