Is this what you are looking for?
ActionForward cleanDisplay= new ActionForward("/myAction.do?");
cleanDisplay.setRedirect(true);
return cleanDisplay;
put that in your action and run it.
-Eric
-
To unsubscribe, e-
Here is what the error says:
*
Internet Explorer cannot download myAction.do?myparam=344 from
localhost
Internet Explorer was not able to open this Internet site. The
requested site is either un
>>> [EMAIL PROTECTED] 03/14/05 3:24 PM >>>
What could cause this error
See attached error message.
Why can't it find the site?
-Eric
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
What could cause this error
See attached error message.
Why can't it find the site?
-Eric
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
My app server runs on a unix box and I am getting lots of question marks
showing up in my JSP.
How do I fix this problem?
I downloaded the Programmers File Editor but it doesn't seem to help at
all.
-Eric
-
To unsubscribe, e-m
The execute method can be used to put code that will apply to all the
dispatched methods.
*---
public class BasicInfoAction extends DispatchAction {
private String thing1;
private String thing2;
public ActionForward execute(Ac
I have a question after reading this question.
What exactly does the filter=" do?
-Eric
>>> [EMAIL PROTECTED] 03/07/05 1:30 PM >>>
Hi,
I wanted to display label using . But I
need to filter(or allow) selected HTML tag. For example I have to
allow
tag but I have to filter alert("hi");
like th
,scrollbars=yes,width=790,height=600');
...isn't doing. And that is why it works and the js does not. ?
ANYONE KNOW WHAT THE DIFFERENCE IS?
-Eric
Eric Lemle wrote:
> Can anyone tell me why this
>
> target="ResumeAttachment">VeselovaNataliaECV
,scrollbars=yes,width=790,height=600');
...isn't doing. And that is why it works and the js does not. ?
ANYONE KNOW WHAT THE DIFFERENCE IS?
-Eric
Eric Lemle wrote:
> Can anyone tell me why this
>
> target="ResumeAttachment">VeselovaNataliaECV
I think if you use the tiles-defs.xml configuration properly you can
eliminate lots of files.
But I don't use that file yet.
-Eric
>>> [EMAIL PROTECTED] 3/2/2005 12:53:59 PM >>>
I do not think it's possible... I hope someone can
prove me wrong.
--- Daniel PC Leung <[EMAIL PROTECTED]> wrote:
> I
nd bean under name
org.apache.struts.taglib.html.BEAN'
What's wrong?
thanks
--- Eric Lemle <[EMAIL PROTECTED]> wrote:
> I think this is what you are looking for
>
> indexId="i">
> property="description" />
>
>
>
> -Eric
>
>
>
>
I think this is what you are looking for
-Eric
>>> [EMAIL PROTECTED] 3/2/2005 12:09:49 PM >>>
hi folks,
I am trying to iterate a through a Vector of object of
class Project where project has getter and setter
getDescription(),setDescription(),etc
In the jsp page I first created bean o
ACHMENT issue
Shot in the dark here:
IIRC, you don't need the ampersand after the initial question mark in
the request URL. Try killing that & see what happens...
Good luck,
-- Curtis
Eric Lemle wrote:
> Can anyone tell me why this
>
> target="ResumeAttach
killing that & see what happens...
Good luck,
-- Curtis
Eric Lemle wrote:
> Can anyone tell me why this
>
> target="ResumeAttachment">VeselovaNataliaECV.doc
>
> works perfectly.
>
>
> But this.
>
> function printAttachment( id, n
Can anyone tell me why this
VeselovaNataliaECV.doc
...works perfectly.
But this.
function printAttachment( id, name )
{
childWindow=window.open( 'AttachmentAction.do?&attachment_id='+id,
name,
'toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,
rote:
>Could it be accomplished by a single ActionForward with a path that
>specifies the attachments in a query string? Sorry, I don't exactly
>know what you mean by "attachments".
>
>Erik
>
>
>Eric Lemle wrote:
>
>>Is there a way I can have an action return m
Is there a way I can have an action return more than one action forward,
meaning some are going to be attachments and then the normal forward is
returned like usual?
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111
would happen if you removed it and just left it as
onClick='showlReport(81)'?
I thought the same thing, so I removed the javascript: but still have
same problem.
thanks though!!!
--
Take care,
NG
On Tue, 22 Feb 2005 13:09:10 -0700, Eric Lemle <[EMAIL PROTECTED]>
wrote:
> Ye
- e-mail: [EMAIL PROTECTED]
>>> [EMAIL PROTECTED] 2/22/2005 4:34:47 PM >>>
Which part are you agreeing with? Setting the hidden field to be
'pageB.jsp' and having the Action return
(mapping.findForward(request.getParameter("page"))?
- This wouldn' put al
sure you just forward to a .jsp or an Action.
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111
United States of America (USA)
(801) 442-3688 -- e-mail: [EMAIL PROTECTED]
>>> [EMAIL PROTECTED] 2/22/2005 4:15:43 PM >
e file to automatically print, or display the
print dialog? If so, I don't believe that's possible.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
Eric Lemle wrote:
> When downloading a file how do you get the users (client) co
Did you create a template.jsp that inserts the header, footer, nav, and
main tile?
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111
United States of America (USA)
(801) 442-3688 -- e-mail: [EMAIL PROTECTED]
>>> [EM
I gave you a snippet below that works for me, might help ya.
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111
United States of America (USA)
(801) 442-3688 -- e-mail: [EMAIL PROTECTED]
>>> [EMAIL PROTECTED] 2/22/2
It's a map, you have to call get("name");
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111
United States of America (USA)
(801) 442-3688 -- e-mail: [EMAIL PROTECTED]
>>> [EMAIL PROTECTED] 2/22/2005 1:38:02 PM >>>
He
When downloading a file how do you get the users (client) computer to
use the
print command/option instead of the open command/option.
(Maybe the the same way you get a desktop shortcut to print instead of
open when its double clicked on.)
relevant code...
private void downloadFile(String a
s though!!!
--
Take care,
NG
On Tue, 22 Feb 2005 13:09:10 -0700, Eric Lemle <[EMAIL PROTECTED]>
wrote:
> Yes, already did that, and it does not even get to the function.
> It seems to think the function is not there but it actually is. ???
>
>
> Eric D. Lemle
> Senior Pr
oftware Architect
Omnytex Technologies
http://www.omnytex.com
On Tue, February 22, 2005 2:40 pm, Eric Lemle said:
> I have an error on this line and it use to work...
>
> onClick='javascript:showIReport(81);' >
>
> the method is in the view source file
>
>
>
I have an error on this line and it use to work...
the method is in the view source file
function showIReport( id ) {
childWindow=window.open(
'SiteVisitAction.do?dispatch=display&imode=Modify&report=true&site_visit_id='+id,
'Itinerary_Report',
'toolbar=no,location=no,directories=no,
s of America (USA)
(801) 442-3688 -- e-mail: [EMAIL PROTECTED]
>>> Joe Germuska <[EMAIL PROTECTED]> 2/17/2005 3:46:56 PM >>>
At 10:30 PM + 2/17/05, Eric Lemle wrote:
>Tried
>
>/>
>
>but nothing shows up. Is this what you meant?
>
>So if I ge
/ Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111
United States of America (USA)
(801) 442-3688 -- e-mail: [EMAIL PROTECTED]
>>> Joe Germuska <[EMAIL PROTECTED]> 2/17/2005 3:46:56 PM >>>
At 10:30 PM + 2/17/05, Eric Lemle wr
-mail: [EMAIL PROTECTED]
>>> [EMAIL PROTECTED] 2/8/2005 2:20:29 PM >>>
At 2:15 PM -0700 2/8/05, Eric Lemle wrote:
>So how does one get the final HTML from two Actions into the same
page?
I am pretty sure that Tiles will do includes instead of forwards
where necessary so that y
I was referring to just the LabelValueBean class not the entire Struts
jar.
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111
United States of America (USA)
(801) 442-3688 -- e-mail: [EMAIL PROTECTED]
>>> [EMAIL PR
I would say,...
the LabelValueBean is just a data structure that could be in
java.util, so you could just put that class in your ejb layer if you
want.
Marrying is relative, aren't we all married to java.util anyway. If
you always have web clients it will be helpful and if not I don't think
it wi
If the session expires and then they click on something it runs the
action and then the action tries to get some info from the session
which causes a null pointer exception. Is there anyway to have a
pre-filter rather than a post-filter to send them to the page that
says,
says ex.-> 'your session
Try
in your action...
MessageResources
mr=(MessageResources)request.getAttribute("org.apache.struts.action.MESSAGE");
request.setAttribute("submitTag ", mr.getMessage("submitTag ") );
//put it in the request or session or in your form bean
the in the JSP... (maybe)
//bean version
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111
United States of America (USA)
(801) 442-3688 -- e-mail: [EMAIL PROTECTED]
>>> [EMAIL PROTECTED] 2/16/2005 11:23:51 AM >>>
Hi,
I'm new to the servlets/jsp/struts wo
I have several jsp's in the same folder.
They all have...
at the top.
but when one is used in a popup via window.open action
it does not find the .js.
I tried other paths and none work.
Where is struts going in this situation as far as a home path?
-Eric
Eric D. Lemle
Senior Programmer
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111
United States of America (USA)
(801) 442-3688 -- e-mail: [EMAIL PROTECTED]
>>> Eric Lemle 2/15/2005 5:10:00 PM >>>
STRUTS project.
OK I hav
In the jsp you can iterate your list and give unique identifier to each
one maybe via the index.
In the form bean you would have each of the unique names available.
May want to use the LazyDynaBean.
-Eric
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street,
Well, what I need is the results of complete actions, the final HTML and
I want to include a few of those in a report page. So tiles is not
really the solution
because you only get one action again.
-Eric
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street,
>From inside a filter how do I get the name of the jsp that was
requested?
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111
United States of America (USA)
(801) 442-3688 -- e-mail: [EMAIL PROTECTED]
een using this for a while. But with
another fw layer on top which allows passing up to 4 args. Are you
telling
me that struts never support this syntax in struts config since 1.1?
Where would I put parameter="dispatch"?
-Betty
-Original Message-
From: Eric Lemle [mailto:[EM
parameter="dispatch"
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111
United States of America (USA)
(801) 442-3688 -- e-mail: [EMAIL PROTECTED]
>>> [EMAIL PROTECTED] 2/11/2005 2:58:28 PM >>>
Does 1.2.4 support th
You can use the
dispatch=
for one argument but the others you must find a different way
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt Lake City, Utah 84111
United States of America (USA)
(801) 442-3688 -- e-mail: [EMAIL PROTECT
from Mailing LIST recipient
***
If you people are going to argue, please send it to each other, some of
us are glad its Friday and
don't give two hoots about a scriplet debate.
**
Eric D. Lemle
Senior Progr
Use the
>> [EMAIL PROTECTED] 2/9/2005 3:47:19 PM >>>
Hi,
I'm planning my approach to a data driven app that I have to write in
the near future. I've used struts before in more of a demo-type, proof
of concept scenarios, and am no where near and expert, but now need to
build a production level s
.jsp
Which should generate:
content1.jsp
Along with raising an IllegalStateException.
Eric Lemle wrote:
> I have a jsp. that has two included jsp's that are actually struts
> actions but the response only returns the first one.
> I have tried flush="false" (Doesn't matt
this might help, in your action not sure if this is in 1.1 either.
ActionForward cleanDisplay= new ActionForward("add your code here");
cleanDisplay.setRedirect(true);
return cleanDisplay;
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 110
I have a jsp. that has two included jsp's that are actually struts
actions but the response only returns the first one.
I have tried flush="false" (Doesn't matter)
I have tried the
Eric D. Lemle
Senior Programmer / Analyst
Intermountain Health Care
36 South State Street, Suite 1100
Salt La
50 matches
Mail list logo