Nagu Spartan

Ranch Hand
+ Follow
since Jan 08, 2010
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 Nagu Spartan

Hi
I want to display the nested menu at runtime in jsp.
which logic is the suitable one to integrate the menu at runtime.

My table structure as follows :


Here , three tables i am using.
SY_FND_MENU Table contain Menu.
SY_FND_MENU_ENTRIES Table contain Sub-Menu.
SY_FORM_FUNCTION] Table contain the function for leaf.

Could you please suggest a best logic to implement this concept.

13 years ago
JSP
Hi
I have been facing the problem in strut 2 Framework.,
I call one action in the login page, After logged-in, I call one action for home page, then subsequent call i made by JQuery Ajax call. The code i used for ajax is as follows:


After i call a Ajax, it return the success page, But when i press F5 or refresh the browser, it automatically go to the home.action page. please give me the solution for the problem i faced. Once i refresh in the ajax page, i need to stay in the same page.
Expecting your valuable answer.

13 years ago
Hi,
I am using struts2 Framework. For i18n, using property files (I use JSTL/Struts in my JSPs), as I have done,
I implement the DBMessageResources concept which discribed in the link http://sourceforge.net/project/shownotes.php?release_id=320056&group_id=49385 .
In struts.xml file, i place the code

Error : The content of element type "struts" must match "(package|include|bean|constant)*"

Can you please give idea to implement this in struts 2.


--
thanks
Nagu
13 years ago
Hi

I have problem to get the Json value in jsp page.
struts 2 framework
struts.xml

home.jsp

JsonTableAction.java


Console , I am getting the output but i can't able to get the result in jsp page grid


Can anyone please tell the solution for this problem

13 years ago
It takes only 4000 character... if my output from stored procedure is more than 4000 character means, it take 4000 character and remaining is truncated.



Prabhakar Reddy Bokka wrote:Your stored proc will return an object. that is a String or CLOB or BLOB.

From Java, you will take that String(in your case XML as a String), and process it.
It can be CLOB or BLOB also when your XML is too large in size.

Hi

In java, CallableStatement how to get XML formated output from Stored procedure (SQL Server 2005).

I just asking the idea or suggestion about Grid layout implementing in JSp and for the same sample example only. Lester misunderstanding. it's not my mistake. experiance people can understand what they are saying in short words.



Bear Bibeault wrote:

Nagu Spartan wrote:Can you please provide it for me.


This sounds exactly like you want someone to write your code for you. How could it possibly be interpreted otherwise?

There was no room for misinterpretation. Lester did nothing wrong. JavaRanch is not someplace to come and ask for others to do your work for you for free.

If that was not your intention, then please take more time to compose what you really mean to say.

thanks for your valuable info.
actually, i need suggestion about , Grid Layout in JSP have the feature of editing mutiple rows.



Ankit Garg wrote:Nagu I think Lester misinterpreted what you said. Anyway, checkout displaytag library...

Hi ,
I just asking you the doubt to do the point i stuck on it. but you are asking compensation. I don't know this is the user friendly Java forum or money making place. I never expect this answer from you.


Lester Burnham wrote:

Can you please provide it for me.


That sounds as if you're asking us to do your work. Are you offering monetary compensation?

I want to implement advance editable table tag. which is to be supported for add, edit, update, delete multiple rows.

Can you please provide it for me.


Hi

I am using two database, Ms Sql Server 2005 & MySQL.

I want to create Trigger in MS SQL Server Database. When inserting the new record in MS SQL Database, the trigger will fired and Fetch data from MySQl database and stored in MS SQL server database.
How to connect mysql database from MsSql server trigger.


Thanks for your reply. I download the jar file, but i missed to place the jar file into lib folder. now it's working fine.



Stephan Mueller wrote:Please, post the full error message.
If you are uncertain show the full stacktrace, else paste the lines of the stacktrace that are relevant.

I guess there's more than "java.lang.ClassCastException: com.hbs.erp.bean.SQLConnectionExbean "

Hi



In DB


Error Message:
java.lang.ClassCastException: com.hbs.erp.bean.SQLConnectionExbean

In QueryRunner , i get error
I updated using [code]. now my doubt is , when we implement struts-tags in a JSP page, need to define different action for every method in struts 2 also ...?
13 years ago
Struts 2 Validation Using xml is not working in Ajax call.

Error :
HTTP Status 404 - No result defined for action com.hbs.erp.action.ApplyLeaveAction and result input

In struts.xml File,
<action name="applyLeave" method="applyLeave" class="com.hbs.erp.action.ApplyLeaveAction">
<result name="input">/ApplyforLeave.jsp</result>
<result name="success">/applyLeaveSubmit.jsp</result>
</action>
JSP File:



13 years ago