Client (see org.apache.commons.httpclient.*
packages) makes it pretty easy to make HTTP requests and get the response
back as a String.
-Original Message-
From: Jacob Wilson [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 4:28 PM
To: [EMAIL PROTECTED]
Subject: Convert JSP to static
Hi All...
I have a specific requirement in my project... I want to convert the JSP pages to
static html pages and save them in a local directory... How do I achieve this
functionality??? Any suggestions appreciated.
Thanks much.
-Jacob
-
Do you Yahoo!?
Hi All...
I have a specific requirement in my project... I want to convert the JSP pages to
static html pages and save them in a local directory... How do I achieve this
functionality??? Any suggestions appreciated.
Thanks much.
-Jacob
-
Do you Yahoo!?
- Original Message -
From: Jacob Wilson
To: Struts Users Mailing List
Sent: Friday, January 23, 2004 12:30 PM
Subject: JSP to static html...
Hi All...
I have a specific requirement in my project... I want to convert the JSP
pages to static html pages and save them in a local directory
Thanks Max. This sounds very good. Your saying that automatically creating an html
when the jsp is rendered sounds good. This should solve my problem. We are using
websphere 5.0. We are not using ant though...
If you can give me little more details on the configuration stuff and how to
Hello Everybody...
I have got this generic question... I wan't to use the onLoad event of the javascript
function to pre-populate values.For certain reasons, I cannot use the onLoad in the
body tag... Hence, I am using the onLoad in an img tag (just created a spacer image
specfically for
Hi...
I would appreciate if someone out there helps me with these basic JSTL questions...
1. In c:foreach how do I check whether the collection contains values??? When it has
values, it iterates a loop fine... Now, if I want to specify 'No records' how do I do
that???
2. How do I check
Hi Folks...
One more javascript question...
I have a page that consists of date fields as select boxes... say optionDay,
optionMonth, optionYear... I fill the selectboxes calling a javascript function...
Now if I have values of day, month, year executing an action. How can I default those
html tags to display the select boxes and populate the options lists
from collections. You can then set attributes in your form bean and have
these fields be defaulted automatically.
-Richard
-Original Message-
From: Jacob Wilson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2003 4
Richard...
I find this list to be more user friendly in terms of responding to questions... Also,
not that I do not use Struts at all... for this particular requirement of an old
project under maintenance, I am trying to do this... I consider this to be very much
knowledge sharing list and
('' + i + '');
You should put double quotes around the value parameter - its cleaner HTML:
document.write('' + i + '');
You might have to escape those - I'm not sure.
-Original Message-
From: Jacob Wilson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2003 5:00 PM
To: Struts Users
Vinitha,
Assume 'Tomcat\webapps\root' is your project folder...
Create separate folders of images, js, html, styles etc. and place the respective
files in the respective folders...
Place all your jsps in the root directly...
the web-inf should be in your root...
in the web-inf place
Hi...
Is it possible to send a value of a form element from the parent window to the child
window like this???
script
function go() {
var namVal = document.fm1.txtName.value;
var newwin=window.open(a.html?Name=namVal);
}
/script
form name=fm1 onSubmit=go()
input type=text name=txtName
Thanks Narayanan -- I tried this b4, but this will throw an error... Actually, you
need to pass a total string into the open method
Prashanth Narayanan [EMAIL PROTECTED] wrote:try
var newwin=window.open(a.html?Name=+namVal);
-Original Message-
From: Jacob Wilson [mailto:[EMAIL
-Original Message-
From: Jacob Wilson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 3:37 PM
To: [EMAIL PROTECTED]
Subject: javascript question...
Hi...
Is it possible to send a value of a form element from the
parent window to the child window like this???
function go
Im sorry guys... this way works...
var newwin=window.open(a.html?Name=+namVal);
Rabago, Hubert [EMAIL PROTECTED] wrote:
What error were you getting here?
-Original Message-
From: Jacob Wilson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 3:44 PM
To: Struts Users
Thanks Matt... It sure helped...
Actually, now, I tried to put it as a common function like...
function getValue(optionName, hiddenValue) {
var s = document.forms[0].optionName;
for (var i=0; is.options.length; i++) {
if ( s.options[i].value == hiddenValue ) {
s.options.length;i++) {
if(s.options[i].value == hiddenValue) {
s.options[i].selected = true;
break;
}
}
}
onsomeformevent=getValue(this.form,'foo','bar')
Cheers Mark
On Monday, October 20, 2003, at 07:55 AM, Jacob Wilson wrote:
Thanks Matt... It sure helped...
Actually, now, I tried to put
= form.optionName;
if 'optionName' was a valid name for a form element.
HTH,
-jeff
On Monday, October 20, 2003, at 08:55 AM, Jacob Wilson wrote:
Thanks for the help Mark... when I do this, it says
elements.optionName is not null or an object... Any clue??? Thanks!
Mark Lowe wrote:Those
things being like that.
I'd just pass the value of the element as an argument But my apologies
from not reading the question properly in the first place.
Cheers Mark
On Monday, October 20, 2003, at 03:38 PM, Jacob Wilson wrote:
I get that error when I pass the element name only !!
function
Hi...
This is a basic question... Can I find the index of a select box, if I have the value
or the text ???
select
option value=A selectedA/option
option value=BB/option
option value=CC/option
/select
If I have the value A or B or C -- Will it be possible for me to do something
like
Hi...
Is there any tld that is available to handle my input type=image apart from the
struts html tld???
I need to make the image disabled or enabled based on the security level that I will
be getting from DB...
I know we can do this thru the struts html tag lib werein we can set the
Hi,
I have a question regarding JSTL. Is there anyway to do sorting of the colums on a
table using JSTL.
I know there is one table tag that does sorting... But, does it sort all the values
that is present in the collection or does it do just page level sorting???
Is there any other tag libr
ary
Hi...
I am using Struts in my application. In one of my pages I am using core JSTL tag to
iterate a set of collection object (2 rows displayed per page) along
with next and previous links so that the other results could be viewed on the click of
next... The code is as follows...
c:set
24 matches
Mail list logo