..."> Simple Scripting Tricks...">
Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Dec 2002
Posts: 3,255
Likes: 3
UGN Elite
UGN Elite
Joined: Dec 2002
Posts: 3,255
Likes: 3
Okay...
JSP, I have Tomcat installed (admin did it not me) I have some JSP code
Code
<%@ page language="java" %>
<TITLE>Simple Scripting Tricks</TITLE>
Anyone can count like this:

<%
   for (int i = 1; i < 6; i++) {
     out.println(i + "
");
   }
   i = 1000000;
%>
It would take a long time, however, to count to <%= i %>.
Where do I upload it to. lol Dose it need to go into the Tomcat Dir somewhere? I can not get it to work anywhere.

Sponsored Links
▼ Sponsored Links ▼ ▲ Sponsored Links ▲
Joined: Oct 2003
Posts: 59
Junior Member
Junior Member
Joined: Oct 2003
Posts: 59
try putting the jsp page into ~/Tomcat~\webapps\ROOT\

but while moving into bigger apps....make sure the data is submitted to a jsp page thats not under ROOT but some where on the local hard disk of the server smile


"it is the question ...that drives the answer..."
Keep Clicking,
Bosky
Joined: Oct 2003
Posts: 59
Junior Member
Junior Member
Joined: Oct 2003
Posts: 59
PS:my alst post was like a year back !!! so firstly ...hey ppl .... smile niec to see the familiar names still around ....by the way ...is SR still around ?


"it is the question ...that drives the answer..."
Keep Clicking,
Bosky
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
SR is now just an idling [censored] on the IRC wink


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
Joined: Mar 2002
Posts: 1,136
P
UGN Elite Poster
UGN Elite Poster
P Offline
Joined: Mar 2002
Posts: 1,136
bosky's got it right. $TOMCAT\webapps\ROOT

Great tomcat tutorial


Link Copied to Clipboard
Member Spotlight
None yet
Forum Statistics
Forums41
Topics33,840
Posts68,858
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
Crime 1
Ice 1
Dartur 1
Cyrez 1
Powered by UBB.threads™ PHP Forum Software 8.0.0