ashishk sharma

Greenhorn
+ Follow
since Oct 23, 2008
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by ashishk sharma

HI

I have set a new cookie-name in weblogic.xml file for cookie-name parameter.

now i want to use that name in my JSP page , can anyone suggest me how to access the properties of weblogic.xml file.


Thanks in advance
9 years ago
You can try replacing your Parameter="Parameter" TO Parameter="method"

Just try this and then hit the URL....
9 years ago
how can we get the value of string [] in action class

defined property inxml

using dynaction fom
10 years ago
HI

i m uisng Struts dynaActionform ,

i have one property in my JSP using html:multibox property="selectedvalue"

now i want to retirve this values in my Action class when user click on submit button and

also want to set this selected values in my session object so that i can use this value in next JSP pages.

i have defined this property in XML <form-property name="selectedvalue" type="java.lang.String[]"/>

please give me piece of code so that i can understood how to retrive this value in Action class and set in session objecy

please help me out..its very urgent.

Thanks

Ashish ashish.mitujn07@gmail.com

10 years ago
[size=24][size=12]Hi

i have an application running in weblogic 8.1 server developed using j2ee, EJB , Struts

we are building the source code using apache ant package 1.6 , after successfull build it will create a text file

name as beabuild.txt in build folder location of source code, which contained the path of source code , i wanted to know

from where this file gets created in build folder. because now i m deploying my code in different server location in LAN

so i need to change the path of the source code of the Network system path .. but still this file is taking the local path of my source code

if you have any idea regarding this please help me out..............
[size=24]


it very urgent ..

Thanks

Ashish
10 years ago
Hi

i m making an application in struts and spring hibernate framework..

when i m trying to connect with databse its giving error like can not open connection..

all the thing is fine ..but i m not able to find out the problem so please help me ouut...


as soon as possible...

Thanks
Thanks for suggestion....but i want to know how much it will support as a better web design architecture.
with the combination of

Struts and spring .............i mean as struts is also a MVC and Spring is also a MVC based architecture so please suggest me ahead.

Thanks .
HI

i m implementing a web site on session bean strusts and spring...........i want a suggestion can i just used struts and spring to develop a medium level of web site .................

if yes please tell me how can i use spring for buisness logic and database connection..i mean which feature of spring i can use to develope this kind of application...



Thanks in advance............................
HI

i have a string as input like " String s=""ABC-CDF" + "EFG-HIJ" + "KLM_NMK"+ (might me some more string at run time.)

I like to add commas between the string which is defined above.;

finally i want this string into a list like :

{ABC,CDF,EFG,HIJ,KLM,NMK}



so can you please suggest me how can i do this in java.....

please provide me the code snippets if you have ....its urgent

thanks in advance.
11 years ago
Hi

I have deployed my Ear in websphere server 6.1 developed in RAD , after deployement at server console it is giving the information like :
the application is started.....

i have also done all the data source and JNDI related entries done. But when i m trying to run the application from browser

like http://localhost:9080/mcd1/mcdWeb/editmcdyear.do

but it is giving following error in server console.........

2/4/09 16:05:29:703 IST] 0000002a WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/ditmcdyear.do has not been defined.
[2/4/09 16:05:34:907 IST] 0000002a WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/ditmcdyear.do has not been defined.
[2/4/09 16:05:35:688 IST] 0000002a WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/ditmcdyear.do has not been defined.
[2/4/09 16:05:36:203 IST] 0000002a WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/ditmcdyear.do has not been defined.
[2/4/09 16:05:36:672 IST] 0000002a WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/ditmcdyear.do has not been defined.
[2/4/09 16:05:37:125 IST] 0000002a WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/ditmcdyear.do has not been defined.
[2/4/09 16:05:37:516 IST] 0000002a WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/ditmcdyear.do has not been defined.
[2/4/09 16:05:37:797 IST] 0000002a WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/ditmcdyear.do has not been defined.
[2/4/09 16:05:44:094 IST] 0000002a WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/editmcdyear.do has not been defined.
[2/4/09 16:05:50:485 IST] 0000002d WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/editmcdyear.jsp has not been defined.
[2/4/09 16:05:54:563 IST] 0000002d WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /mcd1/editmcdyear.do has not been defined.
[2/4/09 16:06:07:375 IST] 0000002d WebContainer E SRVE0255E: A WebGroup/Virtual Host to handl /mcd1/mcdWeb/editmcdyear.do has not been defined.


please provide me help as soon as possible..........thnks in advance


11 years ago
we are migrating a weblogic application into jboss 4.2 server : our application is based on MVC architecture in which we are using

EJB as Model
jsp as view
struts Action classes as controller
session beans and entity beans are remote


we are facing the following problem after successfully deploying the ear file on jboss server:

1. the output of the GUI is not coming in proper format it is displaying the notation used in web page design like <c:if test = "${role == 'superadmin'}
It seems to be displaying the code directly and not converting the code into the particular format in which the page is to be displayed.

2. some of the entity bean JNDI is not bonded with the server means it giving JNDI bounding problem with the JBOSS server.
please provide me the proper solution as soon as possible.!!!
11 years ago