Then you have other problems because that should be a freebie with struts.
-Original Message-
From: sjones [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 9:47 AM
To: [EMAIL PROTECTED]
Subject: Re: bean-write
there is no "default" value for loginID
I am trying to "re-display" t
Title: Message
Hi,I wan't to parameter my html:text tag with a
properties' file.Switching between true and false, but with my
properties.The problem was i don't know how to write a messageRessource
into a Bean:tag ...The same probleme than Vangelis Konstantinis this
morning.I don't know if i
Mark, my ArrayList is a list of another value object beans which has few
string properties.
In my JSP I use and display all fields in the array, of course I
make them editable.
When I submit the button, I would think struts is smart enought to move the
form in HttpServletRequest back to the Dyna
Hi I agree with you .. But see ..below you have created a definition
"doc.login" .. So your content (body) JSP is "login.jsp" .
Count this as one .
Now You need a JSP to insert this definition . .. Say index.jsp ..
My index.jsp will look something like this ..
<%@ page language="java" %>
<%@ tagl
I think this question was asked before and (one of) the answer was to add a
listener to your config so that the application can reload it. But if its
something that might change often then having it in a class with
getter/setters makes more sense.
-Tim
-Original Message-
From: Witbeck, Sh
Hello. I have to evaluate what we're going to use, Struts, OpenCMS,
some other system... I don't have much experience with JSP etc yet.
The Struts tag libraries look cool. Is it possible to use them outside
of Struts, say by dropping them into a OpenCMS project? Or do they
depend on having the Str
Does anyone have experiences with Struts running on an IBM mainframe?
I'm particularly interested in WebSphere 4.0 (z/OS, *not* z/Linux).
I've tried to find anything in the archive, but I only found
references on WebSphere running on Wintel, Linux or Solaris. Since
WebSphere on z/OS is only 99.9% c
Check Arron's NeXt tutorials at KeyboardMonkey.
--> http://www.keyboardmonkey.com/pilotlight/index.jsp?content=yesplease
Chris Hatton
On Mon, 2 Jun 2003 17:08:48 -0400, Franck Lefebure <[EMAIL PROTECTED]>
wrote:
Hi,
I've a sorted ArrayList of beans eg : Foo {key, country, town}
1 - USA - NewYo
Don't use Strut-Config for this.
Look at Tiles instead. As for dynamically update you can combine Tiles with
Logic to show and display what you want.
-Tim
-Original Message-
From: Haytham Samad [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2003 5:01 PM
To: Struts Users Mailing List
Subj
I guess you've all been here, so can you answer this?
you have do a 'finally' to ensure you close the connection/release it back
to the pool.
In the controller tier this is easy, get the connection in the
Filter/RequestProcessor/Action when whatever returns you can finally close
it.
However this
Hey all,
A bit philisophical I suppose, but we've integrated some
legacy apps into a Struts application, and they return their
data as an XML document.
In a previous version of the app, the JSP made the legacy
call (gakk!), and then performed an XSL transform to display
the info to the user. (I di
hi,
i am using struts 1.1 with ejb on weblogic7.1
i frequently get this error while working with the web
application
<101017>
<[ServletContext(id=4550717,name=cwbweb,context-path=/cwbweb)] Root
cause of
ServletEx
You could raise the memory size of your VM via the -Xms128m -Xmx128m
arguments.
It's just Weblogic, the memory hog, telling you that it has run out of
memory. It seems to me that there's some sort of memory leak when hot
deploying.
-Josh
-Original Message-
From: Nagendra Kumar O V S [
Ideally, you should store the document on file system, the better place for
PDF BUT you may some weird requirement
Anyway, if you are adamant on doing this.
--first way--
0. create a field in your database with blob data type. (I have MySQL) but
oracle/ mssql7 all have this data type.
1. generat
Please send email to [EMAIL PROTECTED]
Thanks,
Christine Keel
Marine Life Cycle and Solutions
Intergraph Corporation
170 Graphics Drive
Madison, AL
Phone: 256-730-7194
Email: [EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03,
hi jason,
try using pushlets. they may look odd in their use but they can solve your
purpose.
-navjot singh
|-Original Message-
|From: Jason Meredith [mailto:[EMAIL PROTECTED]
|Sent: Tuesday, June 03, 2003 5:19 PM
|To: Struts Users Mailing List
|Subject: Intelligent Refresh/Reloading
|
|
This comes when weblogic runs out of memory.
If this happens often, then I would look at the code and check for any
bad looping thats going on.
-Original Message-
From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 9:15 AM
To: [EMAIL PROTECTED]
Subject:
I have two routines in my data layer that close connections; one takes an
exception as a parameter and the other doesn't. My data layer objects open
their own connections and close them when they're done. (Actually, routines
that populate/read DTOs from/to the data layer make the calls)
publ
Right, your index.jsp is my plain_layout.jsp. You only see it once right?
And every page is built from that template. So, like I said, at first you
have a few "extra" pages.
Oh, looking closely I see...
You don't need to insert a definition in a page. You use the definition in
the mappings.
I think you're still missing something.
Now you have the tiles named in the tiles-config file,
you can name them as the input or forward in the struts-config
file. You don't have to have a page that does nothing but
include other pages. There may be some page generated
on your behalf, but you don'
For ???
-Original Message-
From: Keel, Christine C [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 7:45 PM
To: Struts Users Mailing List
Subject: RE: Tiles Two JSP's for Displaying One Form .
Please send email to [EMAIL PROTECTED]
Thanks,
Christine Keel
Marine Life Cycle and Sol
honestly, it depends upon your approach.
if you see transformation from callback perspectives, they should be part of
presentation later (may be as part of the taglibs) but if you have servlets
that does generates the XML as well as XSL then runs the
XMLTransformer.transform() (could be filtered)
You should be using the JSTL for many of your custom tags anyways. I think
the Struts html taglib is only useful with Struts but I've never tried using
it outside of Struts.
David
Hello. I have to evaluate what we're going to use, Struts, OpenCMS,
some other system... I don't have much experie
I don't see that one the API anywhere.
As a matter of fact, it's been recommended several times on this list to
overwrite execute for just this reason. :-/
-Tim
-Original Message-
From: sjones [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2003 5:39 PM
To: [EMAIL PROTECTED]
Subject: Re:
Setting the conn, rs, and s pointers to null in this method is pointless and
confuses Java newbies.
David
public static void closeconn (java.sql.Connection conn,
java.sql.Statement s, java.sql.ResultSet rs) throws java.sql.SQLException {
try {
if (rs != null) {
nagi,
Besides the previously mentioned errors, I sometimes get this error when I'm working
in my development environment and I have changed a class and not restarted my server.
I have not used 7.1 much so I don't know if this could be your error , we're on 6.1
and see it occasionally althou
function check()
{
var inputvalue = document.getElementById("item").value;
alert( inputvalue );
}
dont worry that it says get element by id. it actually checks both name and
id.
another way to do it is:
function check()
{
var inputvalue = document.getElementsByName("item")
OK, Im missing something. Doesn't matter. Every time I want new page I only
create one JSP now that my template is set up. That's all I care about.
And it works great. Usually people who are missing something don't have
their stuff working. As far as I am concerned my stuff works.
Thanks for yo
Sorry, sent to the wrong place.
Thanks,
Christine Keel
Marine Life Cycle and Solutions
Intergraph Corporation
170 Graphics Drive
Madison, AL
Phone: 256-730-7194
Email: [EMAIL PROTECTED]
-Original Message-
From: Nimish Chourey , Tidel Park - Chennai
[mailto:[EMAIL PROTECTED]
Sent: Tuesd
Yes .. now you exacly understand my problem ..
See these form pages are direct links from the Menu and not result of some
action ..
I mean there is no form Submission and no action .. Just a link is clicked
..
Can you give an example for that .. if possible ..I mean how I can avoid
writing index.
Nope .. my index.jsp is not your plain_layout.jsp .. have a close look at it
again ..
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 7:39 PM
To: 'Struts Users Mailing List'
Subject: RE: Tiles Two JSP's for Displaying One Form .
Right, yo
OK, so Java isn't my first language, busted...
- Original Message -
From: "David Graham" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 03, 2003 10:25 AM
Subject: Re: [OT] data layer, try-catch-finally, connections
> Setting the conn, rs, and s pointers to null in this m
No, Shane, not you! You're doing fine, or at least if not, then
we're both missing the same thing! Sorry, I guess I replied to
your e-mail rather than Nishish's
-jeff
On Tuesday, June 3, 2003, at 09:20 AM, Bailey, Shane C. wrote:
OK, Im missing something. Doesn't matter. Every time I want new p
Hi all,
when trying to make a password field required using the validator, the javascript
doesn't seem to work.
The server side validation does work. Strangely, the javascript validation works in
the same form for text fields.
Anyone ever encountered this before?
Am I just doing something wro
Hi,
If you go by the tiles Definition approach, you just write one jsp per page and U dont
need to write another jsp which will assemble all jsps together(in most of the cases).
And the task of assembling the various portions for the page(In case of a classic
layout, the header,footer,menu and c
Everything is pass by value, even pointers :-).
David
OK, so Java isn't my first language, busted...
- Original Message -
From: "David Graham" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 03, 2003 10:25 AM
Subject: Re: [OT] data layer, try-catch-finally, connections
So if it is just a link, can't you create a forward action that points
to a definition in your tiles-config.xml?
for example:
where order_entry.catalog.ChooseCategory is mapped to a JSP in my
tile-config.xml
no?
i think I need to throw in the towel :)
-jeff
On Tuesday, June
I'm guessing that what you really want is to be able to do either
a) some reverse engineering/documentation
or
b) a site map type function
because navigation in a Struts app is absolutely based on action mapping and
tiles config.
That said (and without a clearer question), I will give some very
You're probably doing something wrong - it works fine for me.
Matt
-Original Message-
From: Brian McSweeney [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 8:42 AM
To: Struts Users Mailing List
Subject: validator with password fields
Hi all,
when trying to make a password field
Javascript for password fields is intentionally limited for security
reasons. The only javascript validation that runs on password fields is the
required check. What version are you using?
David
Hi all,
when trying to make a password field required using the validator, the
javascript doesn'
there is also a class called "HTMLButton" that was suggested.
I haven't quite figured it out yet. maybe you will have better luck.
goto: http://j2ee.lagnada.com/struts/html-buttons.htm
"Nadja Senoucci" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello everyone,
>
> if I want
it's weblogic, not struts. it appears that hot-deploy does not free up
resources upon redeploying an application.
we are working with a fairly large application. Most of the developers
here have resorted to restarting the server between redeploys because it
is almost guaranteed to hose up afte
Hi,
I'm new to this group. I'm a java developer working currently on projects
for the Norwegian National Lottery.
In an input form, I'm trying to validate user input on the client, making
sure that the values are integers. My problem is that no message is
presented for "errors.integer", only for
has any body used this class, can you please
give you please explain it more in depth than the author.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
U can do that..
Create a globel forward(Because if you are using forwards with links, they have to be
global forwards.)
Then create a action mapping for the path.
Here the screen forwarding action does nothing but just does a forward to
successTHis can be used any where jus
What class?
--
James Mitchell
Software Developer/Struts Evangelist
http://www.struts-atlanta.org
- Original Message -
From: "sjones" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 03, 2003 11:05 AM
Subject: Html Buttons and Struts
> has any body used this class, ca
I have a bean with an indexed property, that is myBean.getItem(int i). I
can't find a way to access that property, using struts, struts-el nor
jstl. I tried the following:
Where ind is the indexId attribute of an ordinary logic:iterate struts
tag. (and c is the prefix for the core jstl tag downl
I am on a page. There are a list of pdf files on the page. If a user
clicks on a pdf file, I want him to be redirected to a login page if he
is not logged in.
However this doesnt seem to be happening even with filters. Does the
click on a pdf file not recognized as a request?
Verify that the PDF is
I'm setting redirect=true on an ActionForward to
remove the request parameters which do not correspond
to the form named in the mapping for the path. This
works nicely, but it appears as if anything I need to
get into the new form needs to be a request parameter,
as a result. Is this true? If I
I sent this once before, but with the wrong email account. If this gets
posted twice, I'm sorry.
I have a validation that should be failing (under certain conditions),
but is not. I've double checked and triple checked to make sure the
setup is correct, and it's still not working correctly.
S
Jeff,
I see we are in agreement. :)
Anyway, if the guy thinks of a def as a JSP (which it is completed) then he
shouldn't go to it directly from another JSP. It is Model 1 to do such
things. So I just thought about how Tiles almost forces Model 2!!
-Original Message-
From: Jeff Kys
since the collection in your case is not accessible except via a method that
requires a parameter you can not do this using just jstl or even struts.
the best way to do it is to expose your collection with a getXXX method.
That way the syntax you used will work.
JSP 2.0 *should* solve your problem
yep, that's it. I see that the required field is the only one that works.
Can you tell me why this is?
- Original Message -
From: "David Graham" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 03, 2003 4:02 PM
Subject: Re: validator with password fields
> Javascript for p
this class
/**
* Copyright 2001-2003 Antonio W. Lagnada. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above c
Hi Renato,
hard to say when you don't write what kind of error you got. Exception?
Or nothing shown?
Dont't you forget to add bean to context (session, request,...)?
And, maybe it's typo, but... don't you forget quotes in value attribute?
-juraj.
-Original Message-
From: Renato Rom
Thanks for catching this! Please file a bug report so we don't forget to
fix it.
Thanks,
David
I have a validation that should be failing (under certain conditions),
but is not. I've double checked and triple checked to make sure the
setup is correct, and it's still not working correctly.
So, I
there's some ReloadDefinitions class in the API
-Oorspronkelijk bericht-
Van: Witbeck, Shane [mailto:[EMAIL PROTECTED]
Verzonden: dinsdag 3 juni 2003 15:38
Aan: [EMAIL PROTECTED]
Onderwerp: changing tiles-config.xml from within an app?
Does anyone have any experience with changing a tile
The way I have handled the problem in the past is to create a servlet
streaming out the pdf and then I have complete control over
authorizations. I would set the mime types to the pdf and then browser
will treat it properly.
-Original Message-
From: John Brayton [mailto:[EMAIL PROTECTED]
btw this question was answered on the JSTL (Taglibs) list.
I just gave a recap of the answer. If you want a more thorough explanation
you can find it in the archives.
-Tim
-Original Message-
From: Chen, Gin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 11:35 AM
To: 'Struts Users M
I have an application where a user logs in and what is presented to
them depends on what organization they belong to.
Things like the web page title, labels, images, etc. are different for
different organizations.
I'm thinking that I'd like to create application resources from the
login action t
here is a link: http://j2ee.lagnada.com/struts/html-buttons.htm
"sjones" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> has any body used this class, can you please
>
> give you please explain it more in depth than the author.
-
javascript is clientside. Therefore, any password you validate in javascript
can easily be seen by a person using view source.
Having:
function validatePassword()
{
return password == 'open sesame';
}
is not very good security.
-Tim
-Original Message-
From: Brian McSweeney [mailt
If you are using jstl don't use logic-iterate;
rather use
then you can have
or if it is straight string you can have
Renato Romano wrote:
I have a bean with an indexed property, that is myBean.getItem(int i). I
can't find a way to access that property, using struts, struts-el nor
jstl. I tr
yes, it worked.
I have one problem, though: passing dynamic value to the function I call in
javascript.
This is what I have:
I would like to replace that 'D' with something like <%=choice%>, for the
user to be able to select the letter (there
This is not a standard struts class.
Shouldn't you email the author directly?
-Tim
-Original Message-
From: sjones [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 11:36 AM
To: [EMAIL PROTECTED]
Subject: Re: Html Buttons and Struts
this class
/**
* Copyright 2001-2003 Antonio W.
OK, you're right!! Here are the first lines from stackTrace from tomcat
log:
javax.servlet.ServletException: An error occurred while evaluating
custom action attribute "value" with value
"${bd.actionDescription[ind]}": Unable to find a value for
"actionDescription" in object of class "Bord
Florian:
Is there a "nice" way? Well, that's a stretch. But you can create an
instance of java.text.NumberFormat for the user's specific locale (which
should be available in the session scope as
session.getAttribute(Action.LOCALE_KEY)). Then use the parse() method of
NumberFormat to convert Strings
This should work
Panchasheel
-Original Message-
From: Alawadhi, Mona [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 11:50 AM
To: 'Struts Users Mailing List'
Subject: taglibs - nonstatic javascript value
yes, it worked.
I have one
If you placed a Map in the context you can reference items in the Map by
the key. Example would be to place a Map with a key of "ID" and some
value into context. You can reference the value by calling
. This is useful when you can't write
a bean.
On Tue, 2003-06-03 at 09:41, Chen, Gin wrote:
I would just put a bean:write instead on the D.
"');
document.forms[0].submit(); ">
-Original Message-
From: Alawadhi, Mona [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 10:50 AM
To: 'Struts Users Mailing List'
Subject: taglibs
Ah... I see.
thanks!
- Original Message -
From: "Chen, Gin" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, June 03, 2003 4:44 PM
Subject: RE: validator with password fields
> javascript is clientside. Therefore, any password you validate in
javas
sorry my previous answer was based on method calling.
since this is an index called though it can be done via:
http://jakarta.apache.org/struts/faqs/indexedprops.html
-Tim
-Original Message-
From: Chen, Gin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 11:42 AM
To: 'Struts Users
Panchasheel,
I've tried it. It doesn't work. It takes '<%=choice.toString()%>' as a whole
string, it does not replace it by the letter I want.
Actually, if you write this, and try to hover over the link, you will see:
'javascript:setHiddenletter('<%choice.toString()%>')'
INSTEAD OF
Raible, Matt wrote:
I just downloaded and installed Struts from last night (6/02/2003). Now I'm
getting deprecation errors for ValidationUtil, yet the API docs say nothing
about what it's been replaced with (http://tinyurl.com/dac9). Any ideas?
Also, ValidatorResources has a couple deprecated me
> Am I correct in assuming that the following condition
> "((value != null) && (value.length() > 0))" should be
> "(!GenericValidator.isBlankOrNull(value))". The reason my check is
> failing is due to the fact the value I'm checking is all
> white space (at certain times), and is selected from
FYI for anyone interested:
-
MessageResources resources = getResources(request);
String message = resources.getMessage("error.verisign." + resultCode);
if (message == null) {
// Use the default error text
message = resources.getMessage("error.verisign.default");
}
Markus Holzem wrote:
Does anyone have experiences with Struts running on an IBM mainframe?
I'm particularly interested in WebSphere 4.0 (z/OS, *not* z/Linux).
I've tried to find anything in the archive, but I only found
references on WebSphere running on Wintel, Linux or Solaris. Since
WebSphere o
Varun,
I've tried to put that in, but it still doesn't work:
it cuts it when it comes to those double quotes, so, my href would be =
"javascript:setHiddenLetter('".
So, it doesn't like those quotes.
I've tried removing them and putting them in single quotes, I'm back to that
same problem. It rea
Try this, this should work.
'); document.forms[0].submit(); ">
-Original Message-
From: Alawadhi, Mona [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 11:23 AM
To: 'Struts Users Mailing List'
Subject: RE: taglibs - nonstatic javasc
I'm using a Map-backed action form to render dynamic pages.
I'm having a problem with checkboxes, using the html:multibox
tag. If I display 3 choices and check two, only the first one is
detected and sent to the back-end. After pressing Submit, it appears
that the ActionForm setter stores the f
Hi folks;
I have a customer complains the IE 6 sp1 times out the session after he is logged in
the app. I tried to reproduce it but I can't. Have anybody experienced this?
Billy Ng
default timeout is 30 mins.
are you sure its ie 6 or just him running into the default?
-Tim
-Original Message-
From: Billy Ng [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 1:06 PM
To: Struts Users Mailing List
Subject: IE 6 timeout session
Hi folks;
I have a customer complai
we have a similar situation, IE version 6.00.28 in particular which is
preinstalled in new Windows XP
All the information in the Session is lost when downloading a document(.doc
or any other) in new window.
Panchasheel
-Original Message-
From: Billy Ng [mailto:[EMAIL PROTECTED]
Sent: Tu
It does not care the timeout in the server.xml. After the guy logged in to
the app, he would be returned to the login page if he clicked on anything.
This means his session expired or the session is null. It only happens on
the IE 6 SP-1.
Billy Ng
- Original Message -
From: "Chen, Gin"
eliminating "property" doesn't do it!
-Original Message-
From: Varun Garg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 12:35 PM
To: 'Struts Users Mailing List'
Subject: RE: taglibs - nonstatic javascript value
Try this, this should work.
'); document.forms[0].s
I changes it to use rather than and removed the extra ".
You can use the property or not depending on your requirement.
-Original Message-
From: Alawadhi, Mona [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 12:15 PM
To: 'Struts Users Mailing List'
Subject: RE: taglibs - nonst
Probably Cookies were blocked.
IE 6 has this popup when a page requires cookies it asks if you want to
accept it.
Even though you are using Session it is detected as a cookie (because thats
what it is :).
He probably selected to block it.
Tell him to look on the status bar at the bottom (view->stat
Can somebody explain me what is the best practice if I want to use the same
form (JSP page/fragment)
for executing different action.
For example I want to have "add" and "edit" action which will be processed
differently,
but the form for entering data will be the same.
I tried to use form as >>Ti
Yes, thank you.
So, this means that it is impossible to do it with struts taglibs?
-Original Message-
From: Varun Garg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 1:18 PM
To: 'Struts Users Mailing List'
Subject: RE: taglibs - nonstatic javascript value
I changes it to use rat
I did not say it is impossible, the thing is that you are trying to use
tag inside tag and that is causing some problems, I am just suggesting a
quick solutions.
Also, when you start getting into custom javascript, you are not really
following struts at that point.
-Original Message-
This is an OK approach to encapsulating related business 'stuff'.
The acid test is whether your business classes import anything from the
Struts or HTTP packages. So long as this is not the case, then your
business classes are keeping the presentation tier at arm's length.
Likewise, if your Str
Hi,
I am aware of how to store the contents to the database. What i am really interested
is how to capture the output of the servlet. Forget PDF, assume that the Servlet is
just serving a normal html content. After the servlet has given this to the response,
how to capture this as a byte stream
What's is the easiest way of using the Struts Resources (messages)
which are normally accessible through tag in a custom tag
library.
I want to have something like:
where message.id is a key in properties files.
Michal
The only way a servlet writes is when it uses a PrintWriter. So you have
complete control over what you are sending out.
If you are on the client side then you need to what type of client, if
it is a java client then you could use a URL object to create a
connection and then get the output.
Take a look at bean:include
http://jakarta.apache.org/struts/userGuide/struts-bean.html#include
--
James Mitchell
Software Developer/Struts Evangelist
http://www.struts-atlanta.org
- Original Message -
From: "Rajesh P" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTE
in your doStart method of mytag source you would write
String message = RequestUtils.message(pageContext, this.bundle,
this.localeKey, label);
and print that message
Panchasheel
-Original Message-
From: Michal Maczka [mailto:[EMAI
If I decided to pass a dynamic value using javascript in struts tag libs,
it's not doable, right? regardless of using another taglib or not.
-Original Message-
From: Varun Garg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 1:26 PM
To: 'Struts Users Mailing List'
Subject: RE: tagli
I had a problem with this version and Tomcat request parameters. The
Content-type of the form submitted by IE was
'application/x-www-form-url-encoded,application/x-www-form-url-encoded' instead
of 'application/x-www-form-url-encoded'. As a result, Tomcat wouldn't parse
out the request parameters
The easiest way is to look at how it's done with struts custom tags.
Download the source or just browse cvs:
http://cvs.apache.org/viewcvs.cgi/jakarta-struts/src/share/org/apache/struts/taglib/bean/MessageTag.java?rev=HEAD&content-type=text/vnd.viewcvs-markup
--
James Mitchell
Software Developer
You can create a java.net.URL to the servlet in question from within your app. server
if you like, and just execute getContent(). Put whatever it returns into the
database. I've created internal servlet proxies like this a couple of times to
workaround various problems.
All of this begs the q
1 - 100 of 230 matches
Mail list logo