Chitti pokala

Ranch Hand
+ Follow
since Jan 11, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Chitti pokala

Hi
I am accessing the constant from an Interface not from a class.
Please let me know how to access a constant from an interface within JSTL.

Thanks in advance.
19 years ago
JSP
can you please let me know what is scoped variable?

Thanks in advance.
19 years ago
JSP
Hi
I have a constant

public static final long PIN = 1;
which I am using in my jsp
var pin_no = -> %=CONSTANTS.PIN% -<

I am testing like this
-> c:if test="${form.state == pin_no}" -<

But I am not able to get the value.

Please let me know how to do access a constant in the JSP.

Thanks.
19 years ago
JSP
I have to have different hidden fields for different buttons or only one hidden field for all the buttons.
19 years ago
can you please give me some examples or websites where I can find more information on this.....
19 years ago
Hi
I have four different buttons on the JSP: Save, Submit, Return and Close.
These four buttons will save different data to the database.

Then how to write my action classes. Should I write seperate action class for every button
OR
One main action class and seperate methods for every button.

If so how to do this.

Please let me know.

Thanks in Advance.
19 years ago
Hi
How to check two conditions with c:if tag
for example
c:if test='${param.p}' && '${param.a}'>

How to use c:if tag for this type of condition.

Thanks in Advance.
19 years ago
JSP
td
input type="checkbox" name="notify" value="implementation"
c:if test="$(submitApproveActionForm.implementation == true)"
checked = "true" /c:if
="javascript:notifyOn(this);"
 Implementation
/td
I am trying to use checked="checked" but its notworking.

Please let met know how to do it........
I have a jsp where I have four checkboxes on it. And I have four boolean variables on my action form for these four checkboxes. If one them are written true(I am retrieving this values from database) I should show the checkbox checked.

Please let me know how to do.
I am using

c:if test =formname.variablenameonform checked /c:if
if is true I have check the check box.
Hi
I am using a date fucntion in jsp. I want to convert 2005-01-31 to 31-Jan-2005.

How can I convert this......

Thanks in Advance.
19 years ago
The problem is not with the js file because I am using the same js for normal html and it works fine. And I include this in my jsp its not working..........
yes, the js file linked well. I am that variable cal is null or not an object.

Please let me know....
Hi I am trying to use Calendar Popup in my JSP. But I am getting an error
cal is null or not an object

< script type="text/javascript" language="Javascript" src="<%=request.getContextPath()%>/js/calendarPopup.js"></script>
<SCRIPT LANGUAGE="JavaScript">

var cal = new CalendarPopup();
cal.showYearNavigation();
cal.showYearNavigationInput();

</SCRIPT>

<INPUT TYPE="text" NAME="date1" VALUE="18-Jan-2005" SIZE=25>
<A HREF="#" ="cal.select(date1,'anchor1','dd-NNN-yyyy'); return false;" NAME="anchor1" ID="anchor1"><img src="images/cal.gif" width="16" height="16" ></A>

Please let me know where I am wrong..............
Could anyone please tell me how to convert an xml to html?
Can we see the xml data in the html .......

Thanks in Advance.
19 years ago