Win a copy of Head First Android this week in the Android forum!

arvind kushwaha

Ranch Hand
+ Follow
since Aug 12, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
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 arvind kushwaha

Dear Bear Bibeault,


I need to check prior to authentication. For Example suppose i had enter the gmail inbox url without providing authentication. So in that case login page is shown to me, not the gmail inbox url .

Same way i want in my project. I have no idea how to do that...Please suggest me or provide some example.


Thanks and regards
Arvind Kushwaha
9 years ago
JSP
Dear Team,

I have a requirement whenever user wants to view any other jsp page except login page the control should be transfer to login page. How should i achieve it .

Thanks and Regards
Arvind
9 years ago
JSP
Dear Tim,

Please tell me whether it possible through javascript. Tell me if i am wrong. Please give me any reference code or some useful link.

9 years ago
JSP
Dear Team,

Suppose my website is www.basync.com and home page is displayed by default, but after clicking on any operation the link is point to another url for example www.basync.com/update but i want to maintain the home page url www.basync.com throught the website. so if client click on any pages, only default url is displayed not with new one.
9 years ago
JSP
Hi Everyone,

I have requirement that to make the project on one site page means if client click on any of the pages it will show only one link not the actual link. what is the best way to achieve this.

Project is written Spring 2.5, Jquery, Mysql and jsp

Please suggest me the best way and provide me if any tutorial is available.
9 years ago
JSP
Dear Walter Gabrielsen lii,

I did that whatever is shown on your given link but there is no success.

Anyway thanks
9 years ago
Dear Sir,

In Browser it show nothing I am attaching my JSP pages

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<applet id="jumpLoaderApplet" name="jumpLoaderApplet"
code="jmaster.jumploader.app.JumpLoaderApplet.class"
archive="jumploader_z.jar"
width="715"
height="500"
mayscript>
<param name="uc_uploadUrl" value="uploadHandler.jsp"/>
</applet>
</body>
</html>

I had taken the reference from http://jumploader.com/

When i clicked on above link my project start working after accepting the applet warning.

But when i run my project without clicking on above link demo page it's show nothing in browser i don't understand why it happening please help me.
9 years ago
Dear Darryl Burke

I have created one JSP Known as applet-basic.html taken the help from http://jupload.sourceforge.net/

I had done all the thing which is mentioned on above website. When I running my application its not working in browser. but after clicking on above website/ basic demo/ after clicking on this link applet is asking for digital sinature when i click on yes. Then suddenly my program start working fine.

But when i running only my program is not showing anything in window just a blank window. May be because of digital signature i donot know why please help me out.

Thanks Darryl Burke
9 years ago
Dear Team,

I have Created one applet, but it not showing on browser..Please help me out ..as i am new babie in applet.

Thanks
9 years ago
Dear Team,

I Want to develop one web application for uploading the folder on server location from client location.
While Uploading the folder must be pop Up with the folder is already exist if folder is exist in server location.


I want to develop this my using java and jsp pages

If anyone having idea how should i achieve this please guide me ...its urgent i have wasted about a week to start it. or provide any link which will help me.
Dear Peter,

The file is given by user, i don't have to worried about that, thank you so much, but supposed above file run it created database, table and inserted all value. but i had updated some jsp again i have to run the build.xml file, in this scenario though table is created already it again try to do the same . I want to skip the database part when its run second time or all the data is already present in user machine. how would i achieve this in single build.xml file.

If provide me some code it will appreciated.
9 years ago
Thanks Peter for your's precious comment. The Problem is solved.

Thanks to all guys who help on this matter. I had make some changes and it worked. But on below bold line No: 29 want to pass dynamic file name instead of hard code. Can Any one Help on this. I am
attaching build. xml and build.properties file.

Build.xml




Build.properties

#build.properties file
project-name=togle
appserver.home=c:/apache-tomcat-7.0.23
deploy.path=${appserver.home}/webapps
appserver.lib=${appserver.home}/lib
sql.driver=com.mysql.jdbc.Driver
sql.url=jdbc:mysql://localhost:3306/
sql.user=root
sql.pass=redhat
sql.filePath=c:\
#sql.fileName=togle_20120213_1401.sql
sql.libPath=C:\lib
sql.libFileName=mysql-connector-java-5.0.7-bin.jar
#sqlFileLib=c:\lib/mysql-connector-java-5.0.7-bin.jar
tomcat.manager.url=http://localhost:8080/manager/
tomcat.manager.username=tomcat
tomcat.manager.password=tomcat

9 years ago
I am getting the below error.
I donot know which file is not found.

aa@aa-desktop:~/tempworkspace$ ant
Buildfile: /home/aa/tempworkspace/build.xml

init:
[echo] !!!Making directories !!!

compile:
[echo] !!!Compiling Java Files !!!
[javac] /home/aa/tempworkspace/build.xml:31: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

war:
[echo] !!!Creating War files !!!
[war] Building war: /home/aa/tempworkspace/dist/togle.war

deploy:
[echo] !!!deploy !!!

install:
[echo] !!!install Target!!!

BUILD FAILED
/home/aa/tempworkspace/build.xml:108: java.io.FileNotFoundException: togle (Is a directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:120)
at java.io.FileInputStream.<init>(FileInputStream.java:79)
at org.apache.catalina.ant.DeployTask.execute(DeployTask.java:170)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
at org.apache.tools.ant.Main.runBuild(Main.java:801)
at org.apache.tools.ant.Main.startAnt(Main.java:218)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Total time: 7 seconds
9 years ago
Dear Team,
I am new babie in ant please help me.
I have created war files using Apache Ant version 1.8.1, war files is generated successfully. I want to start tomcat 7.0.23 and place my project in webapps directory of tomcat but after creating war files build.xml not executing below bold lines. I donot know what is wrong, please look into this i am sending by build.xml files as well as build.properties files

build.xml file:



build.properties:

9 years ago
set the classpath for your program. For eg.

c:> set classpath=.;Here provide the path of your servlet-api-jar; %z%;
9 years ago