Jump to content

Java/j2Ee Discussions


lolliman

Recommended Posts

Then created a simple login form with the fields jailer told ...
code for [b]login.html - [/b]I am placing it in WebContent folder...

[CODE]
<!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=ISO-8859-1">
<title>Login Page</title>
</head>
<body>
<h2>Login Form</h2>
<form>
user_id : <input type="text" name="userid"><br>
password : <input type="password" name="password"><br>
confirm password : <input type ="password" name ="conpassword" ><br>
email address : <input type = "text" name = "email"><br>
<form>
</body>
</html>
[/CODE]

Here I am not giving form name and action attributes ... we may need them later ..

Link to comment
Share on other sites

My project folder structure at this point is :


[CODE]
AFDBProj
|- src
|-JRE System Library
|- Apache Tomcat
|- build
|- Web Content
|- META-INF
|- WEB-INF
|- web.xml
|- login.html
[/CODE]

project name : AFDBProj

Link to comment
Share on other sites

[quote name='innovative' timestamp='1368934460' post='1303771138']
My project folder structure a this point is :


[CODE]
AFDBProj
|- src
|-JRE System Library
|- Apache Tomcat
|- build
|- Web Content
|- META-INF
|- WEB-INF
[b] |- login.html[/b]
[/CODE]

project name : AFDBProj
[/quote]

web content/login.html anukuntaa?? sSc_hidingsofa sSc_hidingsofa

Link to comment
Share on other sites

Inno nee posts pinaa Step 1... 2... 3.... ivvu..... future lo easy gaa vuntadi kada choose vallaki



and post kinda next step ani aa post link ivvu sSc_hidingsofa sSc_hidingsofa

Link to comment
Share on other sites

[quote name='HannibaL' timestamp='1368934622' post='1303771147']
web content/login.html anukuntaa?? sSc_hidingsofa sSc_hidingsofa
[/quote]

Yes ... S%Hi

edited and also added web.xml in WEB- INF ..

Link to comment
Share on other sites

[quote name='HannibaL' timestamp='1368934699' post='1303771152']
Inno nee posts pinaa Step 1... 2... 3.... ivvu..... future lo easy gaa vuntadi kada choose vallaki



and post kinda next step ani aa post link ivvu sSc_hidingsofa sSc_hidingsofa
[/quote]

idham anukunna hannibal .. but andharu idhe order lo follow avvali ani ledhu ... so evari istham vachinattu vallu files order create chesko vachu ani ivvaledhu .. still nenu chesina order lo ivvamante i will do that ..

Link to comment
Share on other sites

[quote name='innovative' timestamp='1368935036' post='1303771177']

idham anukunna hannibal .. but andharu idhe order lo follow avvali ani ledhu ... so evari istham vachinattu vallu files order create chesko vachu ani ivvaledhu .. still nenu chesina order lo ivvamante i will do that ..
[/quote]


then leave it for now.... edina modification vuntee edit cheyyu paatha post ni koodaa.....

once project is over.... we can give the steps for those

Link to comment
Share on other sites

[quote name='HannibaL' timestamp='1368935313' post='1303771196']


then leave it for now.... edina modification vuntee edit cheyyu paatha post ni koodaa.....

[b]once project is over.... we can give the steps for those[/b]
[/quote]

Good thing .. we can do that .. or at the end, we can post the worked out scripts in an order...

Link to comment
Share on other sites

[quote name='HyderabadPoradu' timestamp='1368934839' post='1303771162']
Inno..naku java nerpinchava plss..?
[/quote]

:o naaku kooda complete ga radhu ... nenu kooda learning ehh .. nuvvu kooda start cheyyi we can discuss it here.,, if u have any doubts ... S%Hi[size=4] Start with Core Java .. [/size]

Link to comment
Share on other sites

[quote name='HannibaL' timestamp='1368935598' post='1303771220']
remote tomcat ni ela connect cheyyali in eclipse loo??
[/quote]


Lifted from apache.org ....

[b] How do I remotely debug Tomcat using Eclipse?[/b]
[color=#000000][font=sans-serif][size=4]
This answer assumes that you have a project set up and have some idea of what you are doing in this respect. If not then that is really outside the scope of this topic and you need to go to [url="http://eclipse.org/"]eclipse.org[/url] and read up on how to use your IDE, and maybe practice a little bit before you come back to this. We are also going to assume that you have some idea of what a debugger is and how to use one.[/size][/font][/color][list]
[*]Make sure that Tomcat is started in remote debugging mode as described above and that your app is deployed.
[*]Make sure that you have the sources for the code that you are trying to debug in your IDE. For the libraries and for Tomcat itself you can "attach" the sources to the jar files: open a class file and then click "Attach Source..." button.
[*]If you have a servlet or something, set a breakpoint where it is sure to hit on the next request.
[*]
Go to "Run->Debug Configurations...". Click on "Remote Java Applications", then click "New". Type in the title. Note that port 8000 from the Tomcat instructions. Save and run.
[*]Eclipse will connect to the JVM that Tomcat is running under. Wow, that was easy!
[/list][color=#000000][font=sans-serif][size=4]
Now go type the url to submit to your servlet or whatever in your browser.[/size][/font][/color]

Link to comment
Share on other sites

[url="http://wiki.apache.org/tomcat/FAQ/Developing#Q1"]http://wiki.apache.org/tomcat/FAQ/Developing#Q1[/url]

hannibal check this url .. it may help you ..

Link to comment
Share on other sites

[quote name='innovative' timestamp='1368935926' post='1303771247']
[url="http://wiki.apache.org/tomcat/FAQ/Developing#Q1"]http://wiki.apache.o...Q/Developing#Q1[/url]

hannibal check this url .. it may help you ..
[/quote]

Thank You... neenu kooda ade link choosthunna.....



and Project lo JSF, Richfaces and Maven for deployment use cheddamaa??

Link to comment
Share on other sites

×
×
  • Create New...