0

I have a simple java application and want to embed it into a jsp page. At the minute it takes a parameter at the command line, is it possible to pass the parameter from the web page, if so how?

Thanks

~ Kyle G

2 Answers 2

1

It's not clear whether you want to make this an applet (I'm guessing you do).

If so, Sun's applet tutorial has a section on converting applications to applets.

Sign up to request clarification or add additional context in comments.

Comments

0

This should be the link to your little app:

www.yourpage.com/index.jsp?item=myitem

and in your index.jsp you can get it in this way:

...
This is the item passed by GET:
<%= request.getParameter("item") 
//your code here
%>
...

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.