Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

Amit KumarS

Ranch Hand
+ Follow
since Oct 10, 2003
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 Amit KumarS

hi,

good that last oje worked fine...

now the prob is that you r putting extra .. in your action

write like this..



this will work fine..

if any more doubts .. do revert backk

bye
Amit
16 years ago
i guess u r compiling from wrong directory...

u need to be at classes folder and compile using the following command at command prompt..



i guess this should work as if you are trying to compile from inside servlet folder then it will look for a folder named shopping inside servlet as u might have written



inside your ShoppingServlet.java.

hope this helps.. if still in doubt do revert back.

Bye and take Care
Amit
[ July 20, 2004: Message edited by: Amit KumarS ]
16 years ago
wat abt my tag..

did that work... and for that error that response is commited.. check if u have written return statement before forwarding or u have used flush()
16 years ago
hi...

error is entry in struts-config.xml

u can add following entry in struts-config.xml file.. and whenever u pass error as i did in jsp:forward then it will redirect to error.jsp page in following case




hopwe this helps.. still still in doubt revert back

take care
Amit
16 years ago
hiiii.......


i guess if u r using struts.. instead of doing so much u can do


i guess this shuold solve ur prob.. if still in doubt revert back
16 years ago
i guess u need to write scope="session" in your action tag of struts-config.xml file.
16 years ago
hi all,

thnx for ur help. i figured out my mistake.. i missed action-mappings tag in the struts-config.xml file..

thnx once again for u all's support..
16 years ago
hi all,

i am getting the following error...



the scenerio is i have a Login.jsp page in which i have written


and my struts-config.xml looks like this


i can't figure out why this error is coming... can someone help???

Thanx in advance

Amit
16 years ago
hi all,

i am new to ant. plz help.. i am pasting a piece of ant script



the values set are like followig

<property name="hibernate.properties.path" value="/hibernate.properties"/>
<property name="subproject.schema-export.path" value="schema-export.sql"/>


the hibernate.properties file contains

#Fri May 14 12:46:15 GMT+05:30 2004
hibernate.connection.username=amitcore
hibernate.connection.password=amitcore
hibernate.dialect=net.sf.hibernate.dialect.OracleDialect
hibernate.connection.url=jdbc\ racle\:thin\:@(description\=(address\=(host\=192.168.4.173)(protocol\=tcp)(port\=1521))(connect_data\=(sid\=oradb)))
hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver




now the scenerio...

i figured out the schemaexport tag generates "schema-export.sql" file and then executes this on to databse...

but the prob is that it first deletes the tables created on the database and then creates fresh tables which results in loss of test data..

note: - this schema-export.sql file is autogenerated somehow and it has "drop table" at the begining..

now the question is how can i stop the previous tables from getting deleted if previous tables already exist...


plz help..

Amit
16 years ago
congrats to every one....
pak all out for 245....
saching taking the final wicket.....

time to celebrate guys.........

16 years ago
one more down....
count is now 6
Pakistan: 175/6 in 43.1 overs
looks like we will will again in 4 days with innings margin..

Amit
16 years ago
one more down...

pak 38/2 in 11.2 overs..
Balaji Strikes...
wat say guys???
[ April 15, 2004: Message edited by: Amit KumarS ]
16 years ago
india 600 all out

pak one down..
34/1 in 10.1 over
irfan strikes
does anyone smell series victory???
16 years ago
hiii...
for refrencing the contextPath u can write in the following manner..

this should solve ur problem....
if still in doubt do revert back..
Amit Kumar
16 years ago
JSP
hiii..
what i understood from ur question is that u need to set a value of the text box into some variable in javascript... if this is what u intended then the solution is below...
if u ment something else then let me know..
1. you can write a function in which you can write like this..


and rest remains as it is..
still in doubt then please paste the code...
Thanx
Amit
16 years ago
JSP