gayatri umesh

Greenhorn
+ Follow
since Aug 26, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by gayatri umesh

ok.... i will try this..thanks....
14 years ago
JSP
In employeeMaintenance.jsp, i gave


In servlet i gave,


Here when i print the value of obj, i get the value of employeeID of first record always...
14 years ago
JSP
The value for that radio button should be the employee ID?
14 years ago
JSP
//employeeMaintenance.jsp


This is my jsp which displays a table of values... Here, i choose one of the rows by selecting the radio button and click Update.. the control transfers to the servlet... I want to get the values of the fields displayed in the table in the jsp page(select, employeeID,first name, last name, phone number, auth level) in the servlet and display them in text boxes in another jsp page(editEmployee.jsp)...

//editEmployee.jsp


Kindly tell me a solution how to get the table values in the servlet.........
14 years ago
JSP
All that i get is this information 'No Locale Resolver Configured'.. guide me as to what can be done...
//styleDetail.jsp



//ProductController.java



When i run the above code, a table is displayed with links. when i click on the link, the control is passed to the servlet 'ProductController' and i want to get the value of the link i have clicked.... If suppose the link clicked is 'ABC', this value should be read in the servlet..When i run the above code, the value of 'obj' is printed as 4 irrespective of any link i click in the jsp. Kindly help with a solution.....
14 years ago
JSP
i gave System.out.println() and the output prints in the console..I am using RAD..I tried displaying the value using PrintWriter object also....
14 years ago
When i run the jsp, and click the link 'A', it goes to the ProductController servlet....but nothing is displayed....
14 years ago
I meant i tried Using request.getParameter() ins ervlet. But the selectedValue is not printed.
14 years ago
JSP

In servlet, i gave this

Nothing is printed....kindly help......
14 years ago
ok.. will follow from now..can you help me with a solution?
14 years ago
JSP
I tried this way..... but it doesnt read the value of the link... i printed the value and saw.. nothin gets printed..... kindly temme wat can i do?
14 years ago
JSP
should i give it as

<a href="ProductController?selectedValue="A" target="right">A</a>

Then in the servlet, use request.getParameter("selectedValue");
14 years ago
JSP
i tried using link taglib to display a grid of links.........

<%@ taglib uri="/WEB-INF/lib/linktaglib.tld" prefix="go" %>
<html>
...
<go:link href="ProductController">
<go:setText>A</go:setText>
<go:setParameter name="A"></go:setParameter>
</go:link>
...
</html>

When i execute this on the server, i get a linkage error.... The error is:

Error 500:java.lang.LinkageError:Linkage Error while defining class:com.cj.link.LinkTag
could not be defined due to: com/cj/link/LinkTag/(Unsupported majorminor version 49.0)
This is often caused by ahving a class defined at multiple locations within class loader hierarchy. Other potential causes include compiling against an older/newer version of the class that has an incompatible method signature.

please help.....
<%@ taglib uri="/WEB-INF/lib/pagertaglib.tld" prefix="pg" %>
<pg:pager export="currentPageNumber=pageNumber">
<pg:item>
my search data..
</pg:item>
<pg:index>
<pg:pages><%
if (pageNumber.intValue() < 10) {
%> <%
}
if (pageNumber == currentPageNumber) {
%><b><%= pageNumber %></b><%
} else {
%><a href="<%= pageUrl %>"><%= pageNumber %></a><%
}
%>
</pg:pages>
</pg:index>
</pg:pager>

When i run this on the server, it takes indefinite time to load... When i give stop loading current page, the first 10 results are displayed but the links to the next pages dont appear...... Kindly guide how to solve....I am using websphere application server 6.... working in rationl application developer........

I also tried using <pg:paging> tag

//styleDetails1.jsp
<%@ taglib uri="/WEB_INF/lib/pager-taglib.tld" prefix="pg"%>
<pg:paging pageSize="2">
<pg:item>
my logic..</pg:item>
<pg:index>
<pg:page><%=thisPage%></pg:page>
</pg:index>
</pg:paging>

here, the results are displayed for the first page and the links for the next pages are displayed... but when i click on the link to any of the next pages, it says web page cannot be displayed and the error is:
Could not invoke service() method on servlet /styleDetails1.jsp
Exception thrown:java.lang.NullPointerException

Kindly help!!!