hi...
i've created a string to time Conversion:
public Object convertValue(Map ctx, Object value, Class toType) {
if(toType==String.class){
return convert((Date) value);
}
if(toType==Date.class){
Str
Hi Laurie,
Thanks for info and help. The problem looks rare. We
load the example coming with Struts
(struts-mailreader), it works, which use struts. That
means application server is OK. The struts's ,
, and works fine except action
servlet. We think there is only a little issue
somewhere block
Hi,
is it possible to use FormFile with struts-faces integration library?
When I set enctype="multipart/form-data" it does not submit my form
anymore.
Thanks,
Rodrigo Pereira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
Felipe Rodrigues wrote:
Hi Laurie,
From your example I can see that the best way is to use the OGNL instead of
EL in Struts tags.
But, will OGNL work exactly as EL to get values from session, pageContext,
request and application?
I thought OGNL was only for Struts stack. I didn't realize that I
zuban wrote:
It is working if I type manualy ExampleSubmit.do?method=delete
(The delete-method in the action-class ist calling)
It is also working with this submit-button:
But why doesn't work
?
This should be the same like in this example:
http://struts.apache.org/1.x/strut
Sounds like a problem with your application server. Runtime Expressions
are handled by it, not by Struts, so I don't think this is a Struts issue.
L.
zuzg wrote:
I'm sorry, the seconde code has some typing error, is should be:
some other codes...
zuzg wrote:
I am using struts 1.2.8
in m
Jian Zhan wrote:
We have problem deploying Web application with
Tomcat5.5.7/Struts1.2.3 developed in Windows XP.
Everything works fine in several Window servers. When
deployed into Linux server Tomcat5.5.23, the index.jsp
forwards the request to Welcome.jsp like:
<%@ taglib uri="/tags/struts-log
--- meeboo <[EMAIL PROTECTED]> wrote:
> Damn it, I feel stupid now :p
At least it's transitory for you, I pretty much feel
stupid all the time :)
d.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.ya
Damn it, I feel stupid now :p
Thanks, and have a good weekend!
Dave Newton-4 wrote:
>
> --- meeboo <[EMAIL PROTECTED]> wrote:
>> Where is this blank line coming from?
>
> The newlines in your JSP. Put it all on one line; just
> because there's a JSP directive there doesn't mean it
> will jus
If you don't want line feeds in the output, why do you include them in the JSP?
Okay, sorry for the snarky response. :) The first time I saw this, it
threw me off as well, although it wasn't with generating XML. Now I
always use a different style in the declarations in my JSP. Here's the
correcte
--- meeboo <[EMAIL PROTECTED]> wrote:
> Where is this blank line coming from?
The newlines in your JSP. Put it all on one line; just
because there's a JSP directive there doesn't mean it
will just ignore the rest of the line.
Does your output create an XML declaration?
d.
__
Hey all
I am trying to output a RSS feed via a JSP page in S2. The problem is that I
keep on getting a blank row/new line before the actual XML data is written
to the page. The error message is "XML Parsing Error: xml declaration not at
start of external entity" because of this .
Here's the JSP
I'm planning to implement this next week.
musachy
On 5/5/07, Petit Pas De Lune <[EMAIL PROTECTED]> wrote:
On 5/3/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
>
> That dynamic. I don't think the tree supports that, although it wouldn't
> be
> hard to implement, using the collaped topics (head
--- zuban <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Request[/ExampleSubmit] does not contain handler
> parameter named 'method'. This may be caused by
> whitespace in the label text.
It could also be caused by there not being a form
value for the parameter named 'method' at all.
d.
Hi,
at first my code.
my DispatchAction-Class:
public class ExampleAction extends DispatchAction {
public ActionForward delete(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse
response) throws
Exception {
Sy
Are you asking because you're wondering how to have a
single instance of each account? (Is this homework?)
If so, even if the accounts you were creating in your
Action were static it wouldn't help, because the
action itself is instantiated on each request.
d.
--- Dave Newton <[EMAIL PROTECTED]>
--- MarcusFenix <[EMAIL PROTECTED]> wrote:
> could U tell me what`s "static instatiate"?
I don't really know; I think you're confused with
"static instance".
d.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
htt
--- David Harland <[EMAIL PROTECTED]> wrote:
> I have a list of contact objects and I am wrapping
> each object in a class has the id and a boolean for
> checkboxes. When I post the data and try to read to
> values I get the following error
ContactsWrapper probably just needs a default ctor.
http
All the time, I was thinking about that "staticly instatiate" means -
instatiate the object without using a "new" operator. And I was wrong :///
could U tell me what`s "static instatiate"? I`m search in google, but i
don`t find answer... This`s connotated with getInstanceOf method? Please,
give me
That is probably a good idea, I actually extended the existing one to
find required roles from an Annotation rather than the struts.xml
because I am trying to use "Zero Config." I also found a problem with
my solution, which is that the Servlet Filter does not seem to get
fired before JSPs are re
Hi,
I have a list of contact objects and I am wrapping each object in a class has
the id and a boolean for checkboxes. When I post the data and try to read to
values I get the following error
12:27:23,611 INFO [STDOUT] 12:27:23,611 ERROR [ParametersInterceptor]
ParametersInterceptor - [setPar
--- MarcusFenix <[EMAIL PROTECTED]> wrote:
> This error is because I try to staticly instatiate
> the Account class?
Where do you think you staticly instantiated the
Account class?
> public class Settings extends BankSupport{
> Account ac1, ac2, ac3;
>
> public Settings() {
>
On 5/3/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
That dynamic. I don't think the tree supports that, although it wouldn't
be
hard to implement, using the collaped topics (heads up, the notification
topics were broken in 2.0.6), and adding the nodes "by hand",
It was my idea, but i'm stuc
I'm sorry, the seconde code has some typing error, is should be:
some other codes...
zuzg wrote:
>
> I am using struts 1.2.8
> in my jsp file, I wrote such codes:
>
> some other codes...
>
>
> when running on tomcat5.0, it is ok, but when I depoy it on another
> middleware AS,I got an er
I am using struts 1.2.8
in my jsp file, I wrote such codes:
some other codes...
when running on tomcat5.0, it is ok, but when I depoy it on another
middleware AS,I got an error:invalide tag lib using, I can only change
value to a const like this:
some other codes...
it works.
I want to know
25 matches
Mail list logo