varaprasad mutyala

Greenhorn
+ Follow
since Jun 11, 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 varaprasad mutyala

Hi friends,

i am using Struts 2,

in my jsp i am showing all Users details of my application with edit option like below.

user name role address "edit"(button)
. . . . .
. . . . .
. . . . .
. . . . .



so all above values i am getting through a list using OGNL. i am using <s:property> to display them.

but when i clicks on edit button it should go to some controller class with user id .

how can get this user id in jsp to re use as part of url to send request for Editing.
13 years ago
Hi friends,

what is the use of following class. and in which jar file i will get this class.

net.sf.javainetlocator.InetAddressLocator;

can any body please help me out.
Hi Ranchers,

I have one doubt regarding creating more than one Statements objects from a single connection object.

up to how many statement objects i can create from a single connection object.

please help me out.

Thanks in Advance.
Varaprasad Mutyala.

Hi Friends,

I need my JSP should contain multiple forms.

but my my doubt is is it good design. can i continue with my thoughts.

please help me out.

Thank You in Advance.

Thank You Ankit and Mark,

its working for me.
14 years ago
Thank You James,

and sorry for late reply.
now i am clear about this issue.
Hi Ankit Garg thank you for your response..

My list contains user objects. each user has following 3 properties 1.id 2.name 3.role.

My List may Contains n number of user objects. I have to show all above details of users on by one in a jsp using <s:iterator> tag.
14 years ago
Hi Friends,

I am using Struts 2 as part of My new Application.

I am using a List(java.util.List) of objects that will sent to view from Action class. These objects contains the data i have to display on View (jsp).

If it is a List of strings then i am using the following code its working fine for me.
<s:iterator value="myList">
<s:property/></p>
</s:iterator>

but my List contains Objects. I have to display data available in that Objects one by one by iterating through that List.

Can any body please help me out.

Thank you in Advance.


14 years ago
Hi Friends,

I am recently started using JPA(Java Persistence API) as part of my EJB Application.

and i have one doubt..

I am using Container managed Entity Manager , so am i need to control transactions using begin(), commit(),rollback() methods.

OR will container manages it.

how to handle this...

can you please help me out.

HI Friends,

I am working on struts 2.

i have one doubt regarding 0 configuration in struts 2.

If we are using annotations for all, is it necessary to keep struts.XML in my Application.


and i have on more doubt.

To extend default stack (interceptors) we will use the following code in package.XML.

<package name="example" name space="/example" extends="struts-default">


but in the case of 0 configuration , which annotations we have to use to make a package extends defalt stack of interceptors offered by Struts 2 frame work.

i am confused about this.....


Any help will appreciated greatly.



14 years ago
well Pat Farrell ..

you are correct...

but here i need to do is.. when i got request in need to acknowledge with status code 200..

and then i need to hit back(Http request to XYZ ) after processing request.
14 years ago
well Pat Farrell

i will explain my problem clearly.....

there is a server called XYZ .....

all end users requests comes to this XYZ server..... after validating the user details... this XYZ server hit(HTTP Request with some request parameters) my

server ABC (The web application i am developing)...

then i need to acknowledge XYZ with status code 200 and then .. i need to process the request..

after processing by getting some parameters values i need to hit XYZ server .

for this i just need to send TransactioId what i got in XYZ request.(i need to hit XYZ with same paremeter to identify this transaction belongs to previous one)


Thank You
14 years ago
Hi frnds,

i have a problem that....

when i get a request from other server... i need to acknowledge with status code 200.

and then i need to continue the request processing....then i need to reply with hit back url (hitting back the server with resulted parameters)..

how is it possible to acknowledge.. process request in same servlet...

any help will be appreciated greatly...
14 years ago
hi i have a problem in compiling my java files.

i have set of java files in different packages , all of them are inter related .

but in linux system i am facing problem when i am trying to complile them altogether.

an help will be appreciated.
14 years ago